All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Suspend to disk/hibernate for OS

    2116119·bash·1.1 KB·2012-02-10 10:00 UTC
    #!/bin/bash
    
    # Utility to force your mac immediately into hibernation mode/suspend to disk, 
    # thus conserving battery considerably (at the cost of slower startup)
    # @date 2012-02-10
    # @author Ca
  • Stuff

    2116098·text·1.8 KB·2012-02-10 09:42 UTC
    Building an app that interacts with different API's can be a difficult thing. They can return data in different formats, they can have different authentication mechanisms etc. That's why adding a midd
  • YouTube Subtitle Downloader

    2116094·javascript·4.0 KB·2012-02-10 09:39 UTC
    // ==UserScript==
    // @name Download YouTube Captions
    // @namespace http://userscripts.org/*
    // @include http://www.youtube.com/watch?*
    // ==/UserScript==
    var id = unsafeWind
  • Minecraft long names

    2116022·text·3.5 KB·2012-02-10 09:01 UTC
    smoothstone,1,0
    grass,2,0
    dirt,3,0
    cobblestone,4,0
    woodenplank,5,0
    normaltrunksapling,6,0
    adminblock,7,0
    water,8,0
    stationarywater,9,0
    lava,10,0
    stationarylava,11,0
    sand,12,0
    gravel,13,0
  • Anonymous

    2115943·text·1.1 KB·2012-02-10 08:21 UTC
    <?php
     include('include/connect.php');
    
     $query = "SELECT name, id FROM bixen_category";
     $result = $dbcon->query($query) or die($dbcon->error);
     while ($row = $result->fetch_assoc())
  • Stuff

    2115834·text·752.1 KB·2012-02-10 07:13 UTC
    
        
  • Mine

    2115817·text·58 B·2012-02-10 06:30 UTC
    <Person>
     <Age>30</Age>
     <Name>James</Name>
    </Person>
  • Miscellany

    2115816·text·2.2 KB·2012-02-10 06:11 UTC
    <!-- Begin Copy For Mail Form -->
     
    <form action="/cgi-sys/mailform" method="post">
     
    <input type="hidden" name="recipient" value="blair@sooley.org">
     
    <input type="hidden" name="subject" val
  • Adnan

    2115814·text·1.4 KB·2012-02-10 05:45 UTC
    The Prophet of Islam (PBUH) was a great teacher. He was a great lawgiver. He was a great statesman and he was a great sovereign who ruled. The life of the Prophet (PBUH) was simple according to those
  • Adnan

    2115813·text·738 B·2012-02-10 05:45 UTC
    Caliph Omar(RA)
    ================
    “From the servant of Allah and the Commander of the Faithful, Omar: The inhabitants of Jerusalem are granted security of life and property. Their churches and crosse
  • xous

    2115800·text·393 B·2012-02-10 04:30 UTC
    interface GigabitEthernet0/4
     description Core: ME3400 -> 3508
     port-type nni
     switchport trunk allowed vlan 20,30,50
     switchport mode trunk
     service-policy input DOWNLOAD
     service-policy output
  • Someone

    2115798·text·3.1 KB·2012-02-10 04:05 UTC
    /////////////////////////////////
    // prototypes
    
    // check if pc is mounted; should be persisted
    int GetIsMounted(object oPC);
    
    // block mounted transition into interior areas unless so marked
    i
  • Stuff

    2115797·text·488 B·2012-02-10 04:04 UTC
    nw_g0_transittion
    std_inc_mounts
    std_transition_plc_onused
    std_plc_jump_ou
    ga_jump
    i_d2_saddle_eq
    i_d2_saddle_ue
    gui_d2_dismount
    mod_spell_script
    nw_s0_haste
    mod_event_death
    std_enter_save_
  • SciPy problem

    2115796·python·1.1 KB·2012-02-10 03:54 UTC
    import logging
    logging.basicConfig(level=1) # be very verbose with logging for now
    
    def evaluate(function, x):
     return function(x)
    
    times = []
    
    def mintime(): return times[0]
    def maxtime()
  • Unnamed

    2115793·text·4.9 KB·2012-02-10 03:32 UTC
    ca fe ba be 00 00 00 31 00 67 04 3c 23 d7 0a 04 3d cc cc cd 04 3e 4c cc cd 04 3e cc cc cd 04 3f 00 00 00 04 41 20 00 00 04 42 c8 00 00 04 43 7f 00 00 08 00 4d 07 00 59 07 00 5a 07 00 5b 07 00 64 07 00
  • Anonymous

    2115792·text·736 B·2012-02-10 03:18 UTC
    # Project Euler #5
    
    # generate prime factor tree for each number then multiply the highest order
    # prime term for each prime together to get LCM
    
    from collections import defaultdict
    pfreqs = def
  • Someone

    2115785·text·4.2 KB·2012-02-10 02:57 UTC
    Feb 10, 2012 2:50:29 AM ModLoader readFromModFolder
    FINER: Zip found.
    Feb 10, 2012 2:50:29 AM ModLoader addMod
    FINE: Failed to load mod from "mod_BCIC2Crossover.class"
    Feb 10, 2012 2:50:29 AM ModL
  • Anonymous

    2115784·text·1.5 KB·2012-02-10 02:57 UTC
    Chilli
    
    Ingredients;
    First set of spices:
     1 Tablespoon Paprika (not smoked)
     1 Tablespoon Chilli Powder
     3 Cloves of Garlic, Crushed. Or the equivalent amount of Garlic Puree.
     1/2 Teaspoon Bl
  • Someone

    2115783·text·2.4 KB·2012-02-10 02:56 UTC
    Feb 10, 2012 2:50:29 AM ModLoader readFromModFolder
    FINER: Zip found.
    Feb 10, 2012 2:50:29 AM ModLoader addMod
    FINE: Failed to load mod from "mod_BCIC2Crossover.class"
    Feb 10, 2012 2:50:29 AM ModL
  • mycxbmc10feb2011

    2115776·text·85.1 KB·2012-02-10 02:34 UTC
    
        

older pastes →