All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • de_island v0.0.2

    2074930·text·32.5 KB·2011-06-05 07:43 UTC
    
        
  • Mine

    2074917·text·311 B·2011-06-05 06:33 UTC
    list = []
    
    def palindrome? n
     a = n.to_s.split('').map {|x| x.to_i}
     b = 0
     i = 0
     a.each do |m|
     b += m*10**i
     i += 1
     end
     b == n ? n : nil
    end
    
    (100..999).each do |n|
     m = n
     while
  • Untitled

    2074913·text·4.4 KB·2011-06-05 06:19 UTC
    if ($1 == !top10) {
     if (%top.antispam != $null) { halt }
     else { 
     if ($userread($nick,ident) == no) { .notice $Nick Before using any commands, please identify! | halt }
     set -u
  • Miscellany

    2074873·text·580 B·2011-06-05 04:15 UTC
    #include <stdio.h>
    #include <string.h>
    
    int main(int argc,char **argv) 
    {
     char input[100];
     unsigned int nr_subst, nr_elem; 
    
     printf("Give your input:"); scanf("%s", input);
     nr_elem =
  • Stuff

    2074869·python·485 B·2011-06-05 04:05 UTC
    class Car(object):
     __slots__ = ("color", "gastank", "engine")
     
     def __init__(self):
     self.color = "red"
     self.gastank = Tank(100)
     self.engine = Engine()
    
    class
  • Stuff

    2074868·text·485 B·2011-06-05 04:04 UTC
    class Car(object):
     __slots__ = ("color", "gastank", "engine")
     
     def __init__(self):
     self.color = "red"
     self.gastank = Tank(100)
     self.engine = Engine()
    
    class
  • Stuff

    2074867·text·468 B·2011-06-05 04:04 UTC
    class Car(object):
     __slots__ = ("color", "gastank", "engine")
     
     def __init__(self):
     self.color = "red"
     self.gastank = Tank(100)
     self.engine = Engine()
    
    class
  • Something

    2074865·text·1.3 KB·2011-06-05 04:02 UTC
    // cookie.js file
    var cookieToday = new Date(); 
    var expiryDate = new Date(cookieToday.getTime() + (365 * 86400000)); // a year
     
    /* Cookie functions originally by Bill Dortsch */
     
    function set
  • Someone

    2074864·text·3.5 KB·2011-06-05 03:59 UTC
    <?php
    /**
     * @package NAMC
     * @subpackage NAMC_Theme
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html lang=
  • Someone

    2074861·text·3.1 KB·2011-06-05 03:52 UTC
    <?php
    /**
     * @package NAMC
     * @subpackage NAMC_Theme
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html lang=
  • Someone

    2074857·text·3.2 KB·2011-06-05 03:37 UTC
    <?php
    /**
     * @package NAMC
     * @subpackage NAMC_Theme
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html lang=
  • goear

    2074856·bash·1.1 KB·2011-06-05 03:35 UTC
    #!/bin/bash
    
    if [[ $1 != '-l' && $1 != '-d' && $1 != '--help' ]]
    then
     echo "Error, use goear-script --help para ayuda"
    fi
    
    fileid=`echo $2 | cut -d '/' -f 5`
    xmlurl="http://www.goear.com/trac
  • Something

    2074855·text·3.2 KB·2011-06-05 03:35 UTC
    <?php
    /**
     * @package NAMC
     * @subpackage NAMC_Theme
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html lang=
  • Mine

    2074851·text·2.3 KB·2011-06-05 03:31 UTC
    [23:23] <ToastyJustice> You'll also have to be up to regular doses of humor and sarcasm
    [23:23] <LONG_PTR> alright
    [23:23] <LONG_PTR> lets do this
    [23:23] <LONG_PTR> if tony hawk had no games
    [23:
  • Untitled

    2074849·text·335 B·2011-06-05 03:22 UTC
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    freenode:#bitcoin-otc:a9ec2cb9890e6eb7b308d6cf6ce84e8790845425753c2ecbecd2b680
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.11 (GNU/Linux)
    
    i
  • goear

    2074848·bash·1.0 KB·2011-06-05 03:19 UTC
    #!/bin/bash
    
    if [[ $1 != '-l' && $1 != '-d' && $1 != '--help' ]]
    then
     echo "Error, use goear-script --help para ayuda"
    fi
    
    fileid=`echo $2 | cut -d '/' -f 5`
    xmlurl="http://www.goear.com/trac
  • Unnamed

    2074846·text·2.9 KB·2011-06-05 03:14 UTC
    root@socratesxd-desktop:/home/socratesxd# ldd /usr/games/teeworlds
     linux-gate.so.1 => (0xb7786000)
     libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7758000)
     libz.so.1 => /usr/lib/libz.so.1
  • Unnamed

    2074841·html·3.4 KB·2011-06-05 03:06 UTC
    와와카-지-노◈다모아카-지-노
    " ▶와와카-지-노◈다모아카-지-노▒ ㉿ ♣ ━━( ‥ HTTP://WwW.EkEK77.COM‥ )━━ ♣ [Y((×&#65103;×)P]∵인터밀란을>-<와와카-지-노◈다모아카-지-노>-<㉿ ㉿이끄는 감독이 21일 새벽(한국시각) 토튼햄과 ‘2010-11 UEFA챔피언스리그∵>-<와와카-지-노◈다모아카-지-노>-< ㉿ ♣
  • goear

    2074840·bash·1.0 KB·2011-06-05 03:05 UTC
    #!/bin/bash
    
    if [[ $1 != '-l' && $1 != '-d' && $1 != '--help' ]]
    then
     echo "Error, use goear-script --help para ayuda"
    fi
    
    fileid=`echo $2 | cut -d '/' -f 5`
    xmlurl="http://www.goear.com/trac
  • Unnamed

    2074837·cpp·310 B·2011-06-05 02:59 UTC
    bool editingWindow = false;
    
    typedef struct{
     unsigned int r, g, b, a;
    } Color;
    
    Color Black;
    
    Black.a = 255;
    Black.r, Black.g, Black.b = 0;
    
    bool createQuad(double top_l, double top_r, dou

older pastes →