All pastesPublic feed

Public feed

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

    2130166·actionscript·111 B·2012-03-19 22:12 UTC
    You can't separate pease from freedom because no one can be at peace unless he has his freedom.
  • Stuff

    2130164·ruby·2.2 KB·2012-03-19 21:58 UTC
    define_method(name) do |val=nil|
     validation[:default] = dup_default.dup unless dup_default.nil?
     val = val.send(coerce) if val && coerce
     set_or_return(name, val
  • Someone

    2130161·text·1.3 KB·2012-03-19 21:34 UTC
    [root@cohkka ~]# ifconfig bfe0
    bfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
     options=80008<VLAN_MTU,LINKSTATE>
     ether 00:14:22:be:7a:a1
     inet6 fe80::214:22ff:febe:7aa
  • Mine

    2130160·text·1.8 KB·2012-03-19 21:33 UTC
    # tcpdump -eni lagg0 'host 192.168.1.2'
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on lagg0, link-type EN10MB (Ethernet), capture size 65535 bytes
    23:32:08
  • Mine

    2130158·text·637 B·2012-03-19 21:09 UTC
    package require Tk
    
    pack [button .b -text "Porco Dio" \
     -command {.b configure \
     -text "Sempre sia porcato" \
     -command exit}]
    pack [canvas .c -width 300 -height 300]
    
    forea
  • Untitled

    2130150·text·912 B·2012-03-19 20:10 UTC
    #include <Constants.au3>
    Global $acc = iniread("Relog.ini","Global","account","")
    Global $pw = iniread("Relog.ini","Global","password","")
    Global $path = iniread("Relog.ini","Global","path","")
    Gl
  • Anonymous

    2130149·text·35.0 KB·2012-03-19 20:04 UTC
    
        
  • Untitled

    2130147·text·1.4 KB·2012-03-19 19:44 UTC
    ingredients =
    
     7 26 6 60
     1 29 15 52
     11 56 8 20
     11 31 8 47
     7 52 6 33
     11 55 9 22
     3 71 17 6
  • mysite.conf

    2130146·text·253 B·2012-03-19 19:40 UTC
    #
    # A virtual host using mix of IP-, name-, and port-based configuration
    #
    
    server {
     server_name {{ host_name }};
    
     location /static/ {
     root /opt/mysite/;
     }
    
     location
  • Unnamed

    2130145·text·281 B·2012-03-19 19:37 UTC
    nginx:
     pkg:
     - installed
     file:
     - managed
     - name: /etc/nginx/conf.d/mysite.conf
     - source: salt://common/files/nginx/mysite.conf
     - template: jinja
     - context:
  • guess what it is

    2130144·actionscript·525.8 KB·2012-03-19 19:36 UTC
    
        
  • Mine

    2130143·diff·6.1 KB·2012-03-19 19:34 UTC
    Creator: Julian Ospald <julian.ospald@googlemail.com>
    Date: Thu Mar 15 22:33:16 CET 2012
    
    fix build system
    remove all sound/esound references
    port to gtk+:2
    
    --- Makefile
    +++ Makefile
    @@ -5,8
  • Unnamed

    2130142·text·285 B·2012-03-19 19:33 UTC
    nginx:
     pkg:
     - installed
     file:
     - managed
     - name: /etc/nginx/conf.d/mysite.conf
     - source: salt://common/files/nginx/mysite.conf
     - template: jinja
     - context:
  • Mine

    2130139·text·255 B·2012-03-19 19:32 UTC
    #
    # A virtual host using mix of IP-, name-, and port-based configuration
    #
    
    server {
     server_name {{ host_name }};
    
     location /static/ {
     root /opt/mysite/;
     }
    
     location
  • Untitled

    2130138·text·153.2 KB·2012-03-19 19:31 UTC
    
        
  • Untitled

    2130137·text·153.2 KB·2012-03-19 19:28 UTC
    
        
  • Untitled

    2130136·text·524 B·2012-03-19 19:22 UTC
    >> matrix = [ [-1 1]; [1 -1];];
    
    >> mds = MatlabModelDataSanitizer(matrix,[], 1, [-2],true)
    Calls written & deleted to: /tmp/lastoutput-mds-7
     
    mds =
     
    ca.ubc.cs.beta.smac.matlab.MatlabModelD
  • Untitled

    2130135·text·609 B·2012-03-19 19:15 UTC
    >> matrix = [ [2 3]; [5 7];];
    >> matrix
    
    matrix =
    
     2 3
     5 7
    
    >> import ca.ubc.cs.beta.smac.matlab.*
    >> mds = MatlabModelDataSanitizer(matrix,[], 1, [-1],true)
    Calls writt
  • Something

    2130132·text·166.5 KB·2012-03-19 18:58 UTC
    
        
  • Mine

    2130129·text·166 B·2012-03-19 18:37 UTC
    char*t(char*s,int d){for(;*s!='\0';s++){if(*s==d){*s='\0';return s+1;}}return 0;}int main(int c,char **v){char*a=v[1],*b;while(a!=0){b=t(a,',');printf("%s ",a);a=b;}}

older pastes →