In the next few posts I'll show you multy-threaded script to search info in PasteBin and similar resources and save it to your hard drive. Also I'll show you how great python is: simple video player in hundred lines of code or little bit more. And I'll start open-source project on github in which you can participate and commit. It will be CCTV server and client written with Python and Gstreamer.
Python Social Coding
Friday, October 26, 2012
Monday, October 22, 2012
Pastebin Console Script
So, another one cool and simple script for today. I wrote very minimalistic script to post your files to pastebin right from console. I didn't want it to grow large so it can not identify file type. I hope it won't be hard for you to implement this feature. Also there are many options you can pass to script. You can pass only file you want to upload and mode: anonymous(actually it 'guest', but you can also implement anon mode, I'll show how to do it) or not.
Simple Twitter Bot
So OK, after long interruption I'm here again and ready to show some cool stuff. I want to show you very minimalistic twitter bot, that can do few things. First, it can grab most popular hash tags, trends. Second, It can post the most popular trend of the day. First of all you need to create new twitter app here Twitter Dev.
Thursday, September 6, 2012
P.S.
Some words about tools. I use Linux (Ubuntu) but most examples will work excellent on Windows or Mac machines without any problems. If any, leave a comment so I could fix it. I prefer scripting languages for simplicity, power and speed of development and prototyping. My favorite is Python, so bigger part of scripts in posts will be written in Python. But sometimes I'll post examples in Lua & Ruby. If I wouldn't but you want to see it, plz leave a comment. If you will need some additional libraries to run the script I'll provide all the links so you can install them.
The first link you would better be familiar with is virtualenv - the utility that creates virtual environment for your scripts so that you won't harm your system libraries.
http://www.virtualenv.org/en/latest/index.html
The first link you would better be familiar with is virtualenv - the utility that creates virtual environment for your scripts so that you won't harm your system libraries.
http://www.virtualenv.org/en/latest/index.html
Wednesday, September 5, 2012
So ok, let's make some magic :)
Today we spent more time in web then in real life. Blogging, micro-blogging, social-networking, liking, sharing and so on is great part of our everyday life. We don't write letters, we chat... we don't watch TV, we have YouTube... And in this blog I'll show you how to adjust social opportunities to your personal needs. Thanx.
P.S. First series of posts will be about twitter. I like it the most.
Subscribe to:
Posts (Atom)