Archive›2012›March

March 2012

2375 pastes
  • Mine

    2128056·text·87 B·2012-03-14 10:46 UTC
    $trailer_arr = str_split($jobline_row['TRAILER'], 9); 
    { $trailer = $trailer_arr[0]; }
  • multiple outputs

    2128055·python·532 B·2012-03-14 10:46 UTC
    import os
    import sys
    import logging
    
    logger = logging.getLogger(__name__)
    
    formatter = logging.Formatter('%(asctime)s %(levelname)s [%(name)s] %(message)s')
    logger.setLevel(logging.DEBUG)
  • Stuff

    2128052·text·263 B·2012-03-14 10:17 UTC
    <?php
    $listlength="10";
    $nodetype = "blog";
    $output = node_title_list(db_query_range(db_rewrite_sql("SELECT n.nid, n.title, n.created FROM {node} n WHERE n.type = '%s' AND n.status = 1 ORDER BY n.c
  • frankfrankf

    2128051·actionscript·111 B·2012-03-14 10:01 UTC
    You can't separate pease from freedom because no one can be at peace unless he has his freedom.
  • Unnamed

    2128049·text·313 B·2012-03-14 09:47 UTC
    #define XP_pattern1 0x3b , 0x46 , 0x0c , 0x7f , 0x16 , 0x8b , 0x45 , 0x08
    
    uint8_t XP_pattern1_array[] = {XP_pattern1};
    
    #define NELEM(x) (sizeof(x)/sizeof(x[0])
    
    и юзай sizeof(XP_pattern1_ar
  • Anonymous

    2128047·text·969 B·2012-03-14 09:10 UTC
    [Tengu, mpp 228k]
    Damage Control II
    Ballistic Control System II
    Ballistic Control System II
    Ballistic Control System II
    Nanofiber Internal Structure II
    
    Large Shield Extender II
    Large Shield E
  • Miscellany

    2128046·bash·82 B·2012-03-14 09:08 UTC
    export PS1="[\$?"' \u@\h \W$(type __git_ps1 &>/dev/null && __git_ps1 " (%s)")]\$ '
  • this is a test

    2128045·text·14 B·2012-03-14 09:02 UTC
    test test test
  • Miscellany

    2128043·text·82 B·2012-03-14 08:56 UTC
    export PS1="[\$?"' \u@\h \W$(type __git_ps1 &>/dev/null && __git_ps1 " (%s)")]\$ '
  • Something

    2128042·text·14 B·2012-03-14 08:29 UTC
    test test test
  • Unnamed

    2128041·text·22 B·2012-03-14 08:28 UTC
    form interception test
  • Something

    2128040·c·7.4 KB·2012-03-14 08:18 UTC
    //Main
    /****************************************************************
    * Author: kh@ipimp.at
    *****************************************************************
    * Minimum setup of GPIO
    **********
  • Anonymous

    2128039·text·6.9 KB·2012-03-14 08:18 UTC
    //Main
    /****************************************************************
    * Author: kh@ipimp.at
    *****************************************************************
    * Minimum setup of GPIO
    **********
  • socks5 list 3.14.2012.

    2128016·text·17 B·2012-03-14 06:18 UTC
    60.234.72.16:4329
  • Something

    2128015·text·5.5 KB·2012-03-14 06:13 UTC
    ==> agner (get-deps)
    [Processing dependency: jsx]
    [Processing dependency: rebar]
    [Processing dependency: gen_fsm2]
    [Processing dependency: getopt]
    [Processing dependency: gproc]
    [Processing depe
  • Miscellany

    2128014·text·563 B·2012-03-14 05:49 UTC
    Yo McD's let me just say im double pissed I just had your popcorn chicken right before I found out about your pitbull comments and let me say I have two reasons to be angry. first I rescued my pitts a
  • Sal Repair Dump

    2128012·text·3.6 KB·2012-03-14 05:21 UTC
    Restoring folder: "C:\Program Files\CCP\EVE"
    Checksum Database: "<ChecksumDB at 'C:\\Users\\Tyler\\AppData\\Local\\CCP\\EVE\\C_PROG~3\\checksums'>"
    Build folder info:
     __name__: main
     version: 7
  • Sal's Patch Dump

    2128011·text·22.5 KB·2012-03-14 05:10 UTC
    Exception during UpdaterModule.Update
    Traceback (most recent call last):
     File "lib\update.pyc", line 527, in Update
     File "lib\update.pyc", line 576, in _Update
     File "lib\update.pyc", line 30
  • Something

    2128005·text·1.8 KB·2012-03-14 03:50 UTC
    public RTPpacket(int PType, int Framenb, int Time, byte[] data,
     int data_length) {
     // fill by default header fields:
     Version = RTP_VERSION;
     Padding = 0;
     Extension = 0;
     CC = 0;
     M
  • Anonymous

    2128004·csharp·671 B·2012-03-14 03:29 UTC
    /// <summary>
     /// Returns an array of ints from a string of values
     /// </summary>
     /// <param name="count">The amount of values to parse</param>
     /// <param n
  • 10101

    2128003·text·271 B·2012-03-14 03:28 UTC
    Q8. Information on bullying is found under: Safety & Prevention > Health and Safety Topics > Bullying at Work. The WorkSafe website discusses details on what constitutes as bullying and who you can g
  • Anonymous

    2128002·csharp·328 B·2012-03-14 03:28 UTC
    static public int[] GetInts(int count, List<string> values, int pos)
     {
     int[] ints = new int[count];
     for (int i = 0; i > count; i++)
     {
  • Anonymous

    2128001·csharp·328 B·2012-03-14 03:26 UTC
    static public int[] GetInts(int count, List<string> values, int pos)
     {
     int[] ints = new int[count];
     for (int i = 0; i < count; i++)
     {
  • Something

    2128000·text·827 B·2012-03-14 03:26 UTC
    Q8. Information on bullying is found under: Safety & Prevention > Health and Safety Topics > Bullying at Work. The WorkSafe website discusses details on what constitutes as bullying and who you can g
  • Someone

    2127999·text·508 B·2012-03-14 03:25 UTC
    n = degree
    c = coefficient
    prev = Root
    node = Root
    
    if not node:
     if c:
     Root = Node(n, c)
     return
    
    while node:
     if node->degree == n:
     if c == 0:
     if node == Root:
     Root = Root->
  • Someone

    2127997·text·500 B·2012-03-14 03:22 UTC
    n = degree
    c = coefficient
    prev = Root
    node = Root
    
    if not node:
     if c:
     Root = Node(n, c)
     return
    
    while node:
     if node->degree == n:
     if c == 0:
     if node == Root:
     Root = Root->
  • Something

    2127996·text·267 B·2012-03-14 03:17 UTC
    Q8. Information on bullying is found under: Safety & Prevention > Health and Safety Topics > Bullying at Work. The WorkSafe website discusses details on what constitutes as bullying and who you can g
  • Unnamed

    2127995·text·267 B·2012-03-14 03:17 UTC
    Q8. Information on bullying is found under: Safety & Prevention > Health and Safety Topics > Bullying at Work. The WorkSafe website discusses details on what constitutes as bullying and who you can g
  • Someone

    2127992·text·390 B·2012-03-14 02:53 UTC
    n = degree
    c = coefficient
    prev = root
    node = root
    
    while node:
     if node->degree == n:
     if c == 0:
     prev->next = node.next
     delete (node)
     else:
     node->coefficient = c
     elif n > no
  • Someone

    2127991·text·389 B·2012-03-14 02:52 UTC
    n = degree
    c = coefficient
    prev = root
    node = root
    
    while node:
     if node->degree == n:
     if c == 0:
     prev->next = node.next
     delete (node)
     else:
     node.coefficient = c
     elif n > nod
  • Something

    2127980·text·1.1 KB·2012-03-14 02:09 UTC
    week 1
    Background and overview.
    One-time encryption using stream ciphers.
    Semantic security.
    
    week 2
    Block ciphers and pseudorandom functions.
    Chosen plaintext security and modes of operation.
  • frankfrankf

    2127979·actionscript·111 B·2012-03-14 02:00 UTC
    You can't separate pease from freedom because no one can be at peace unless he has his freedom.
  • ThemeChooser local FE download

    2127976·cpp·905 B·2012-03-14 01:24 UTC
    diff --git a/mythtv/programs/mythfrontend/themechooser.cpp b/mythtv/programs/mythfrontend/themechooser.cpp
    index c61c4c1..45daac4 100644
    --- a/mythtv/programs/mythfrontend/themechooser.cpp
    +++ b/my
  • Untitled

    2127975·xml·1.3 KB·2012-03-14 01:21 UTC
    <configuration>
     <property>
     <name>dfs.hosts.exclude</name>
     <value>conf/excludes</value>
     </property>
     <property>
     <name>dfs.http.address</name>
     <value>namenodeip:50070</val
  • frankfrankf

    2127962·actionscript·111 B·2012-03-14 00:09 UTC
    You can't separate pease from freedom because no one can be at peace unless he has his freedom.
  • beamer/bibunits Problem

    2127960·text·955 B·2012-03-14 00:06 UTC
    jbglaw@elle:/tmp/beamertest$ cat systematik_2009.tex
    \documentclass{beamer}
    \usepackage[utf8]{inputenc}
    \usepackage{bibunits}
    \usepackage{hyperref}
    \usepackage[german]{babel}
    \title{foo}
    \autho
  • jquery

    2127957·javascript·3.8 KB·2012-03-13 23:37 UTC
    var j = jQuery.noConflict();
    j(document).ready(function(){
     var scntDiv = j('#p_scents');
     var i = j('#p_scents p').size() + 1;
     
     var i2 = i; 
     // Add information for additional p
  • AreaGuard

    2127950·java·2.0 KB·2012-03-13 23:19 UTC
    package com.gmail.alternejtiw.AreaGuard;
    
    import java.io.File;
    import java.util.ArrayList;
    
    import org.bukkit.plugin.java.JavaPlugin;
    
    class area
    {
     private int xa;
     private int ya;
  • Someone

    2127943·text·488 B·2012-03-13 22:31 UTC
    entnervt|chillt> ja
    <entnervt|chillt> wollts gerade schreiben
    <entnervt|chillt> bin mal gespannt
    <entnervt|chillt> wann die gsg4 kommt
    <entnervt|chillt> um mich zurechtzuweisen
    <entnervt|chillt>
  • Untitled

    2127942·text·187.6 KB·2012-03-13 22:26 UTC
    
        
  • fizzbuzz2

    2127940·python·136 B·2012-03-13 22:08 UTC
    for i in range(1,101):
     print(("Fizz" if (i%3==0) else "") + ("Buzz" if (i%5==0) else "") + (str(i) if (i%3!=0 and i%5!=0) else ""))
  • fizzbuzz2

    2127939·python·136 B·2012-03-13 22:06 UTC
    for i in range(1,100):
     print(("Fizz" if (i%3==0) else "") + ("Buzz" if (i%5==0) else "") + (str(i) if (i%3!=0 and i%5!=0) else ""))
  • fizzbuzz1

    2127938·python·240 B·2012-03-13 22:00 UTC
    for i in range(1,100):
     a = False
     if (i % 3 == 0):
     print("Fizz", end='')
     a = True
     if (i % 5 == 0):
     print("Buzz", end='')
     a = True
     if (a):
  • Stuff

    2127933·text·1.8 KB·2012-03-13 21:23 UTC
    29.2.2012 14:21:01 Irma Azra ziGa . aj glup si ;) 
    29.2.2012 14:22:16 Irma Azra ziGa . Haris Hercegovac e moj ernade al te vole ove zene :$ ♥ 
    29.2.2012 14:22:38 Irma Azra ziGa . sljedec
  • Unnamed

    2127931·text·2.9 KB·2012-03-13 20:58 UTC
    _cpuCalibrateDelay: ;;; uint32_t cpuCalibrateDelay() ;;;;;;;;;;;;;;;;;;;;
    ;;; This function is hand compiled from the calibrate_delay() function
    ;;; found in in Linux. It does not return BogoMips,
  • Mine

    2127929·text·2.9 KB·2012-03-13 20:46 UTC
    #experience_page h3 {
     font-size: 22px;
     color: #222;
     padding-bottom: 7px;
     color: #222;
     font-family: "NewsGothicBT-Bold";
     padding: 0 35px 10px;
    }
    #experience_page h2 {
     font-family: "News
  • Anonymous

    2127927·text·97 B·2012-03-13 20:45 UTC
    HEY BABYGIRL (aka Lauren)! I LOVE YOU MORE THAN ANYTHING IN THE WORLD! YOU MEAN THE WORLD TO ME!
  • Untitled

    2127926·text·1.3 KB·2012-03-13 20:37 UTC
    1. The American social system is one that does not support the lower class, despite apparent ideology surrounding the 
    
    contrary. This is a strong argument, one that can be argued strongly for or ag
  • Untitled

    2127925·text·2.7 KB·2012-03-13 20:19 UTC
    #ifndef F_CPU
     #define F_CPU 8000000UL //8MHz
    #endif
    #include <avr/io.h>
    #include <stdio.h>
    #include <util/delay.h>
    #include "lcd.h"
    //#include "interrupts.h"
    
    #define LCD_PORT PORTB
  • mapsaixxx

    2127924·text·3 B·2012-03-13 20:11 UTC
    '''
  • Untitled

    2127921·text·2.7 KB·2012-03-13 19:55 UTC
    #ifndef F_CPU
     #define F_CPU 8000000UL //8MHz
    #endif
    #include <avr/io.h>
    #include <stdio.h>
    #include <util/delay.h>
    #include "lcd.h"
    //#include "interrupts.h"
    
    #define LCD_PORT PORTB
  • Untitled

    2127912·text·441 B·2012-03-13 18:45 UTC
    # Apply conversion option to final folder
     if cfg.replace_dots() and ' ' not in self.final_name:
     logging.info('Replacing dots with spaces in %s', self.final_name)
  • Stuff

    2127905·text·225 B·2012-03-13 18:27 UTC
    Anthon
    Athagata
    Melvin
    Fox
    Futility
    Raine
    Colle
    Echard
    Kanne
    Rugi
    Mahasamatman
    outfox
    pope
    yama
    Paulie
    SirCyclone
    Anthon44
    Achilleous
    Adrienne
    Blitz
    Moradon
    Eternalfox
    Ganymede
  • Stuff

    2127904·c·919 B·2012-03-13 18:27 UTC
    /*
     * Convert seconds to time
     */
    void seconds_to_time(int seconds, struct time *t){
     int year_i;
     int year = EPOCH_YEAR, month = 1, day = 1, hour = 0, min = 0, sec = 0;
    
     while(seconds != 0){
  • Mine

    2127874·text·6.2 KB·2012-03-13 17:56 UTC
    My name is Israt Jahan, and I will make a presentation of a country in Central America called Puerto Rico.
    Mi nombre es Israt Jahan, y yo voy a hacer una presentacion de un pais en Centroamerica se
  • Anonymous

    2127873·text·6.5 KB·2012-03-13 17:51 UTC
    ---------
    hahaboohoo: Hey stranger [not sure if you opened with this, shows a lot of need in this context.]
    HB9 =): Heyy what's up
    hahaboohoo: Just chillin at home, how's life treating ya? [femini
  • Untitled

    2127872·text·247 B·2012-03-13 17:42 UTC
    #!/usr/bin/env python
    import xmlrpclib
    s = xmlrpclib.ServerProxy("https://localhost/xml-rpc/open-ils.actor")
    f = getattr(s, "open-ils.actor.patron.settings.update")
    f("9b8acccbaf229b0c78a90f055fad
  • Anonymous

    2127867·text·1.5 KB·2012-03-13 17:29 UTC
    nedo bog zvat 
    7.3.2012 21:58:12 ziGa . Maja Majiic S: 
    7.3.2012 21:58:24 Maja Majiic ziGa . kad te zovemo, kazes da si izgubio kljuc pa izadjes u wh
  • Error evergreen API

    2127866·text·875 B·2012-03-13 17:27 UTC
    To begin with, we want to implement few Evergreen API method calls (as given at the end of this mail) on our web service. However we found that some of these methods fail and return either response co
  • Unnamed

    2127865·text·820 B·2012-03-13 17:26 UTC
    /* check for ImportantMessages (these display in a div overlaying the main screen) */
     if (StrLength(WCC->ImportantMsg) > 0) {
     wc_printf("<div
  • Untitled

    2127864·text·643 B·2012-03-13 17:25 UTC
    java.io.IOException: Server returned HTTP response code: 500 for URL: https://192.168.1.187:443/xml-rpc/open-ils.actor
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    a
  • Something

    2127856·text·8.1 KB·2012-03-13 16:52 UTC
    Program received signal SIGSEGV, Segmentation fault.
    0x00007f367a7ac37b in Timer::Timer(Timer const&) () from /opt/libreoffice3.5/program/libvcllo.so
    (gdb) 
    Thread 7 (Thread 0x7f367482a910 (LWP 114
  • fresh proxy

    2127852·text·17 B·2012-03-13 16:44 UTC
    60.234.72.16:4329
  • recursive directory list

    2127843·perl·1.0 KB·2012-03-13 16:05 UTC
    my $path = ".";
    get_list($path);
    
    sub get_list
    {
     my $path = shift;
    
     opendir(my $dh, $path) or die "Cannot open dir $path: $!\n";
     while (my $f = readdir($dh))
     {
     next i
  • Something

    2127837·text·440 B·2012-03-13 15:30 UTC
    class Picture(Observable):
     
     EFFECT_NONE = 0
     EFFECT_BLACK_WHITE = 1
     EFFECT_SEPIA = 2
     
     TRANS_NONE = 0
     TRANS_FADE = 1
     TRANS_ROLL = 2
     
     def __
  • Mine

    2127820·text·269 B·2012-03-13 14:06 UTC
    f=Piecewise([[(-1,-1/2),-x],[(-1/2,1/2),0],[(1/2,1),x]])
    p=plot(f)
    var('j')
    an=(2*cos(j*pi/2)+j*pi*sin(j*pi/2)+2*(-1)^j)/(j^2*pi^2)
    def fs(q):
     return 3/4+sum(an*cos(j*pi*x),j,1,q)
    print fs(3
  • Famicom Disk System emul. WIP

    2127813·cpp·12.2 KB·2012-03-13 13:43 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Famicom Disk System emul. WIP

    2127812·cpp·12.1 KB·2012-03-13 13:41 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Mine

    2127811·diff·564 B·2012-03-13 13:38 UTC
    --- translate/storage/base.py 2011-05-15 20:14:19.000000000 +0200
    +++ /home/claude/.../translate/storage/base.py 2012-03-13 14:17:21.759808031 +0100
    @@ -543,6 +543,9 @@
     @param unit: The un
  • Famicom Disk System emul. WIP

    2127808·cpp·11.8 KB·2012-03-13 13:33 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Famicom Disk System emul. WIP

    2127807·cpp·11.8 KB·2012-03-13 13:33 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Famicom Disk System emulation WI

    2127806·cpp·11.8 KB·2012-03-13 13:32 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • chinese spam

    2127796·text·21.4 KB·2012-03-13 12:56 UTC
    Received: from server3.hengzhi-mail.com (211.151.62.103) by
     mail.jam-software.de (192.168.123.87) with Microsoft SMTP Server id
     14.2.283.3; Mon, 12 Mar 2012 21:45:24 +0100
    Received: from server1.
  • Stuff

    2127788·text·1.0 KB·2012-03-13 12:33 UTC
    -=================- TFM client ideas -=================-
    
    - full screen with game anchored at the bottom
    - adjustable left, right and centered alignment
    - custom chat window/menu
    - radial summon
  • Unnamed

    2127787·c·3.8 KB·2012-03-13 12:33 UTC
    //Main
    /****************************************************************
    * Author: kh@ipimp.at
    *****************************************************************
    * Minimum setup of GPIO 
    *********
  • Someone

    2127786·text·2.3 KB·2012-03-13 12:32 UTC
    import sys, os, time, thread
    import glib, gobject
    import pygst
    pygst.require("0.10")
    import gst
    
    class CLI_Main:
     
     def __init__(self):
     
     self.frame_count = 0
     self.keyframe_count = 0
  • Someone

    2127784·text·2.3 KB·2012-03-13 12:31 UTC
    import sys, os, time, thread
    import glib, gobject
    import pygst
    pygst.require("0.10")
    import gst
    
    class CLI_Main:
     
     def __init__(self):
     
     self.frame_count = 0
     self.keyframe_count = 0
  • mmm

    2127775·text·219 B·2012-03-13 12:18 UTC
    # alsactl -v
    alsactl version 1.0.23
    
    # lspci | grep Audio
    00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
    
    # cat /proc/asound/card0/codec#0 | grep Codec
    Codec
  • Untitled

    2127767·c·3.3 KB·2012-03-13 11:50 UTC
    //Main
    /****************************************************************
    * Author: kh@ipimp.at
    *****************************************************************
    * Minimum setup of GPIO 
    *********
  • Stuff

    2127766·text·4.0 KB·2012-03-13 11:50 UTC
    <?php get_header(); ?>
    
    <div id="main-area-wrap">
     <div id="wrapper">
     <div id="main">
     <div class="post">
     
     <?php if (get_option('glow_integration_single_top') <> '' && get_option('gl
  • Stuff

    2127757·text·6.9 KB·2012-03-13 11:20 UTC
    var relative : boolean;
    var rot : Vector3;
    var apagavel : boolean;
    var sangue : boolean;
    var exposure : float;
    var pancada : float;
    var HitPlayer : boolean;
    var HitEnemy : boolean;
    var explosi
  • Someone

    2127728·text·4.1 KB·2012-03-13 10:41 UTC
    /*Packages*/
    package connection;
    
    /*Imports*/
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    
    import org.apache.commons.net.
  • Stuff

    2127701·text·309 B·2012-03-13 10:24 UTC
    /*FTP Verbindung*/
    FtpConnection ftp = new FtpConnection(ip,"admin","admin");
    ftp.connect();
    ftp.login();
    ftp.uploadDir(treiber);
    ftp.disconnect();
    
    /*Telnetverbindung zu Gerät zum rebooten*/
  • ME 3 ending explained

    2127671·text·3.5 KB·2012-03-13 10:06 UTC
    Source: http://paragadeshep.tumblr.com/post/19099827322/alternate-explanation-for-the-me3-endings
    Pasting here to spare you the horrendous theme/design
    
    Alternate explanation for the ME3 endings.
  • Miscellany

    2127609·text·2.2 KB·2012-03-13 09:34 UTC
    import sys, os, time, thread
    import glib, gobject
    import pygst
    pygst.require("0.10")
    import gst
    
    class CLI_Main:
     
     def __init__(self):
     
     self.frame_count = 0
     self.keyframe_count = 0
  • Mine

    2127608·text·2.1 KB·2012-03-13 09:33 UTC
    import sys, os, time, thread
    import glib, gobject
    import pygst
    pygst.require("0.10")
    import gst
    
    class CLI_Main:
     
     def __init__(self):
    
     self.player= gst.Pipeline("player")
     self.filesrc
  • Someone

    2127605·text·167 B·2012-03-13 09:24 UTC
    National University of Singapore
    School of Computing
    Dean's Office, Graduate Studies
    Computing 1, #03-27, 13 Computing Drive 
    Singapore 117417 
    Attn: Ms Cindy Loh
  • Joel Yliluoma

    2127604·cpp·11.8 KB·2012-03-13 09:22 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Stuff

    2127598·c·6.8 KB·2012-03-13 08:58 UTC
    //Main
    /****************************************************************
    * Author: kh@ipimp.at
    *****************************************************************
    * Minimum setup of GPIO 
    *********
  • Unnamed

    2127597·c·6.8 KB·2012-03-13 08:58 UTC
    //Main
    /****************************************************************
    * Author: kh@ipimp.at
    *****************************************************************
    * Minimum setup of GPIO 
    *********
  • Someone

    2127594·c·3.5 KB·2012-03-13 08:56 UTC
    /*
     * days_in_month(month, year)
     * Returns the number of days in a given month and year, taking into account leap years.
     *
     * month: numeric month (1-12)
     * year: numeric year
     *
     * Prec: mon
  • Untitled

    2127578·text·4.5 KB·2012-03-13 07:19 UTC
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  • Unnamed

    2127576·text·1.0 KB·2012-03-13 07:08 UTC
    [Mar 13 14:02:40] WARNING[28529]: res_odbc.c:1402 _ast_odbc_request_obj2: SetConnectAttr (Txn isolation) returned an error: HY000: [MySQL][ODBC 5.1 Driver]MySQL server has gone away
    [Mar 13 14:02:40]
  • Stuff

    2127575·text·7.4 KB·2012-03-13 07:06 UTC
    -------------------------------------------------------------------------------
    \\//\\//\\//\\// _ |_ _ \ \/ /_ _ _ \\//\\//\\//\\//\\//\\//\\//\\//\\//\\
    //\\//\\//\\//\\ (_||_)(_|/ /\ \_||_ |
  • Someone

    2127574·text·7.4 KB·2012-03-13 07:06 UTC
    -------------------------------------------------------------------------------
    \\//\\//\\//\\// _ |_ _ \ \/ /_ _ _ \\//\\//\\//\\//\\//\\//\\//\\//\\//\\
    //\\//\\//\\//\\ (_||_)(_|/ /\ \_||_ |
  • HUGE Security Resource - version

    2127573·text·44.9 KB·2012-03-13 07:05 UTC
    
        
  • Unnamed

    2127567·text·329 B·2012-03-13 06:27 UTC
    Anaheim
    Arlington (Dallas)
    Atlanta
    Baltimore
    Boston
    Chicago (2)
    Cincinnati
    Cleveland
    Denver
    Detroit
    Houston
    Los Angeles
    Kansas City
    Miami
    Milwaukee
    Minneapolis
    New York (2)
    Oakland
    P
  • Something

    2127560·c·78 B·2012-03-13 05:58 UTC
    #include <stdio.h>
    int main(){
     printf("hello world!");
    
    return 1;
    }
  • Someone

    2127549·text·3.2 KB·2012-03-13 05:48 UTC
    on *:text:.box:#: {
     if (%match == $null) {
     msg $chan $nick is looking for a boxing partner! Type ".box" to challenge him!
     var %match 1
     var %p1 $nick
     }
     elseif (match == 2) {
  • Unnamed

    2127545·text·248 B·2012-03-13 05:36 UTC
    #include <stdio.h>
    
    int test = 'test';
    char testStr[5];
    
    int main() {
     switch (test) {
     case 'test':
     printf("here\n");
     break;
     };
    
     test = ntohl(test);
     strcpy(testStr, (char*)&tes
Page 15 of 24