All pastesPublic feed

Public feed

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

    2121648·cpp·319 B·2012-02-26 08:25 UTC
    #include <string.h>
    #include <stdio.h>
    
    const char* hexstr="48494A4F00";
    
    int main(int argc, char **argv) {
    
     char result[10];
    
     int v;
     for(int i = 0; i < strlen(hexstr)>>1; i++) {
  • weather.sh

    2121639·bash·1.5 KB·2012-02-26 07:24 UTC
    #!/bin/bash
    RSS_URL=http://rss.wunderground.com/auto/rss_full/global/stations/33008.xml?units=metric
    BASE_DIR=~/scripts/weather
    TEMPFILE=$BASE_DIR/temp.txt
    
    curl $RSS_URL 2>/dev/null |awk '
    {
  • .conkyrc

    2121637·bash·1.5 KB·2012-02-26 07:20 UTC
    background no
    own_window yes
    own_window_class conky
    own_window_type dock
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    use_xft yes
    xftfont Terminu
  • Untitled

    2121635·text·326.3 KB·2012-02-26 07:04 UTC
    
        
  • Anonymous

    2121634·text·14.9 KB·2012-02-26 07:03 UTC
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    
    # Files and directories #################################################
  • Miscellany

    2121632·text·14.9 KB·2012-02-26 06:48 UTC
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    
    # Files and directories ###################################################
  • Someone

    2121629·text·14.9 KB·2012-02-26 06:32 UTC
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    
    # Files and directories ###################################################
  • Untitled

    2121622·text·14.9 KB·2012-02-26 05:30 UTC
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    
    # Files and directories ###################################################
  • Anonymous

    2121620·text·386 B·2012-02-26 05:20 UTC
    Show the list of interns and all of the companies that they have interned at. The report should have their first and last names and the company name. Order by the company name starting with Z. Remembe
  • Untitled

    2121619·text·158 B·2012-02-26 05:07 UTC
    select stufname, stulname, intname
    from tblstudent, tblintcompany, tblinthour
    inner join intid
    on tblintcompany.intid = tblinthour.intid
    order by intname;
  • Miscellany

    2121616·text·1.1 KB·2012-02-26 04:29 UTC
    # Tabs vs. Spaces in CoffeeScript v1.2.0
    #
    # This file contains both TABS and SPACES - that's the whole point!
    # Copy/Paste carefully.
    
    # Test 1:
    ok_in_this_order:
     spaces_on_this_line: 2
     ta
  • Something

    2121615·text·170 B·2012-02-26 04:23 UTC
    select stufname, stulname, intname
    from tblstudent, tblintcompany, tblinthour
    where tblintcompany.intid = tblinthour.intid IN
    (select disinct(stuid)
    from tblinthour);
  • Anonymous

    2121614·text·3 B·2012-02-26 04:06 UTC
  • Miscellany

    2121612·text·247.3 KB·2012-02-26 03:25 UTC
    
        
  • Someone

    2121611·text·884 B·2012-02-26 03:20 UTC
    #pickup @ freenode.net
    pickup.freenode.net
     ________________________________________________
     <Said> lol im in the frame
     <imkirilov_> west coast
     <Said> i got money's voice in my head
     <Said> b
  • Something

    2121610·text·2.7 KB·2012-02-26 03:18 UTC
    <C><P /><Z><S><S Y="400" T="2" P="0,0,0,1.8,-45,0,0,0" L="50" X="0" H="50" /><S Y="169" T="2" P="0,0,0,1.2,-60,0,0,0" L="20" X="67" H="10" /><S Y="343" T="2" P="0,0,0,1.2,-65,0,0,0" L="20" H="10" X="2
  • Someone

    2121606·text·752 B·2012-02-26 02:19 UTC
    Error: In src/app/view/InfoPanel2.coffee, Parse error on line 15: Unexpected '{'
     at Object.parseError (/opt/local/lib/node_modules/coffee-script/lib/coffee-script/parser.js:470:11)
     at Object
  • Miscellany

    2121605·text·477 B·2012-02-26 02:15 UTC
    NSLog(@"TIME1: %@", myDate);
     
     NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
     NSTimeZone *timeZone = [NSTimeZone timeZoneWithName:@"UTC"];
     [dateFormatter setTimeZo
  • Anonymous

    2121602·text·478 B·2012-02-26 01:38 UTC
    # If there is ANYTHING in this config which you do not understand, read the openvpn manual
    # Look up the first word in the manual, ie: to learn about the client
    # Command, look up --client in the m
  • Untitled

    2121599·text·3.4 KB·2012-02-26 01:16 UTC
    DNS resolves appropriately -- 
    
    $ host myclient.ida.campaignfoundations.com
    myclient.ida.campaignfoundations.com has address 204.232.201.213
    
    My apache configuration passes a syntax check --

older pastes →