All pastesPublic feed

Public feed

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

    2111024·text·119 B·2012-02-08 04:21 UTC
    n = 20
    s = xrange(11,20)
    while True:
     if all(n % i == 0 for i in s):
     print n
     break
     n += 20
  • Something

    2111022·text·125 B·2012-02-08 04:19 UTC
    switch(age){
     case 2: cout << “toddler” << endl;
     case 3:
     case 4:
     case 5: cout << “early childhood” << endl;
  • Someone

    2111021·text·1.9 KB·2012-02-08 04:15 UTC
    ipv6_enable="NO"
    ipv6_network_interfaces="none"
    ipv6_activate_all_interfaces="NO"
    ip6addrctl_enable="NO" # Set to YES to enable default address selection
    ip6addrctl_verbose="NO" # Set to YES to en
  • Something

    2111020·text·1.0 KB·2012-02-08 04:14 UTC
    /**
     * Problem a3c1p1
     * Written by: Scott Giles
     * Program Description: A 2 player game. Both players input a number 1-5.
     * If the total of both nubmers if even, player 1 wins.
     * If
  • Someone

    2111019·text·389 B·2012-02-08 04:12 UTC
    ipv6_enable="NO"
    ipv6_network_interfaces="none"
    ipv6_activate_all_interfaces="NO"
    ip6addrctl_enable="NO" # Set to YES to enable default address selection
    ip6addrctl_verbose="NO" # Set to YES to en
  • Something

    2111018·text·819 B·2012-02-08 04:11 UTC
    /* Name: Brennen Cox
     Project: A3C1P1
     Description: Stating who wins the even odd game.*/
    #include <iostream>
    using namespace std;
    int main()
    {
     int p1, p2, total, total1;
     cout
  • Something

    2111012·text·798 B·2012-02-08 03:25 UTC
    function ssl_modcheck() {
     HOSTNAME=$1
     KEYFILE="/etc/ssl/${HOSTNAME}_key"
     CERTFILE="/etc/ssl/${HOSTNAME}_crt"
     OPENSSL_CHK_KEY="pp | openssl rsa -modulus -noout -passin fd:0 -in ${KEYFILE}"
     O
  • Something

    2111011·text·852 B·2012-02-08 03:20 UTC
    function ssl_modcheck() {
     HOSTNAME=$1
     KEYFILE="/etc/ssl/${HOSTNAME}_key"
     CERTFILE="/etc/ssl/${HOSTNAME}_crt"
     OPENSSL_CHK_KEY="openssl rsa -modulus -noout -in ${KEYFILE}"
     OPENSSL_CHK_CERT="o
  • Mine

    2111006·text·50 B·2012-02-08 03:18 UTC
    https://undangan.snmptn.ac.id/school/category/2308
  • Something

    2111005·text·824 B·2012-02-08 03:13 UTC
    function ssl_modcheck() {
     HOSTNAME=$1
     KEYFILE="/etc/ssl/${HOSTNAME}_key"
     CERTFILE="/etc/ssl/${HOSTNAME}_crt"
    
     if [ -f "${KEYFILE}.nopass" ] && [ -f "${KEYFILE}" ]; then
     if [ $(stat -c %Y "
  • Something

    2110999·text·895 B·2012-02-08 03:02 UTC
    function ssl_modcheck() {
     HOSTNAME=$1
     KEYFILE="/etc/ssl/${HOSTNAME}_key"
    
     if [ -f "${KEYFILE}.nopass" ] && [ -f "${KEYFILE}" ]; then
     if [ $(stat -c %Y "${KEYFILE}.nopass") -gt $(stat -c %Y "
  • Miscellany

    2110998·text·1.6 KB·2012-02-08 02:53 UTC
    term: f2009 
    term: w2010
  • Untitled

    2110996·text·23.9 KB·2012-02-08 02:39 UTC
    ipod-touch:/ root# find . -type f -exec file {} \; | grep armv5
    ./bin/[ (for architecture armv5): Mach-O executable arm
    ./bin/bash (for architecture armv5): Mach-O executable arm
    ./bin/cat (for arc
  • yup

    2110987·text·5 B·2012-02-08 00:54 UTC
    gsfsd
  • wps2key

    2110985·python·9.9 KB·2012-02-08 00:52 UTC
    #!/usr/bin/env python
    
    from sys import argv, stderr, exit
    from getopt import GetoptError, getopt as GetOpt
    import hashlib
    
    try:
     from scapy.all import *
    except Exception, e:
     print 'Failed to
  • wps2key

    2110982·python·9.9 KB·2012-02-08 00:40 UTC
    #!/usr/bin/env python
    
    from sys import argv, stderr, exit
    from getopt import GetoptError, getopt as GetOpt
    import hashlib
    
    try:
     from scapy.all import *
    except Exception, e:
     print 'Failed to
  • Float magic

    2110980·csharp·2.2 KB·2012-02-08 00:26 UTC
    [StructLayout(LayoutKind.Explicit)]
     public struct IncrementableFloat
     {
     [FieldOffset(0)]
     int mAsInt;
     [FieldOffset(0)]
     float mAsFloat;
    
     public
  • Float magic

    2110979·csharp·645 B·2012-02-08 00:20 UTC
    [StructLayout(LayoutKind.Explicit)]
     public struct IncrementableFloat
     {
     [FieldOffset(0)]
     int mAsInt;
     [FieldOffset(0)]
     float mAsFloat;
    
     public
  • Dread Knight

    2110974·php·394 B·2012-02-07 23:22 UTC
    <?php
    $menu = array("wuala"=>"http://wuala.com", "blender"=>"http://blender.org", "gimp"=>"http://gimp.org", "mypaint"=>"http://mypaint.intilinux.com", "alchemy"=>"http://al.chemy.org");
    foreach ($m
  • wps2key

    2110973·python·9.9 KB·2012-02-07 23:12 UTC
    #!/usr/bin/env python
    
    from sys import argv, stderr, exit
    from getopt import GetoptError, getopt as GetOpt
    import hashlib
    
    try:
     from scapy.all import *
    except Exception, e:
     print 'Failed to

older pastes →