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 python3 | |
| # encoding: utf-8 | |
| """ | |
| I saw a similar script on the homepage of Miguel Grinberg (the Flask book guy), | |
| but he was using webscraping. Here I use simple API calls instead. | |
| The script takes the presentations of a Python conference and orders the | |
| presentations in descending order by the number of youtube views. It | |
| is an indicator about the popularity of a video. |
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
| # moved to https://github.com/jabbalaci/Linux-Voice-issues |
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 python2 | |
| """ | |
| Automate your browser via telnet. | |
| Requirements: | |
| * Firefox | |
| * MozRepl add-on (https://addons.mozilla.org/en-US/firefox/addon/mozrepl/) | |
| - activate the add-on (under Tools -> MozRepl, "Start" and "Activate on startup") | |
| Documentation of gBrowser: |
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
| xBVcONf.jpg | |
| lCOiFrN.jpg | |
| QbFUTKA.jpg | |
| v47ZH4i.jpg | |
| 86mqrYV.jpg | |
| Cvk8T.jpg | |
| FMJmGz4.jpg | |
| lsyYPhu.jpg | |
| Whoctyt.jpg | |
| j28ALSI.jpg |
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 | |
| # encoding: utf-8 | |
| """ | |
| Facebook is recently full of szilvasbukta.com links. However, if | |
| you want to see an image, you must like it. WTF? This script extracts | |
| the hidden image and opens it in your browser (in Firefox, by default). | |
| dropped together by Jabba Laci (jabba.laci@gmail.com) | |
| """ |
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 | |
| """ | |
| Download PyCon US 2012 videos in a multithreaded way. | |
| Requirement: youtube-dl script. | |
| written by Jabba Laci, 2013 (jabba.laci@gmail.com) | |
| http://pythonadventures.wordpress.com/ | |
| PyCon US 2012 videos: http://pyvideo.org/category/17 |
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 requests | |
| from bs4 import BeautifulSoup | |
| import termcolor | |
| BOT_URL = 'http://www.pandorabots.com/pandora/talk?botid=a847934aae3456cb' | |
| def main(): |
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 | |
| """ | |
| Play http://www.google.com/doodles/hurdles-2012 . | |
| Code based on https://gist.github.com/3287367 . | |
| """ | |
| import time | |
| from autopy import key |
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/python | |
| """ | |
| Random Python projects from GitHub. | |
| The first one is a popular one from the Top 100. | |
| The second one is from the rest. | |
| """ | |
| import random |