Latest

Writing

Essays and field notes on software, open source, communities, and the systems around them.

Contributions in happy December

Another month passed by, another update. I'll try to keep this on monthly basis: mr.bob does your project skeleton templates. Today I released 0.1a6 which introduces hooks. It allows you to hook into various places of the rendering flow. Before/after a question is asked and before/after rendering of directory structure. It's also a cleanup release before last missing piece is implemented - dependance between templates. I also updated my bobtemplates.ielectric templates to be used with newest mr.bob 0.1a6 release. There are already few packages using it, for example bobtemplates.niteoweb and bobtemplates.kotti.

Read article

Movember contributions

November has been a busy month. Some things I have been involved with (mostly during weekends and evenings): released mr.bob (project skeleton renderer replacing Paste and templer) 0.1a2 and 0.1a3. I'd love more people to try it out. No Python knowledge is needed to write a template. Example: https://github.com/disko/bobtemplates.kotti minor eestec.portal improvements for next generation Plone portal for http://eestec.net wrote kiberpipa.bookshelf (pyramid web application displaying ebook metadata from solr backend) lot's of thinking and talking how to crowdfund our local hackerspace Kiberpipa, since it's lack of money is stopping some really promising projects wrote augeas (config parser translating it to a tree that allows modifications and saving the file in correct format) for bacula (open source backup tool) as part of Almir improvements (web administration for bacula written in pyramid) released webtest 1.4.1, 1.4.2, 1.4.3 (basically just made a release that now supports deform functional testing, and migrated repository from Bitbucket to GitHub) python3 support for buildout recipe hexagonit.recipe.download (needed to properly use zc.buildout on python3 for webtest) released pyramid_jinja2 1.5 backport/deprecate deform.Set in favor of new colander.Set planning second Ljubljana Python User Group meetup Two more blogs posts are planned on topic of mr.bob and zc.buildout. Stay tuned :-)

Read article

Products.TinyMCE 1.3 status update

Products.TinyMCE 1.3 is not ready to be released, but we are advancing: PLIP was submitted by Tom Gross (kudos!) to include Products.TinyMCE 1.3 into Plone 4.3 release. Upcoming Friday (18th of May), Plone tuneup will be focused on fixing TinyMCE bugs and cleaning up the bug tracker. I will attend tuneup and will focus on answering questions regarding Products.TinyMCE. Join #plone-tuneup on irc.freenode.net to participate! Second week of July 2012, another awesome Plone sprint will happen. This year we are traveling to Belgium to do some proper beer driven development. My focus will be Products.TinyMCE and GSOC2012 Pylons Organization work on Substance D. Cheers, Domen

Read article

AutoVPN: auto connect VPN if network is active and reconnect if VPN connection drops

After unsuccessful try on reddit.com, someone pointed me to a Python script that almost did what I wanted. Changed it a bit (works only with NetworkManager 0.9.x branch) and got: https://gist.github.com/1547663 Usage First parameter to script is VPN connection name in NetworkManager and second are comma separated names of networks that should be ignored (using VPN connection at home is useless). clone gist somewhere (eg. git clone git://gist.github.com/1547663.git /home/user/autovpn/) add to /etc/rc.local: python /home/user/autovpn/autovpn.py "myvpn" 'Auto homenetwork,Auto worknetwork' > /var/log/autovpn.log& reboot :-)

Read article

Export content from Chromium History

Since http://ietherpad.com is down and I was notified all data was lost, this ruined my day, since I was already planning for past few weeks to write a script that would do daily backups. There is bright future however. I am migrating to http://titanpad.com, wrote backup script in advance, and also managed to get some data from chrome cache. Here are the steps: on linux, figure out which history Index are you interested in: grep -R ietherpad ~/.chromium/Default/* open it: sqlite3 ~/.chromium/Default/HistoryIndex2011-11 find your page and retrieve data: select * from pages_content where c0url like %ietherpad%

Read article