- cat
- echo
- date
- sleep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sh import ifconfig, git, cd, touch, wc, find, ps, tail, ls, mkdir | |
def iface_info(iface='wlan0'): | |
print(ifconfig(iface)) | |
def create_git_repo(path): | |
mkdir(path, p=True) | |
cd(path) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import unicode_literals | |
from datetime import datetime | |
WHOLE_NOTE = "\U0001D15D" | |
HALF_NOTE = "\U0001D15E" | |
QUARTER_NOTE = "\U0001D15F" | |
EIGHTH_NOTE = "\U0001D160" | |
WHOLE_REST = "\U0001D13B" | |
HALF_REST = "\U0001D13C" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
from optparse import OptionParser | |
usage = """%prog : convert java app to an equivalent in python code. | |
usage : %prog PROGRAM""" | |
parser = OptionParser(usage=usage) | |
(options, args) = parser.parse_args() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2 | |
# coding=utf-8 | |
import csv | |
import datetime | |
import codecs | |
import smtplib | |
import traceback | |
import os.path | |
from email.mime.text import MIMEText |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2 | |
""" | |
XDCC package list retriever | |
Ugly quick hack by Gregory Eric Sanderson Turcot Temlett MacDonnell Forbes | |
Sends a search request to a XDCC Parser server (http://xdccparser.is-fabulo.us) and returns a list of packs. | |
Requires python2.6 and python-spidermonkey (http://github.com/davisp/python-spidermonkey) | |
""" | |
import sys, urllib, spidermonkey, json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HAI 1.2 | |
HOW DUZ I HOLLAR YR LOLZ | |
VISIBLE LOLZ | |
IF U SAY SO | |
HOW DUZ I SING YR BEER | |
HOLLAR SMOOSH "I CAN HAZ " AN BEER AN " BOTLEZ O BEER ON TEH WAL !1!!ONE!!" | |
IF U SAY SO | |
HOW DUZ I SING_MOAR YR BEER | |
BEER R DIFF OF BEER AN 1 | |
HOLLAR SMOOSH "TAEK ONE DAOWN AN PASS ITZ ARAOUND " AN BEER AN " BOTLEZ ON TEH WAL !!1!!!1!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import urllib | |
import smtplib | |
import time | |
from HTMLParser import HTMLParser | |
from email.mime.text import MIMEText | |
SERVER = "smtp.gmail.com" | |
PORT = 587 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from html.parser import HTMLParser | |
from urllib import request | |
import os.path | |
import re | |
import json | |
import sys | |
class ImgListScraper( HTMLParser ): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$BASE_URL = "http://131.137.250.85/cgi-bin/qweb.dll"; | |
$SCRIPT_NAME = basename(__FILE__); | |
function send_request($url, $body=null) { | |
$query = parse_url($url); |
OlderNewer