All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Unnamed

    2046124·python·6.1 KB·2011-04-13 20:09 UTC
    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    import random
    import sys
    from PyQt4 import Qt
    from PyQt4 import QtCore, QtGui, uic
    import PyQt4.Qwt5 as Qwt
    from PyQt4.Qwt5.anynumpy import *
  • Untitled

    2046122·cpp·1.8 KB·2011-04-13 20:05 UTC
    //
    // Copyright 2004 Andras Varga
    //
    // This library is free software, you can redistribute it and/or modify
    // it under the terms of the GNU Lesser General Public License
    // as published by the
  • Something

    2046115·python·10.2 KB·2011-04-13 19:55 UTC
    # -*- coding: utf-8 -*-
    
    # Form implementation generated from reading ui file 'calc.ui'
    #
    # Created: Wed Apr 13 22:17:47 2011
    # by: PyQt4 UI code generator 4.5.4
    #
    # WARNING! All changes m
  • Unnamed

    2046114·text·630.3 KB·2011-04-13 19:53 UTC
    
        
  • Anonymous

    2046112·text·1.4 KB·2011-04-13 19:39 UTC
    package lode;
    
    import java.util.Scanner;
    
    public class Main {
    
     public static void main(String[] args) {
     Scanner sc = new Scanner(System.in);
    
     System.out.println("Zadej vel
  • Anonymous

    2046110·text·985 B·2011-04-13 19:35 UTC
    Shader "Comic Test" {
     Properties { }
    
     SubShader {
     Tags { "RenderType"="Opaque" }
     Pass {
     CGPROGRAM
     
     #pragma vertex vert
     #pragma fragment frag
     
     #include "Uni
  • Miscellany

    2046108·text·102 B·2011-04-13 19:32 UTC
    class Studentas(object):
     vardas = "kardas"
     def spausdinti(self):
     print(self.vardas)
  • Stuff

    2046105·text·168 B·2011-04-13 19:13 UTC
    int *foo(int *a, int n)
    {
     int i,j;
     c=(int *)malloc(n*sizeof(int));
    for(i=0;i<n;i++)
    { 
     *(c+i)=0
     for(j=0;j<n;j++)
     *(c+i)+=*(a+i+j);
    }
     return c;
    }
  • Stuff

    2046104·text·164 B·2011-04-13 19:12 UTC
    int *foo(int *a, int n)
    {
     int i,j;
     c=(int *)malloc(n*sizeof(int));
    for(i=0;i<n;i++)
    { 
     c[i]=0
     for(j=0;j<n;j++)
     c[i]+=*(a+i+j);
    }
     return c;
    }
  • Stuff

    2046103·text·134 B·2011-04-13 19:11 UTC
    int *foo(int *a, int n)
    {
     int c[n],i,j;
    for(i=0;i<n;i++)
    { 
     c[i]=0
     for(j=0;j<n;j++)
     c[i]+=*(a+i+j);
    }
     return c;
    }
  • Untitled

    2046100·text·1.0 KB·2011-04-13 18:59 UTC
    # XFree86 configuration file for RoFreeSBIE
    
    Section "ServerLayout"
     Identifier "XFree86 Configured"
     Screen 0 "Screen0" 0 0
     InputDevice "Mouse0" "CorePointer"
     InputDevice "Key
  • Unnamed

    2046095·text·133 B·2011-04-13 18:46 UTC
    innodb_data_home_dir = /var/lib/mysql/
    innodb_data_file_path = ibdata1:10M:autoextend
    innodb_log_group_home_dir = /var/lib/mysql/
  • Stuff

    2046094·text·93 B·2011-04-13 18:46 UTC
    for(i=0;i<n;i++)
    { 
     c[i]=0
     for(j=0;j<n;j++)
     {
     c[i]+=*(ai+j);
     }
    
    )
  • Someone

    2046092·text·562 B·2011-04-13 18:32 UTC
    int main() {
     struct dirent *entry;
     DIR *tdir;
     int i = 0, j = 0;
     char *dirs;
    
     tdir = opendir("/home/madlax");
    
     while (entry = readdir(tdir)) {
     if (entry->d_type != 4 || strcmp(
  • Stuff

    2046091·text·118 B·2011-04-13 18:28 UTC
    Austria
     
    00800-ASK4WDEU
     (00800- 27549338)
     
    Monday-Thursday
     Friday
     
    9 am - 5:30 pm CET
     9 am - 4 pm CET
  • Something

    2046090·xml·39.7 KB·2011-04-13 18:26 UTC
    
        
  • Unnamed

    2046088·text·1.1 KB·2011-04-13 18:16 UTC
    crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
    crypto ipsec ikev1 transform-set TunnelSet esp-3des esp-md5-hmac 
    crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 es
  • Untitled

    2046087·bash·203 B·2011-04-13 18:11 UTC
    #!/bin/bash
    
    /usr/bin/apt-get -qq update > /root/apt-notify.txt
    /usr/bin/apt-get -qq -s upgrade >> /root/apt-notify.txt
    
    if [ -s /root/apt-notify.txt ]; then
     /root/apt-notify.php
    f
  • Anonymous

    2046085·text·665 B·2011-04-13 18:04 UTC
    public function getFileAction() {
     $this->_helper->layout()->disableLayout();
     $this->_helper->viewRenderer->setNoRender();
     
     $filename = FILEDB."flstatutes1.dal";
     if (fil
  • Miscellany

    2046083·text·578 B·2011-04-13 18:02 UTC
    #include <stdio.h>
    #include <stdlib.h>
    
    char *alternate(char c1, char c2, int n)
    {
     char *temp;
     int i;
     
     temp=(char *) malloc(n*sizeof(char)+1);
     for (i=0;i<(n/2)*2;i+=2

older pastes →