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
* About to connect() to www1.wkdown.info port 80 (#0) | |
* Trying 63.141.242.78... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected | |
* Connected to www1.wkdown.info (63.141.242.78) port 80 (#0) | |
> GET /fs3/file.php/M994ATR.html HTTP/1.1 | |
> User-Agent: curl/7.27.0 | |
> Host: www1.wkdown.info | |
> Accept: */* |
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
* About to connect() to aaa.17domn.com port 80 (#0) | |
* Trying 142.54.184.238... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected | |
* Connected to aaa.17domn.com (142.54.184.238) port 80 (#0) | |
> GET /bt9/file.php/MERH77V.html HTTP/1.1 | |
> User-Agent: curl/7.27.0 | |
> Host: aaa.17domn.com | |
> Accept: */* |
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 | |
"""Solarized theme for gnome-terminal | |
see http://ethanschoonover.com/solarized | |
""" | |
import posixpath | |
from optparse import OptionParser | |
import gconf | |
BASE03 = '#002B36' |
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
// GistID: 4601612 | |
package main | |
import ( | |
"fmt" | |
) | |
type Fetcher interface { | |
// Fetch returns the body of URL and | |
// a slice of URLs found on that page. |
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
Unpacking ./python-wapiti | |
Running setup.py egg_info for package from file:///home/daniel/src/python-wapiti | |
file wapiti.py (for module wapiti) not found | |
package init file 'pywapiti/__init__.py' not found (or not a regular file) | |
Installing collected packages: python-wapiti-bindings | |
Running setup.py install for python-wapiti-bindings | |
file wapiti.py (for module wapiti) not found | |
package init file 'pywapiti/__init__.py' not found (or not a regular file) | |
file wapiti.py (for module wapiti) not found |
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
Unpacking /home/daniel/src/python-wapiti | |
Running setup.py egg_info for package from file:///home/daniel/src/python-wapiti | |
file wapiti.py (for module wapiti) not found | |
package init file 'pywapiti/__init__.py' not found (or not a regular file) | |
Installing collected packages: python-wapiti-bindings | |
Running setup.py install for python-wapiti-bindings | |
file wapiti.py (for module wapiti) not found | |
package init file 'pywapiti/__init__.py' not found (or not a regular file) | |
file wapiti.py (for module wapiti) not found |
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
Unpacking /home/daniel/src/python-wapiti | |
Running setup.py egg_info for package from file:///home/daniel/src/python-wapiti | |
file wapiti.py (for module wapiti) not found | |
Installing collected packages: python-wapiti-bindings | |
Running setup.py install for python-wapiti-bindings | |
file wapiti.py (for module wapiti) not found | |
file wapiti.py (for module wapiti) not found | |
building 'pywapiti._wapiti' extension | |
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Iwapiti/src -Ilibwapiti/src -I/usr/include/python2.7 -c wapiti/src/bcd.c -o build/temp.linux-x86_64-2.7/wapiti/src/bcd.o |
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 distutils.core import setup, Extension | |
setup( | |
name='wapiti', | |
version='0.1', | |
py_modules=['wapiti'], | |
description="Python bindings for libwapiti", | |
long_description="", | |
author="Adam Svanberg", | |
author_email="[email protected]", |
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
# GistID: 4636013 | |
def grpkey(): | |
idx = 0 | |
def _key(e): | |
print idx | |
if e: | |
idx += 1 | |
return idx |
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
#!/bin/bash | |
# GistID: 4693361 | |
rm -rf scrapyd | |
git clone scrapy scrapyd | |
( | |
cd scrapyd | |
git remote rm origin | |
echo 0.7 0.7-rc1 0.8 0.9 0.9-rc1 0.10-rc1 |xargs git tag -d | |
git filter-branch \ | |
--prune-empty \ |