Robert Lujo's Homepage

May 12

Answering questions on Stackoverflow

The last few days I was answering questions on stackoverflow - mainly related to python and db2. It came out a bit addictive. Now I have 20 answers, raised my reputation to 449 and reached top 10% this week :).

Check my profile at http://stackoverflow.com/users/565525/robert-lujo .

Jan 18

Destructuring assignment / tuple unpack in Python - by examples

Destructuring assignment (a.k.a. tuple unpack) in Python, seems to be very useful thing. The most basic variant:

»> x,y = 1,2
»> x,y
(1, 2)

what is identical to:

»> x, y = [1,2]
»> x, y = (1,2)

Read More

Dec 15

permset - utility for *nix permissions mgmt based on patterns - release 0.22

Permset is simple standalone utility script to manage *nix permissions on file and directory trees based on patterns. New release 0.22 contains following improvements:

Dec 11

permset - utility for mgnt of *nix permissions based on patterns

I had just released 0.20 version of permset.

Permset is simple standalone utility script to manage *nix permissions on file and directory trees based on patterns.

Check the example session to get into the idea behind.

Sep 24

Twitter incremental backup in YAML format - python, HTML get and parse

I use Twitter primarly as a bookmarking service.

I know that Twitter is not bookmarking service and there are specialized services for such needs. In my case, using this way started as an experiment, but later I found this way very convenient.

I wrote a script that enables me to incrementally backup all my tweets in a textual file in YAML format, by parsing HTML Twitter pages. Explanation and the script follows …

Read More

Sep 08

Mercurial branches - ‘named branches’ way - prefered way to do it?

Mercurial provides many ways to do branch based development. I was searchingfor the best in-repo branch solution. I chose named branches …

Read More

Jan 09

How to count characters, bytes and words in Vim

The article provides some information and tips on the subject: how to count characters, bytes and words in Vim.

Read More

Jan 05

Go on windows tutorial (#golang)

Recently I invested some time to learn about new and popular language Go. I wanna give a test-drive, and since I have Windows XP and there is no GO official windows Go port, I needed to do some manual work.

Read More

Oct 24

Tubmlr per-tag RSS feed

Tubmlr supports tagging. This post is tagged with “tumblr”. The page that lists all posts tagged with “tubmlr” is:

Although the page provides RSS feed:

this is not per-tag feed, you RSS feed for all posts :(.

Solution

Hopefully there is solution, RSS feed that provides only posts tagged with tag “tumblr” is:

And it works !!!