All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • over 40

    2109160·text·536 B·2012-02-03 01:26 UTC
    }// </editor-fold>
     //GEN-END:initComponents
    
     private void button1ActionPerformed(java.awt.event.ActionEvent evt) {
     double h,r,i,ro;
     
     String name = new String(textField1.getText());
     h
  • Something

    2109157·text·2.7 KB·2012-02-03 01:07 UTC
    package edu.wpi.first.wpilibj.templates;
    import edu.wpi.first.wpilibj.*;
    // import edu.wpi.first.wpilibj.smartdashboard.SmartDashboardData; //WORKING ON THIS(1)
    
    public class Robot4334 extends S
  • Unnamed

    2109156·text·1.1 KB·2012-02-03 01:06 UTC
    from http.client import HTTPConnection
    from urllib import parse
    
    def requestPage(INFOS, URL, METHOD, BODY, HEADERS):
     h = HTTPConnection(INFOS['hostname'], INFOS['port'])
     h.request(METHOD, URL
  • Unnamed

    2109155·text·7 B·2012-02-03 01:05 UTC
    testing
  • Unnamed

    2109154·text·486 B·2012-02-03 01:03 UTC
    def requestPage(INFOS, URL, METHOD, BODY, HEADERS):
     h = HTTPConnection(INFOS['hostname'], INFOS['port'])
     h.request(METHOD, URL, BODY, HEADERS)
     r = h.getresponse()
     page = r.read()
     s = pa
  • Miscellany

    2109142·text·596 B·2012-02-02 22:54 UTC
    #!/usr/bin/perl -w
    
    my $testvar = "abcdef ghikl";
    
    if ($testvar =~ m/^(?<named>[^g]*)/) {
     print " after match named is \"$+{named}\"\n";
     $named = $+{named};
     print "
  • Someone

    2109141·text·538 B·2012-02-02 22:45 UTC
    eq_ex_p : TK_EQ maybe_unary add_ex
     | TK_NEQ maybe_unary add_ex
     | TK_GT maybe_unary add_ex
     | TK_GE maybe_unary add_ex
     | TK_LT maybe_unary add_ex
     | TK_LE
  • Unnamed

    2109140·text·37.4 KB·2012-02-02 22:38 UTC
    
        
  • Stuff

    2109138·text·6 B·2012-02-02 22:17 UTC
    update
  • Unnamed

    2109136·text·1.3 KB·2012-02-02 22:05 UTC
    foam@ofc-vm5:/opt/foam/db$ sudo /etc/init.d/foam stop
    kill: No such process
    foam@ofc-vm5:/opt/foam/db$ sudo rm foam.db 
    foam@ofc-vm5:/opt/foam/db$ sudo -u www-data foamctl init-db
    Traceback (most
  • Unnamed

    2109135·text·1.2 KB·2012-02-02 22:04 UTC
    foam@ofc-vm5:/opt/foam/db$ sudo rm foam.db 
    foam@ofc-vm5:/opt/foam/db$ sudo -u www-data foamctl init-db
    Traceback (most recent call last):
     File "/usr/bin/foamctl", line 503, in <module>
     do_f
  • Stuff

    2109134·text·829 B·2012-02-02 22:01 UTC
    1 <1 ms <1 ms <1 ms 192.168.20.1
     2 <1 ms 1 ms 1 ms iphost-72-13-182-129.cgy.wiband.net [72.13.182.1
    9]
     3 1 ms 3 ms 10 ms del-sw1.edm.wiband.net [72.13.182.233]
  • ktunell XNXX

    2109132·mirc·6 B·2012-02-02 21:52 UTC
    dddddd
  • Someone

    2109131·text·1.2 KB·2012-02-02 21:41 UTC
    == Using UDPTL TOS bits 184
     == Using UDPTL CoS mark 5
     == Using SIP RTP TOS bits 184
     == Using SIP RTP CoS mark 5
     -- Executing [555@from-internal:1] ResetCDR("SIP/108-00000041", "") in ne
  • Anonymous

    2109130·text·6 B·2012-02-02 21:38 UTC
    لصق
  • Anonymous

    2109129·text·1.1 KB·2012-02-02 21:26 UTC
    section .data
     filename: db 'testdir',0 ;name of the new dir
     string: db 'Hello',0 ;string to write to file..
     stringLen: equ $-string ;length of string
     textfile: db 'hello.txt',0;textfile
  • Anonymous

    2109128·text·489 B·2012-02-02 21:16 UTC
    import java.util.Scanner;
    
    public class Karkausvuosi {
    
     public static void main(String[] args) {
     Scanner lukija = new Scanner(System.in);
    
     System.out.print("Anna vuosi:");
  • Something

    2109127·text·446 B·2012-02-02 21:02 UTC
    import java.util.Scanner;
    
    public class Karkausvuosi {
    
     public static void main(String[] args) {
     Scanner lukija = new Scanner(System.in);
    
     System.out.print("Anna vuosi:");
  • Something

    2109126·text·724 B·2012-02-02 21:00 UTC
    root@v2:~# ifconfig -a | grep 'RX bytes'
     RX bytes:92836374724 (92.8 GB) TX bytes:135953735324 (135.9 GB)
     RX bytes:93679941003 (93.6 GB) TX bytes:105821919445 (105.8 GB)
  • deploy.rb

    2109123·ruby·2.2 KB·2012-02-02 20:46 UTC
    $ cat config/deploy.rb
    require 'rubygems'
    require 'railsless-deploy'
    #load 'config/deploy.rb'
    #set :application, "mysite"
    set :location, "squid1"
    
    role :web, "#{location}"

older pastes →