All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • 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;}}
  • Someone

    2130127·text·1.1 KB·2012-03-19 18:26 UTC
    Fight of the Legionnaire
    
    1. Form Up
    Whilst in formation with your fellow soldiers each side few enemies can hope to reach you
    When fighting with others using this merit only one enemy can attack
  • Something

    2130124·text·35.5 KB·2012-03-19 18:12 UTC
    
        
  • Stuff

    2130120·text·1.3 KB·2012-03-19 17:43 UTC
    # I am a comment, and I want to say that the variable CC will be
    # the compiler to use.
    CC=gcc
    # Hey!, I am comment number 2. I want to say that CFLAGS will be the
    # options I'll pass to the compi
  • Someone

    2130088·text·1.3 KB·2012-03-19 16:38 UTC
    flaptoppy cpu # cat /etc/make.conf
    # These settings were set by the catalyst build script that automatically
    # built this stage.
    # Please consult /usr/share/portage/config/make.conf.example for a m
  • Unnamed

    2130085·text·264 B·2012-03-19 16:35 UTC
    dot11 ssid tsunami
     authentication open
     guest-mode
    
    interface Dot11Radio0
     ssid tsunami
     transmit-interface Dot11Radio 1
     no transmit-interface
    
    interface Dot11Radio1
     ssid tsunami
     no
  • s

    2130077·text·163 B·2012-03-19 16:20 UTC
    for(int i=0;i<data.length()-1;i++){
     temp=data.getValue(i+1);
     temp2=data.getValue(i);
     data.setValue(i+1,temp2);
     data.setValue(i, temp);
     }
  • s

    2130076·text·163 B·2012-03-19 16:20 UTC
    for(int i=0;i<data.length()-1;i++){
     temp=data.getValue(i+1);
     temp2=data.getValue(i);
     data.setValue(i+1,temp2);
     data.setValue(i, temp);
     }
  • Miscellany

    2130065·text·6.1 KB·2012-03-19 16:15 UTC
    01. Sorolja fel a logikai jeleket.
     ¬: "nem", ∧: "és", ∨: "vagy", ⇒: "ha…akkor", ⇔: "akkor és csak akkor" illetve két kvantor ∃: "létezik", ∀: "minden"
    02. Fogalmazza meg az unió és a metszet dis
  • Something

    2130025·text·175 B·2012-03-19 14:42 UTC
    DEVICE=eth0
    BOOTPROTO=none
    HWADDR=00:50:56:00:05:bf
    ONBOOT=yes
    NETMASK=255.255.255.255
    IPADDR=88.190.230.90
    GATEWAY=88.190.24.1
    BROADCAST=88.190.230.90
    TYPE=Ethernet
  • Unnamed

    2130019·text·985 B·2012-03-19 14:25 UTC
    import com.greensock.*
    import com.greensock.easing.*;
    import com.greensock.plugins.*;
     
    TweenPlugin.activate([BlurFilterPlugin]);
    OverwriteManager.init( OverwriteManager.NONE );
    
    var timeline;
  • Mine

    2130001·text·368 B·2012-03-19 13:54 UTC
    C:\Users\BF07~1\yad\test\test\test\test\test\test\test\test\test\test\test\test\
    test\test\test\test\test\test\test\test\test\test\test\test\test\test\test\test\
    test\test\test\test\test\test\test\t
  • Untitled

    2129995·text·2.1 KB·2012-03-19 13:37 UTC
    GPL Ghostscript 9.05 (2012-02-08)
    Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
    This software comes with NO WARRANTY: see the file PUBLIC for details.
    ----------------------------
  • Miscellany

    2129987·php·2.1 KB·2012-03-19 13:24 UTC
    /**
     * @access private
     * @param string $username
     * @return int
     */
     private function _get_role($username) {
     if($this->use_ad) {
     $escaped = $this->ldap_e

older pastes →