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
def _getregex(self): | |
""" | |
The RegexObject that is used for finding substrings in the source name | |
that should be replaced by substitute. | |
You may set this property either to a RegexObject or to a string. The | |
latter will automatically be supplied to re.compile(). | |
Defaults to '[A-Za-z0-9.-]'. | |
""" |
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
for i in $(seq 1 47); do curl -O -L http://www.mazemod.org/index.php/playlist/$i.zip; done |
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
cd .vim/bundle/; git clone https://github.com/vim-scripts/AutoClose.git; cd |
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
svn commit -m"$(lynx -dump http://whatthecommit.com/ | head -n 1)" |
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
#!/bin/bash | |
#cron jobs have no env... | |
export PATH=/bin/:/usr/bin | |
# removes all snapshots that have not been accessed in the last 7 days | |
rm -r $(find /home/pcrun/.m2/repository -name *SNAPSHOT* -atime +6) |
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
Day job: Software Engineer in the digital mapping world | |
Favorite Python project: ipython | |
Favorite Conference: chaos communication congress | |
Python Experience Level: using it professionally since ~8 years |
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
Day job: | |
What is your language of choice: | |
Open Source contributions: | |
How do you use GitHub: |
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
curl http://search.twitter.com/search.json?q=bacon | |
{"completed_in":0.104,"max_id":143439177940344833,"max_id_str":"143439177940344833","next_page":"?page=2&max_id=143439177940344833&q=bacon","page":1,"query":"bacon","refresh_url":"?since_id=143439177940344833&q=bacon","results":[{"created_at":"Sun, 04 Dec 2011 21:18:59 +0000","from_user":"FeehS2oares","from_user_id":299967673,"from_user_id_str":"299967673","from_user_name":"OMundoTahUmaMerda","geo":null,"id":143439177940344833,"id_str":"143439177940344833","iso_language_code":"it","metadata":{"result_type":"recent"},"profile_image_url":"http://a2.twimg.com/profile_images/1422770518/Foto-0055_normal.jpg","source":"<a href="http://twitter.com/">web</a>","text":"@biellinguiti A @fabis_boldrin N GOSTA DE BACON MAN O----O'","to_user":"biellinguiti","to_user_id":235009068,"to_user_id_str":"235009068","to_user_name":"Gabriel Coronado","in_reply_to_status_id":143438901808340992,"in_reply_to_status_id_str":"143438901808340992"},{"created_at":"Sun |
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
$ curl http://search.twitter.com/search.json?q=bacon | python -m simplejson.tool | |
{ | |
"completed_in": 0.081, | |
"max_id": 143440344770555905, | |
"max_id_str": "143440344770555905", | |
"next_page": "?page=2&max_id=143440344770555905&q=bacon", | |
"page": 1, | |
"query": "bacon", | |
"refresh_url": "?since_id=143440344770555905&q=bacon", | |
"results": [ |
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
$ qs . | |
starting lighttpd at 0.0.0.0:8000. use ctrl-c to stop. | |
your URLs are | |
http://127.0.0.1:8000/ | |
http://192.168.111.6:8000/ | |
--------------------------------------- | |
2011-12-05 21:56:14: (log.c.166) server started |
OlderNewer