New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • 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
  • Something

    983257·text·4.1 KB·2008-04-13 05:31 UTC
    Rainbow Six Vegas 2-Hamachi Fix
    =============================================
    =============================================
    
    There is a little bit of configuration that needs to be done so that
  • Mine

    983256·bash·972 B·2008-04-13 05:30 UTC
    #!/bin/bash
    
    for file in *.mp3; do
    SP_TITLE="`id3tool "$file" | grep '^Song Title:' | awk '{ for (i=3;i<=NF;i++) { printf $i; printf " " } }'`"
    TITLE=${SP_TITLE:0:$((${#SP_TITLE}-1))}
    SP_ARTIST="
  • Nevan

    983255·diff·2.5 KB·2008-04-13 05:28 UTC
    Index: GameObject.cpp
    
    ===================================================================
    
    --- GameObject.cpp (revision 5614)
    
    +++ GameObject.cpp (working copy)
    
    @@ -46,7 +46,7 @@
    
     m_v
  • Mine

    983250·bash·963 B·2008-04-13 05:25 UTC
    #!/bin/bash
    
    for file in *.mp3; do
    SP_TITLE="`id3tool "$file" | grep '^Song Title:' | awk '{ for (i=3;i<=NF;i++) { printf $i; printf " " } }'`"
    TITLE=${SP_TITLE:0:$((${#SP_TITLE}-1))}
    SP_ARTIST="
  • Untitled

    983249·apache·253 B·2008-04-13 05:25 UTC
    VirtualHost configuration:
    127.0.0.1:80 is a NameVirtualHost
     default server cl.local (D:/web/apache/conf/extra/httpd-vhosts.conf:47)
    
     port 80 namevhost cl.local (D:/web

older pastes →