All pastesPublic feed

Public feed

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

    2110996·text·23.9 KB·2012-02-08 02:39 UTC
    ipod-touch:/ root# find . -type f -exec file {} \; | grep armv5
    ./bin/[ (for architecture armv5): Mach-O executable arm
    ./bin/bash (for architecture armv5): Mach-O executable arm
    ./bin/cat (for arc
  • yup

    2110987·text·5 B·2012-02-08 00:54 UTC
    gsfsd
  • wps2key

    2110985·python·9.9 KB·2012-02-08 00:52 UTC
    #!/usr/bin/env python
    
    from sys import argv, stderr, exit
    from getopt import GetoptError, getopt as GetOpt
    import hashlib
    
    try:
     from scapy.all import *
    except Exception, e:
     print 'Failed to
  • wps2key

    2110982·python·9.9 KB·2012-02-08 00:40 UTC
    #!/usr/bin/env python
    
    from sys import argv, stderr, exit
    from getopt import GetoptError, getopt as GetOpt
    import hashlib
    
    try:
     from scapy.all import *
    except Exception, e:
     print 'Failed to
  • Float magic

    2110980·csharp·2.2 KB·2012-02-08 00:26 UTC
    [StructLayout(LayoutKind.Explicit)]
     public struct IncrementableFloat
     {
     [FieldOffset(0)]
     int mAsInt;
     [FieldOffset(0)]
     float mAsFloat;
    
     public
  • Float magic

    2110979·csharp·645 B·2012-02-08 00:20 UTC
    [StructLayout(LayoutKind.Explicit)]
     public struct IncrementableFloat
     {
     [FieldOffset(0)]
     int mAsInt;
     [FieldOffset(0)]
     float mAsFloat;
    
     public
  • Dread Knight

    2110974·php·394 B·2012-02-07 23:22 UTC
    <?php
    $menu = array("wuala"=>"http://wuala.com", "blender"=>"http://blender.org", "gimp"=>"http://gimp.org", "mypaint"=>"http://mypaint.intilinux.com", "alchemy"=>"http://al.chemy.org");
    foreach ($m
  • wps2key

    2110973·python·9.9 KB·2012-02-07 23:12 UTC
    #!/usr/bin/env python
    
    from sys import argv, stderr, exit
    from getopt import GetoptError, getopt as GetOpt
    import hashlib
    
    try:
     from scapy.all import *
    except Exception, e:
     print 'Failed to
  • Unnamed

    2110970·text·656 B·2012-02-07 22:57 UTC
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 
    16737 zwane 20 0 2921m 2.1g 2.0g S 31 9.1 508:41.39 VirtualBox
  • Stuff

    2110952·text·4 B·2012-02-07 21:34 UTC
    asdf
  • Untitled

    2110947·text·670 B·2012-02-07 21:11 UTC
    void kalman(float accelVals[2], float gyroRate[2], float compAngle[2])
    {
     //Vector for tilt from accelerometer only
     float r = sqrt((pow(accelVals[0], 2) + pow(accelVals[1], 2) + pow(accelVals[2]
  • dagb

    2110946·text·555 B·2012-02-07 21:03 UTC
    to avoid the check_ping error `CRITICAL - You need more args!!!', do:
    
    --- nagios-plugins-1.4.15.ebuild.org 2012-02-07 20:31:04.919360103 +0100
    +++ nagios-plugins-1.4.15.ebuild 2012
  • dagb

    2110942·text·584 B·2012-02-07 20:55 UTC
    observium nagios-plugins # (21:52) diff -u nagios-plugins-1.4.15.ebuild.org nagios-plugins-1.4.15.ebuild
    --- nagios-plugins-1.4.15.ebuild.org 2012-02-07 20:31:04.919360103 +0100
    +++ nagios-plugin
  • dagb

    2110941·text·584 B·2012-02-07 20:54 UTC
    observium nagios-plugins # (21:52) diff -u nagios-plugins-1.4.15.ebuild.org nagios-plugins-1.4.15.ebuild
    --- nagios-plugins-1.4.15.ebuild.org 2012-02-07 20:31:04.919360103 +0100
    +++ nagios-plugin
  • Mine

    2110940·text·1.2 KB·2012-02-07 20:50 UTC
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    
    namespace Average
    {
     class Program
     {
     static void Main(string[] args)
     {
  • Microsoft Survey

    2110935·javascript·9.7 KB·2012-02-07 20:19 UTC
    if(typeof(COMSCORE)=="undefined"){var COMSCORE={};}if(typeof COMSCORE.SiteRecruit=="undefined"){COMSCORE.SiteRecruit={version:"4.6.3",debug:false,CONSTANTS:{COOKIE_TYPE:{ALREADY_ASKED:1,DD_IN_PROGRESS
  • Someone

    2110933·text·1.9 KB·2012-02-07 20:14 UTC
    WEB100 Enabled Statistics:
    Checking for Middleboxes . . . . . . . . . . . . . . . . . . Done
    checking for firewalls . . . . . . . . . . . . . . . . . . . Done
    running 10s outbound test (client-to
  • asdasd

    2110932·java·2.1 KB·2012-02-07 20:10 UTC
    package scraper;
    
    import java.io.BufferedReader;
    
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    
    import or
  • Miscellany

    2110930·text·3.0 KB·2012-02-07 20:03 UTC
    m_mainSocket = new Socket(AddressFamily.InterNetwork,
     SocketType.Stream,
     ProtocolType.Tcp);
     IPEndPoint ipLocal = new IPEndPoint(IPAddress.Any, port
  • Stuff

    2110929·csharp·3.1 KB·2012-02-07 19:56 UTC
    // EXAMPLE IMPLEMENTATION
     Action<IEnumerable<IMessage>> receiveCallback;
    
     private void BeginReceive() {
     receiveCallback = new Action<IEnumerable<IMessage>>(Mess

older pastes →