This file contains hidden or 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 python | |
import getpass, mechanize, optparse, os.path, sys | |
parser = optparse.OptionParser() | |
parser.add_option('--login') | |
parser.add_option('--password') | |
parser.add_option('--filename') | |
parser.add_option('--description') | |
parser.add_option('--private', action='store_true', default=False) |
This file contains hidden or 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="language" content="en" /> | |
<meta name="description" content="description goes here" /> <!-- no more than 160 characters --> | |
<meta name="keywords" content="keyword phrases, separated by commas and spaces" /> <!-- no more than 12 keyword sets --> | |
<title>CSS Wireframe</title> | |
<style type="text/css"> | |
/*Global*/ |
This file contains hidden or 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
0007talent1 | |
000bela000 | |
001Helena | |
002gumdrop | |
006suzi | |
007MikiMoto | |
007NewYearsEveGala | |
007babykeke | |
007candytrojan | |
007morgenstern |
This file contains hidden or 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
""" | |
http://code.activestate.com/recipes/577982-recursively-walk-python-objects/ | |
A small function that walks over pretty much any Python object and yields the | |
objects contained within (if any) along with the path to reach them. I wrote it | |
and am using it to validate a deserialized data-structure, but you can probably | |
use it for many things. | |
Example use: In one configuration mechanism I implemented, there exists an | |
UNCONFIGURED sentinel that marks configuration items that are required but |
This file contains hidden or 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 python | |
""" | |
http://c.sente.cc/DyHJ/telecommuting_jobs.html | |
input: http://code.activestate.com/recipes/577979-show-all-the-telecommuting-jobs-from-the-python-jo/ | |
outputs: http://c.sente.cc/DyHJ/telecommuting_jobs.html | |
""" |
This file contains hidden or 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
import os,sys,imaplib | |
""" | |
imap_search_passwd.py | |
~~~~~ | |
quick and dirty script which reports if your email's password exists in any of your emails | |
stu@sente ~ $ export GPASS=XXXXXXX | |
stu@sente ~ $ python imap_search_passwd.py stuart.powers | |
('OK', ['77342 77574 78131 78730 79621 80649 82111 83729 85190 87322']) |
This file contains hidden or 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 email.utils import formatdate | |
from datetime import datetime, timedelta, tzinfo | |
""" | |
prints the current time and time from three hours ago in RFC 2822 (email) format | |
stu@sente ~ $ python rfc2822.py | |
Wed, 21 Dec 2011 16:45:46 -0500 | |
Wed, 21 Dec 2011 13:45:46 -0500 | |
""" |
This file contains hidden or 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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1.4.10 (GNU/Linux) | |
mQINBE8BYQ8BEAC9KcnzINrE4gUqa/etnlQ52QZspN/xUOBFDqzcaWJaGqOjDLjr | |
C1FKhE9IKzPYP6NNuNYTmg6GiHFO/57gVBJcuViELSeqBLMgVxvODP6y2rCfhvm1 | |
ZqDh2LqoMPS6ku0ALG4af39UmoFIEA8I/mMUpjNWqcQybQj0UENroA4oGBK5uVTx | |
TdNTs1ChxbudE7mKxzMYs7hXrdgPkEklM1dx348Dly5Q/Vhcl5kcX6rXz9cgKKZT | |
NN++vCR/7186SzyZevr7AMBuqj7fZpe72XALZ0N+OKPyRdjwDkIRDfS38wnhztro | |
9og+QfXIrxTo7qGNigSEv/i4aWeZADZ+Dc/3e71fN1mbEyVELBp0k8kL01IA2xqF | |
hKAmc/IiwWR7PB6RJ9vWBEhIfCWgXEJOgn3X82Szqh3bLvC6JpTRcNcnpWX8f4m+ |
This file contains hidden or 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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEA2LAJgNaC00GV4wXjzxCZNEgxLrmSQSyCzf24tpSP1KYRNEWFiisQSr/xpqH9879Vxz8DEBUpZjAmk5ckpTmPKlmplIYwXGiWf97Kwgf3rh1H4PPnut7eoso75gHcDFa0co8IcfuW6MvfExXEQ8Mej9szrBCmE44QA3S1hARErDOdDZlyucCErGq6LeQwL6p/PldqK6/IdkUyMSFlJh+PV8R6wgm6BwHGMy4P/990GnNoRPbE7kawrda1oBMT27Ev+qcA/eXaEgIFOmD1Ajl+BWj8a0lBA1q+ubMMyDrbPKbGA+OM36OszCXwzAXy5X/yJy89MFc71fMRSgxBju6cBlMAhqC0Ja1TSQuggIvmoKtGfiHiN/DohguLWFjUjl6Z/lgSMPCYSCbggicirARxkNwjCFl8ZJd8MqWye3lHABdwFEoMVC+WpfVOSoBIeacBStusi0S0ktfqB0qXkg4AEQ+2Kklxq0Yy+oCg7rfs6EV1yY8Fud3C4oksFB4ydaGLies3KD39+JY3xz5Bb90R96dg/WyQTASMHQY29fvcwXnOcQaCG2MpjRig1exZugmZXp/J7r4kDTkZ6fYTprW8lY5GZOiPqdBVfP7rFsblT9mh+gB4nsrFN52cO0h/IV/ofd1Qa44JHLpWmpsras8ndYlEQGr7ICbhMpmfl4vYscc= [email protected] |
This file contains hidden or 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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1.4.9 (GNU/Linux) | |
mQINBE8BmkcBEACTyDy+Iz9Ps7daUK6ACYTCScMdV0uA8Nh6b6g5msmFxI8Z/vop | |
dxEjnCqvn1pz4E3lKJ6gBs1Wd5aYVP5e5t8u/uPVy2FChLGg1UmvSLMDGoEGo69l | |
Q32deScOv2moOMeKvkcYQ7/nPwKw0UoBRjg7vdlWelW6saBdUDnXYeHZyxoHW1jw | |
JUzk/9M9aDiQo+8rFTLm7qr3+eSnDu/FsWPmeOWZCFnjR4DF3IWOMRLxeVCB+szH | |
h+2KNDCE9Du6mcoWskxqsa9oqE7j7KT0SizgmbXZa1OqR1IyoGL2P7fXQ8e3mpMp | |
grDeMrrU4fLXxmi/xPHizqtdA3B6w7rkuHfAdgHeeh481gWQrgfhgI4fcezqgv9s | |
/kMaYj79ZjdW27De7iHUItsA8zWgyfpUzKIcIjASEsoIgULTfhR3CekztPdtw5Qk |