All pastesPublic feed

Public feed

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

    2104487·text·415 B·2012-01-20 13:52 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    
    /* Example worker using a string */
    static int worker( double *d_ptr, char *string )
    {
     double d = *d_ptr
     return sin(d) + sin(s
  • Mine

    2104483·text·446 B·2012-01-20 13:47 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    /* This code is not meant to be efficient. It is meant
    ** to demonstrate the use of the FLI.
    */
    /* this does all the work, not exported *
  • Stuff

    2104481·text·1.6 KB·2012-01-20 13:36 UTC
    import java.awt.*; 
    import java.awt.event.*;
    import javax.swing.*; 
    import java.io.*; 
    import java.util.*;
    
    public class CatMain extends JFrame implements ActionListener
    {
     String[] names = n
  • Stuff

    2104478·text·70 B·2012-01-20 13:20 UTC
    {"ownerid":1,"method":"insertchat","users":["Test2","Verbeek","jens"]}
  • DBPlugin

    2104472·java·3.9 KB·2012-01-20 13:05 UTC
    /**
     * 
     */
    package db.sqlserver;
    
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.DriverPropertyInfo;
    import java.sql.SQLException;
    import
  • DB.java

    2104470·java·3.2 KB·2012-01-20 13:00 UTC
    /**
     * 
     */
    package db.sqlserver;
    
    import java.lang.reflect.Method;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData
  • Unnamed

    2104469·text·3.2 KB·2012-01-20 12:59 UTC
    /**
     * 
     */
    package db.sqlserver;
    
    import java.lang.reflect.Method;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData
  • Miscellany

    2104468·text·1.3 KB·2012-01-20 12:58 UTC
    MACRO 16777227 "偷" "INV_MISC_QUESTIONMARK"
    #showtooltip
    /cast [@focus] 偷天換日
     
    MACRO 16777225 "偷天" "INV_MISC_QUESTIONMARK"
    #showtooltip
    /cast [@targettarget,help] 偷天換日;偷天換日
     
    MACRO 16777222 "悶"
  • Unnamed

    2104466·text·33 B·2012-01-20 12:53 UTC
    [[2215456987]]
    [[5845874445687]]
  • Anonymous

    2104464·text·1.3 KB·2012-01-20 12:45 UTC
    //gcc `pkg-config --cflags --libs poppler-glib` pdf.cpp
    
    #include <stdio.h>
    #include <cairo.h>
    #include <poppler/GlobalParams.h>
    #include <poppler/PDFDoc.h>
    #include <poppler/CairoOutputDev.h>
  • Mine

    2104458·text·147 B·2012-01-20 12:30 UTC
    function OnGUI() {
     Event e = Event.current;
     if (e.isKey && e.character == 'g') {
     transform.position = Vector3(1, 2, 3);
     }
    }
  • Miscellany

    2104450·text·37.2 KB·2012-01-20 11:55 UTC
    
        
  • Untitled

    2104445·text·37.3 KB·2012-01-20 11:40 UTC
    
        
  • Stuff

    2104442·text·37.2 KB·2012-01-20 11:39 UTC
    
        
  • Stuff

    2104440·text·37.2 KB·2012-01-20 11:38 UTC
    
        
  • Stuff

    2104437·text·22.7 KB·2012-01-20 11:31 UTC
    ------------------
    System Information
    ------------------
    Time of this report: 1/20/2012, 06:27:33
     Machine name: RYAN-PC
     Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7600) (76
  • Unnamed

    2104434·text·33 B·2012-01-20 11:05 UTC
    [[2215456987]]
    [[5845874445687]]
  • Unnamed

    2104432·text·16 B·2012-01-20 11:02 UTC
    [[2215456987]]
  • Mine

    2104431·text·1.2 KB·2012-01-20 10:58 UTC
    kevinprince: Traceroute has started…
    [10:37] kevinprince: traceroute to e2943.c.akamaiedge.net (23.32.172.20), 64 hops max, 72 byte packets
    [10:37] kevinprince: 1 vigor.router (192.168.1.1) 1.805
  • Casalicchio Muori

    2104356·nasm·953 B·2012-01-20 10:23 UTC
    .text
    .globl main
    
    main:
     addi $a0, $zero, 4
     jal Fibonacci
     
    Fibonacci:
     addi $sp, $sp, -8
     sw $s0, 0($sp)
     sw $s1, 4($sp)
     sw $ra, 8($sp)
     
     add $s0, $zero, $a0 #s0 = initial numbe

older pastes →