Tunneling SSH through Restrictive HTTS Proxy
In one of past articles I’ve described how to use HTTP CONNECT method to tunnel other protocols through a proxy. It worked for me for various protocols ( mainly email access IMAP, SMTP), but recently...
View ArticleSubtle evil of close_fds parameter in subprocess.Popen
In python newly created sub-process inherits file descriptors from parent process and these descriptors are left open – at least this was default till python ver. 3.3. subprocces.Popen constructor has...
View ArticleOpenSubtitles provide easy to use API
When working on btclient, I was interested in possibility of downloading a subtitles for a video file, that is played. This seems to be common option in many player. I’ve found that opensubtitles.org...
View ArticleVideo Streaming from File Sharing Servers
As I’ve written video files can be streamed via Bit Torrent protocol. Although responsiveness (time to start, time to seek) is notably worst that in specialized solutions, it is still usable for normal...
View ArticleCheck UPnP port mapping on you router
Most modern SOHO routers (like my Asus) support UPnP IGDP or NAT-PMP protocols to enable hosts on local network to open and map incomming (from WAN) port on router. While these two are different...
View ArticleBeautiful Code History Visualization with Gource
Gource tool offers very nice and appealing visualization of SW project history. Gource works with all major version control systems – git, svn, etc. can be easily installed from Ubuntu repos and is...
View ArticleOpenShift Experiencies
PaaS is happily buzzing in the Cloud and it seems to be hottest topic in the infrastructure services today, so I decided to test Openshift – PaaS offering from Red Hat. Couple of reasons make...
View ArticleTerminal Interfaces in Python
Although there is a fair choice of GUI libraries for Python (good overview of Python GUI libraries is here), sometimes we need just a little bit more enhanced terminal interface, like in my recent...
View ArticleSimple Web Applications Deployment via Git
Git is not only great version control tool, but can be easily used for web application deployment to testing or production environmenst. For more complex projects some continuous integration (CI),...
View ArticleMedia Server For Music And Audio-Books
Having updated my mobile recently (but still staying on Android) to 4G device, I thought that it would be about time to make my audio collection available outside of home network. At home I use samba...
View ArticleOpus Audio Codec for Audio Books And More
Opus is a relatively new lossy audio codec from Xiph Foundation, successor to Vorbis and Speex codecs. It provides very good quality for low bandwidth (<32kbps) streams with speech, but also...
View ArticleWriting Simple Parser in Python
From time to time one might need to write simple language parser to implement some domain specific language for his application. As always python ecosystem offers various solutions – overview of...
View ArticleDo We Trust Cloud Storage For Privacy?
With more generic offerings from cloud storage providers – up to 50GB free, cloud storage is tempting alternative to store some of our data. I have some data, which I really do not want to loose. I...
View ArticleTesting Terminal Apps
Sometimes you need to test a terminal application, which reads user inputs from terminal and prints results to terminal. These tasks are very common in introductory programming courses. Simple testing...
View ArticleDownload Email Attachments Automagicaly
Emails are still one of the most important means of electronic communication. Apart of everyday usage with some convenient client ( like superb Thunderbird), from time to time one might need to get...
View ArticleFarewell Django
Recently I’ve been reviving 2 years old Django application (myplaces) (from version 1.5.5 to latest version 1.9) and I was very unpleasantly surprised how tedious it was. As Django evolved some...
View ArticleOpenshift – Second Thoughts
Openshift Online still remains one of most generous Paas offerings on the market. With 3 free containers it’s really good bargain. Recently I’ve modified couple of my older applications to run in...
View ArticleCython Is As Good As Advertised
I’ve have been aware of Cython for a few years but newer had chance to really test it in practice (apart of few dummy exercises). Recently I’ve decided to look at it again and test it on my old...
View ArticleParsing PDF for Fun And Profit (indeed in Python)
PDF documents are ubiquitous in today’s world. Apart of common use cases of printing, viewing etc. we need sometimes do something specific with them- like convert tehm to other formats or extract...
View ArticleStarting with Aurelia – Pagination with Back and Sort
I do not like very much programming of User Interfaces (UIs) and frankly spoken I’m not very good at that, but alas sometimes UIs are necessary so I have to try my best. Many recent applications use...
View Article