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 lxml.html import fromstring, tostring | |
from pprint import pprint | |
from inspect import getmembers | |
from more_itertools import unique_everseen | |
form_page = fromstring(open('postProduct.html').read()) | |
form = form_page.forms[0] | |
def printlabel(v): |
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
// Complile: | |
// clang -o gittumouse gittumouse.c -framework ApplicationServices | |
#include <ApplicationServices/ApplicationServices.h> | |
static CGRect screenBounds; | |
// callback for mouse click. | |
CGEventRef | |
myCGEventCallback(CGEventTapProxy proxy, CGEventType type, |
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
__gittu_tab_title () | |
{ | |
TABTITLE=${PWD##*/} | |
if [ $PWD == $HOME ] ; then | |
TABTITLE="~" | |
fi | |
echo $TABTITLE | |
} | |
export PROMPT_COMMAND='echo -ne "\033]0;$(__gittu_tab_title)\007"' |
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
foo = 'bar' |
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
7z(1) - A file archiver with highest compression ratio | |
7za(1) - A file archiver with highest compression ratio | |
7zr(1) - A file archiver with highest compression ratio | |
Axel(1) - A light download accelerator for Linux | |
Cdt(3) - container data types | |
FIGlet(6) - display large characters made up of ordinary screen characters | |
GDBM(3) - The GNU database manager. Includes dbm and ndbm compatability. (Version .) | |
Git(3pm) - Perl interface to the Git version control system | |
Git::I18N(3pm) - Perl interface to Git's Gettext localizations | |
Git::SVN::Editor(3pm) - commit driver for "git svn set-tree" and dcommit |
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
7z(1) - A file archiver with highest compression ratio | |
7za(1) - A file archiver with highest compression ratio | |
7zr(1) - A file archiver with highest compression ratio | |
Axel(1) - A light download accelerator for Linux | |
Cdt(3) - container data types | |
FIGlet(6) - display large characters made up of ordinary screen characters | |
GDBM(3) - The GNU database manager. Includes dbm and ndbm compatability. (Version .) | |
Git(3pm) - Perl interface to the Git version control system | |
Git::I18N(3pm) - Perl interface to Git's Gettext localizations | |
Git::SVN::Editor(3pm) - commit driver for "git svn set-tree" and dcommit |
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
7z(1) - A file archiver with highest compression ratio | |
7za(1) - A file archiver with highest compression ratio | |
7zr(1) - A file archiver with highest compression ratio | |
Axel(1) - A light download accelerator for Linux | |
Cdt(3) - container data types | |
FIGlet(6) - display large characters made up of ordinary screen characters | |
GDBM(3) - The GNU database manager. Includes dbm and ndbm compatability. (Version .) | |
Git(3pm) - Perl interface to the Git version control system | |
Git::I18N(3pm) - Perl interface to Git's Gettext localizations | |
Git::SVN::Editor(3pm) - commit driver for "git svn set-tree" and dcommit |
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
server { | |
listen 80; | |
server_name fonts.googleapis.com themes.googleusercontent.com; | |
root /Users/sarim/Sites/php55/; | |
index app_dev.php index.html index.htm; | |
location / { | |
fastcgi_pass unix:/usr/local/var/run/php55.sock; | |
fastcgi_index index.php; |
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
filename=$1 | |
SOURCE1="../a" | |
SOURCE2="../c" | |
TARGET="deploy" | |
PFILE="config.ini" | |
###################################### | |
if [ -d $SOURCE1 ]; | |
then | |
SOURCE=$SOURCE1 |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Data> | |
<Series> | |
<id>83462</id> | |
<Actors>|Nathan Fillion|Stana Katic|Molly C. Quinn|Jon Huertas|Seamus Dever|Tamala Jones|Susan Sullivan|Ruben Santiago-Hudson|Monet Mazur|</Actors> | |
<Airs_DayOfWeek>Monday</Airs_DayOfWeek> | |
<Airs_Time>10:00 PM</Airs_Time> | |
<ContentRating>TV-PG</ContentRating> | |
<FirstAired>2009-03-09</FirstAired> | |
<Genre>|Drama|</Genre> |