All pastesPublic feed

Public feed

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

    2074089·text·1.1 KB·2011-06-03 12:02 UTC
    import java.awt.event.*;
    import java.util.ArrayList;
    import java.awt.Point;
    import java.awt.Rectangle;
    import java.math.*;
    
    public class MListener implements MouseListener {
     square a;
     Point
  • Stuff

    2074084·text·961 B·2011-06-03 11:57 UTC
    #!/usr/bin/perl -w
    use DBI;
    
    $DB_name ='test2';
    print "Enter Domain\n";
    chop ($domain = <>);
    
    #chomp $domain;
    #print $domain;
    
    $Domain_name="www.google.com";
    $dbh = DBI->connect("db
  • Something

    2074081·text·1.7 KB·2011-06-03 11:37 UTC
    boost::timed_mutex::timed_mutex (this=0x660360) at /usr/include/boost/thread/pthread/mutex.hpp:89
    89 int const res=pthread_mutex_init(&m,NULL);
    (gdb) p m
    $2 = {
     __data = {
  • Mine

    2074080·text·525 B·2011-06-03 11:30 UTC
    --- drivers/media/video/msm/msm_io8x.c 2010-09-28 14:03:31.000000000 +0200
    +++ ../ace-2.6.35-gb-mr/drivers/media/video/msm/msm_io8x.c 2010-11-30 07:27:00.000000000 +0100
    @@ -79,7 +79,7 @@
     break;
  • Mine

    2074075·text·318 B·2011-06-03 11:01 UTC
    public static int normalize (double [] signal){
     int [] ausgabe = new int [signal.length];
     double maxWert = maxAbs(signal);
     double multiplikatior = 32767 / maxWert;
     for(int i = 0; i < sign
  • Someone

    2074072·text·6.4 KB·2011-06-03 10:34 UTC
    [tllhtcp] can build tllhtcb again
     [b52g] changed weapon model
     Change models on wwii bombers from more realistic models
     Balance changes from senna
     Nerf armgor and armjugg explos
  • Someone

    2074070·text·6.4 KB·2011-06-03 10:33 UTC
    [tllhtcp] can build tllhtcb again
     [b52g] changed weapon model
     Change models on wwii bombers from more realistic models
     Balance changes from senna
     Nerf armgor and armjugg explos
  • Someone

    2074069·cpp·1.1 KB·2011-06-03 10:19 UTC
    void TV::Dens_score()
    {
    // double step=(x_max-x_min)/ui->num_dots->value();
     double N=ui->num_dots->value();
     double h=ui->H_line->text().toDouble();
     double temp;
     int i,j;
     for (i=0;i<N;i++)
  • Someone

    2074066·text·6.5 KB·2011-06-03 10:14 UTC
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.tabl
  • Miscellany

    2074065·text·772 B·2011-06-03 10:05 UTC
    nonce Security::getNonce() {
     static mongo::mutex m("getNonce");
     scoped_lock lk(m);
    
     if ( ! _initialized )
     init();
    
     /* question/todo: /dev/random
  • Huy

    2074056·text·2.2 KB·2011-06-03 09:09 UTC
    id3v2 --id3v2-only --song "Faraway" --artist "Apocalyptica" --album "Reflections" --year "2003" --genre "Cello Metal" --track "03" apocalyptica-faraway.mp3 && id3v2 --id3v2-only --song "Nothing Else M
  • Someone

    2074055·text·500 B·2011-06-03 08:59 UTC
    Input #0, avi, from 'Biology Of dads.avi':
     Metadata:
     ISFT : AVI-Mux GUI 1.17.8.3, Feb 16 201019:42:50
     JUNK : 
     Duration: 00:58:39.36, start: 0.000000, bitrate: 178
  • Something

    2074052·text·5.6 KB·2011-06-03 08:44 UTC
    libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-gpl --ena
  • Someone

    2074044·text·12.2 KB·2011-06-03 08:18 UTC
    DDRKirby(ISQ) Abandon 6:17 JHCompo - MAGFest Edition Electronic, Techno, Trance 100 DDRKirby(ISQ)
    Nitrous Oxide pres. Redmoon Accelerate 8:45 (none) Electronic, Techno, Trance 100 (other)
    bLiNd Act
  • Someone

    2074043·text·14.5 KB·2011-06-03 08:16 UTC
    Abandon 6:17 1/18/11 7:08 PM DDRKirby(ISQ) JHCompo - MAGFest Edition Electronic, Techno, Trance 100 15 3/18/11 10:07 PM
    Accelerate 8:45 10/6/09 5:50 AM Nitrous Oxide pres. Redmoon (none) Electronic,
  • Anonymous

    2074040·html·512 B·2011-06-03 08:11 UTC
    <td rowspan="30">
     <img src="http://dev.blott2.local/images/shim.gif" width="24" height="10" />
     </td>
     <td colspan="5">
  • Unnamed

    2074039·java·1.1 KB·2011-06-03 08:07 UTC
    public void Build_Map(int x, y){
     Map world_Map = new Map();
     world_Map.map_cells = new Cell[x][y];
     for (Cell[] cell : world_Map.map_cells){
     cell = new Cell[y];
     } 
     }
  • Untitled

    2074038·diff·10.3 KB·2011-06-03 08:07 UTC
    Subject: [PATCH 2/2] More hacking
    
    ---
     include/IVideoDriver.h | 5 +
     source/Irrlicht/CNullDriver.cpp | 2 +
     source/Irrlicht/COpenGLDriver.cpp | 171 ++++++++++++++++++++++++++
  • Anonymous

    2074037·diff·7.4 KB·2011-06-03 08:07 UTC
    Subject: [PATCH 1/2] Initial instancing support
    
    ---
     source/Irrlicht/CNullDriver.cpp | 13 +++++++
     source/Irrlicht/CNullDriver.h | 6 +++
     source/Irrlicht/COpenGLDr
  • Someone

    2074035·java·235 B·2011-06-03 08:00 UTC
    public void createCells(int x, int y){
     System.out.println("Creating a New map with: " + height + " Rows and " + width + " Columns");
     map_cells = new Cell[x][y];
     for (Cell[] cell : map_cell

older pastes →