Recent Pads - Page 30

Total pad count: 612
created 5 years, 263 days ago
8291a4b5-193b-4b8b-be93-f5f74eaa3b2a

Not shown: 991 closed ports
PORT     STATE    SERVICE
22/tcp   open     ssh
80/tcp   open     http
135/tcp  filtered msrpc
139/tcp  filtered netbios-ssn
443/tcp  open     https
... view all 11 lines

created 5 years, 270 days ago
2d09df13-c11f-4da7-8330-0f83efae45b8

what
who
now?
... view all 3 lines

created 5 years, 279 days ago
fcb818ee-19be-46d3-a9d4-221c3a109d86

from random import shuffle, randrange
from collections import defaultdict

print "init..."

max = 10000001

... view all 20 lines

created 5 years, 282 days ago
python-twitter-friend-vs-follower

from time import sleep
import json
import requests
# easy_install requests or pip install requests

APIURI = "https://api.twitter.com/1"

... view all 82 lines

created 5 years, 282 days ago
build-cve-report-from-redhat

import sys
from subprocess import call
from BeautifulSoup import BeautifulSoup
from os import remove

def print_report( cvelist ):

... view all 69 lines

created 5 years, 282 days ago
generate-random-passwords-in-python

def generate_password( size = 9 ):
    """Return a system generated password"""
    from string import letters, digits
    from random import choice
    pool = letters + digits
    return ''.join( [ choice( pool ) for i in range( size ) ] )
... view all 6 lines

created 5 years, 282 days ago
build-amanda-disk-list

# make_disklist.py # amanda disklist
from datetime import datetime, date, timedelta

def prev_month_bounds( when=None ):
    """Return previous month's ( first date, last date )"""
    if not when: when = datetime.now()

... view all 21 lines

created 5 years, 289 days ago
python-set-a-filepath

from os import path

filepath = filename
if save_dir: 
    filepath = os.path.join(save_dir, filepath) 

"""
... view all 15 lines

created 5 years, 289 days ago
python-test-for-trailing-slash-in-path

    if not save_dir:
        filepath = filename
    elif save_dir.endswith('/'):
        filepath = save_dir + filename
    else:
        filepath = save_dir + '/' + filename
... view all 6 lines

created 5 years, 290 days ago
60e4dc39-1cf2-459b-a3fd-0135f49527c1

peca
teca checa
... view all 3 lines

created 5 years, 290 days ago
tedicopuba

import sqlite3
c = sqlite3.connect(':memory:')
c.row_factory = sqlite3.Row
for row in c.execute('select 1 as foo, 2 as bar'):
    print dict(row)
... view all 5 lines

created 5 years, 292 days ago
python-bingo

from random import choice

if __name__ == '__main__':

    pool = {}
    history = {}

... view all 34 lines

created 5 years, 292 days ago
java-bingo

import java.util.HashMap;
import java.util.Random;
import java.util.Set;

// needed for user input
import java.util.Scanner;

... view all 91 lines

created 5 years, 292 days ago
8b2a9a47-cb65-4a14-bd2e-b2c0a8bcd14d

import java.security.MessageDigest;
import java.math.BigInteger;

// signup for an APIKEY here: https://linkpeek.com/signup

class Api_v1 {
    /***LinkPeek.com API v1 helper class***/
... view all 40 lines

created 5 years, 297 days ago
3ff533b2-6d2f-4f1a-930b-b5b8d718321f

current cost per share 8.81

2524.40 / 7.04 = 353 shares

new share count 353 + 267 = 620

new cost per share (2524.40 +2352)/620.0 = 7.86 per share
... view all 17 lines

created 5 years, 304 days ago
77c6946c-a37e-4434-a71f-5db505110dcd

current cost per share 8.81


2524.40 / 7.04 = 353 shares



... view all 13 lines

created 5 years, 309 days ago
pad-yohdah-styleheet

body {
  background-color: #002B36;
  background-color: #1c4e63;
  color: #f9f9f9;
  font-size: 18px;
  font-family: monospace;
  margin: 0px;
... view all 111 lines

created 5 years, 318 days ago
python-bread-object

#
# This code is public domain, No license, completely unrestricted and without warranty
# russell.ballestrini.net
#

class Bread( object ):
    """
... view all 67 lines

created 5 years, 321 days ago
httphdweweb4comusersalbuterol

def delta2dict( delta ):
    """return dictionary of delta"""
    return { 
        'year'   : delta.days / 365 ,
        'day'    : delta.days % 365 ,
        'hour'   : delta.seconds / 3600 ,
        'minute' : (delta.seconds / 60) % 60 ,
... view all 24 lines

created 5 years, 323 days ago
48a30d12-0edb-4b09-a321-cc0d796c81f9

VARNISh DIDN:T BREAKL ANYthoing>>> 

 I"MASD SURE IT IS A BIT fasteR>>>

  OH WELLS
... view all 5 lines

pages 1 .. 28 29 30 31