New paste›Public feed

Public feed

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

    983297·c·7.1 KB·2008-04-13 06:51 UTC
    /* screens.c */
    /* this file contains the functions that handle the various subscreens a user might encounter in his ATM adventure. */
    /* (c) 2008 by ccfreak2k */
    
    welcomemessage() {
    
     loli_clea
  • Anonymous

    983293·text·1.5 KB·2008-04-13 06:41 UTC
    fale@fale-laptop:~/FaleBot$ php -f Cluebot.php
    POST: http://it.wikipedia.org/w/api.php?action=login (0.579499959946 s) (971 b)
    GET: http://it.wikipedia.org/w/query.php?what=content&format=php&titles
  • Untitled

    983290·text·14.0 KB·2008-04-13 06:39 UTC
    Spirit Wolf: 14[1Level:10 114] [1Charm:7 GOLD14] [1Shards:10 714] [1Secondary:10 Wolf Bones14] [1Shard Cost:10 175gp14] [1Experience:10 4.814] [1High Alch:10 359gp14]
    
    Dreadfow
  • Mine

    983288·bash·1.5 KB·2008-04-13 06:39 UTC
    #!/bin/bash
    
    # Script By Robert Navarro
    # crshman [at] gmail.com
    #
    # Rename/Moves MP3 files based on
    # id3v2 tags
    
    LIVE=
    #
    # Set to some value for live operation
    # ex
    # $LIVE=Yes
    # the sc
  • Miscellany

    983286·text·615 B·2008-04-13 06:29 UTC
    #!/bin/bash
    orient=$(xrandr -q --verbose | awk 'NR==2{print $5}') #;echo $var
    if ["$orient" = "normal"]; then
     xrandr -o right
    elif ["$orient" = "right"]; then
     xrandr -o inverted
  • Something

    983285·php·397 B·2008-04-13 06:28 UTC
    <?php
    
    require_once('_classes/_loader.php');
    
    if ($_SERVER['REQUEST_METHOD'] == 'POST') {
     $num1 = $_POST['num1'];
     $num2 = $_POST['num2'];
     $sum = $num1 + $num2;
     $name = $_POST['name'];
  • Untitled

    983284·text·324 B·2008-04-13 06:27 UTC
    #!/bin/bash
    orient=$(xrandr -q --verbose | awk 'NR==2{print $5}') #;echo $var
    if ["$orient" = "normal"]; then
     xrandr -o right
    elif ["$orient" = "right"]; then
     xrandr -o inverted
  • Something

    983283·text·290 B·2008-04-13 06:22 UTC
    chuck@chuck-debian:~$ ls remote/
    chuck@chuck-debian:~$ sshfs chuck@192.168.0.4: remote/
    chuck@192.168.0.4's password:
    chuck@chuck-debian:~$ ls remote/
    brl01a.gif bufferoverflow.txt Desktop drin
  • Miscellany

    983281·text·230.9 KB·2008-04-13 06:21 UTC
    
        
  • Meins

    983280·text·697 B·2008-04-13 06:20 UTC
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread -1223096640 (LWP 17374)]
    0xb72e8743 in vfprintf () from /lib/tls/i686/cmov/libc.so.6
    (gdb) bt
    #0 0xb72e8743 in vfprintf (
  • Stuff

    983279·bash·3.8 KB·2008-04-13 06:07 UTC
    def $DEV_WORLD = eth0;
    def $DEV_PRIVATE = eth1;
    def $DEV_DMZ_BOXED = eth2;
    def $DEV_DMZ_PUBLIC = eth3;
    
    def $NET_PUBLIC = (89.250.114.8/29 89.250.126.80/28);
    def $NET_PRIVATE = 172.31.255.64/26;
  • Unnamed

    983278·text·424 B·2008-04-13 06:06 UTC
    on *:text:!kick*:#:{ set %warn. $+ $2 | /kick $chan $2 First warning, Two left, Don't blow them. | inc %warn. $+ $2 }
    if (warn. $+ $2 == 1) { /kick $chan $2 Second warning, one left, Watch it! | inc
  • Stuff

    983277·bash·3.8 KB·2008-04-13 06:06 UTC
    table nat {
     chain POSTROUTING {
     # masquerade private IP addresses
     saddr 172.31.255.68 daddr 137.217.0.0/16 proto udp dport 53 outerface $DEV_WORLD SNAT to 89.250.115.68;
  • Mine

    983270·bash·1.3 KB·2008-04-13 05:51 UTC
    #!/bin/bash
    
    LIVE=
    # Set to some value for live operation
    # ex
    # $LIVE=a
    # the script will move files around
    #
    # $LIVE=
    # the script won't move anything around
    
    PRE_DEST='/media/Data/Share/
  • Mine

    983268·bash·2.1 KB·2008-04-13 05:51 UTC
    #!/bin/bash
    TITLE="`id3tool "$1" | grep '^Song Title:' | awk '{ for (i=3;i<=NF;i++) { printf $i; printf " " } }'`"
    ARTIST="`id3tool "$1" | grep '^Artist:' | awk '{ for (i=2;i<=NF;i++) { printf $i; p
  • Mine

    983266·text·3.5 KB·2008-04-13 05:45 UTC
    Choice of:
    32-bit or 64-bit Windows Vista Ultimate and latest updates.
    32-bit or 64-bit XP with latest service pack and updates.
    64-bit OpenSUSE GNU/Linux, latest version and latest updates.
    
    Thi
  • Something

    983264·text·8.6 KB·2008-04-13 05:41 UTC
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    
    ######################## REQUIRED PATHS ########################
    #music_dire
  • Stuff

    983263·text·3.5 KB·2008-04-13 05:40 UTC
    6.0 Details of the New Node-based Modifier System
    
    6.1 Advantages of the system
    
    Having node-based modifiers would be a new and exciting paradigm for Blender.
    Node systems have the advantage of a
  • Stuff

    983262·text·10.3 KB·2008-04-13 05:39 UTC
    Note: Mention that I'll be able to maintain and improve the system further after the SoC period!!
     1.0 Name
    
    Joseph Eagar
    
    2.0 Contact Info
    
    joeedh@gmail.com
    irc://irc.freenode.net/blenderco
  • Mine

    983258·bash·980 B·2008-04-13 05:32 UTC
    !/bin/bash
    
    $PRE_DEST="/meda/Data/Share/Music/"
    
    for file in *.mp3; do
    SP_TITLE="`id3tool "$file" | grep '^Song Title:' | awk '{ for (i=3;i<=NF;i++) { printf $i; printf " " } }'`"
    TITLE=${SP_TIT

older pastes →