All pastesPublic feed

Public feed

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

    2071912·cpp·424 B·2011-05-30 06:45 UTC
    joe@joe-laptop:~/Escritorio$ g++ --version
    g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
  • Stuff

    2071906·cpp·160 B·2011-05-30 06:36 UTC
    float mm = 0.4;
     float nn = 2.8;
     int xx = 3;
    
     float c1 = (mm * xx + nn);
     int c2 = c1;
    
     cout << "c1: " << c1 << endl;
     cout << "c2: " << c2 << endl;
  • Something

    2071904·text·29.1 KB·2011-05-30 06:35 UTC
    import java.awt.*;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import java.awt.Color.*;
    import java.awt.image.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swi
  • Stuff

    2071902·cpp·110 B·2011-05-30 06:30 UTC
    float mm = 0.4;
     float nn = 2.8;
     int xx = 3;
    
     int c = (mm * xx + nn);
    
     cout << "c: " << c << endl;
  • Something

    2071899·text·1.2 KB·2011-05-30 06:24 UTC
    preDefTxtWindow pdxctw = new preDefTxtWindow();
    idx = pdxctw.preDefTxtWindow();
    
    ----------------------------------------------------------------------
    
    public class preDefTxtWindow extends JPane
  • Something

    2071897·text·1.0 KB·2011-05-30 06:22 UTC
    preDefTxtWindow pdxctw = new preDefTxtWindow();
    idx = pdxctw.preDefTxtWindow();
    
    ----------------------------------------------------------------------
    
    public class preDefTxtWindow extends JPane
  • Something

    2071895·text·1020 B·2011-05-30 06:20 UTC
    preDefTxtWindow pdxctw = new preDefTxtWindow();
    idx = pdxctw.preDefTxtWindow();
    
    ----------------------------------------------------------------------
    
    public class preDefTxtWindow extends JPane
  • Miscellany

    2071887·text·3.0 KB·2011-05-30 06:10 UTC
    console.log(window.film);
    if (window.film == 1){
     console.log($('div.ad-image').children().first().attr("src"));
     var fImg = $('div.ad-image').children().first().attr("src"); 
     if (fImg == 'mnslb
  • poo

    2071875·text·756 B·2011-05-30 05:49 UTC
    #colors6 on
    on *:input:*: {
     if ($left($1,1) != /) {
     say $colors6($1-)}
     halt
     }
    }
    #colors6 end
    menu * {
     &colors6
     .on:/enable #colors6
     .off:/disable #colors6
    }
    alias colors
  • script

    2071874·text·756 B·2011-05-30 05:48 UTC
    #colors6 on
    on *:input:*: {
     if ($left($1,1) != /) {
     say $colors6($1-)}
     halt
     }
    }
    #colors6 end
    menu * {
     &colors6
     .on:/enable #colors6
     .off:/disable #colors6
    }
    alias colors
  • Something

    2071857·text·862 B·2011-05-30 05:28 UTC
    public class preDefTxtWindow extends JPanel implements MouseListener {
    
     public int preDefTxtWindow() {
    
     JFrame framePreDefTxt = new JFrame("Predefined Text");
     framePreDefTxt.setDefaultCloseO
  • Something

    2071854·text·1.7 KB·2011-05-30 05:23 UTC
    public class PreDefinedXCTWindow extends JPanel implements MouseListener {
    
     public int getPreDefinedXCTWindow(BenchmarkXCT benchmark, int selection) {
     // selection:
     // 1 for TATP
     // 2 for
  • Something

    2071852·text·25.5 KB·2011-05-30 05:19 UTC
    import java.awt.*;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import java.awt.Color.*;
    import java.awt.image.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swi
  • Something

    2071847·text·1.9 KB·2011-05-30 05:08 UTC
    [user@localhost ~]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 50G 49G 283M 100% /
    udev 992M 0 992M 0% /dev
    tmpfs
  • Something

    2071844·text·25.3 KB·2011-05-30 05:04 UTC
    import java.awt.*;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import java.awt.Color.*;
    import java.awt.image.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swi
  • Miscellany

    2071841·text·25.3 KB·2011-05-30 05:00 UTC
    import java.awt.*;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import java.awt.Color.*;
    import java.awt.image.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swi
  • Anonymous

    2071829·text·953 B·2011-05-30 04:36 UTC
    <?php
    /**
     * @file
     * webchick's adventures with MongoDB!
     *
     * Useful resources:
     * - http://ca2.php.net/manual/en/mongo.tutorial.php
     * - http://groups.google.com/group/mongodb-user/browse_th
  • Miscellany

    2071828·text·25.2 KB·2011-05-30 04:35 UTC
    import java.awt.*;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import java.awt.Color.*;
    import java.awt.image.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swi
  • Mine

    2071820·text·3.3 KB·2011-05-30 04:18 UTC
    bash-4.2$ cd apps
    bash-4.2$ cd Rterm/
    bash-4.2$ ./Rterm
    DISP: (null)
    #1
    #2
    #3
    #4
    #5
    #6
    #7
    #8
    #9
    initializing 8 screens
    Rterm: XError, request == "unknown", error == "unknown", resourceid
  • Something

    2071819·python·2.2 KB·2011-05-30 04:14 UTC
    '''
    Created on May 22, 2011
    
    @author: sugarfrosted
    '''
    
    from numpy import concatenate
    from numpy import array
    from numpy import array_split
    from numpy import arange
    from numpy import dot
    fr

older pastes →