We moved from Wordpress to Hugo!

Categories: our-updates
This site has now been changed, from Wordpress to Hugo! Why? Hugo is fast; It’s easier to maintain; Because, Go; Easier to deploy (no DB to maintain), can easily go serverless; Without a lot of bells and whistles, should be safer (and easier to maintain); Did I mention Hugo is fast? ;) Last post was ages ago, not necessarily will the move generate more posts, but it’ll surely save time without me having to make sure everything around WP was up to date.

Read More →

Raspberry Pi, Fhem and the Philips Hue

Categories: home automation
While searching for other ways to control a set of Philips Hue lights, I found fhem (a GPL’d perl server for house automation). With fhem I can have a huge amount of flexibility on automation rules and combination of devices working together; but for now I’m interested in a quick way to control the lights from outside of my house without using a 3rd party service. For the Raspberry Pi OS, I went with Raspbian .

Read More →

PNG(s) to PDF, the command line way

Categories: Imaging Tips Utilities
A quick tip for command line users: if you want to convert .png files to .pdf: convert *.png filename.pdf Simple! If you want to keep control of page sequence or specific files to convert: convert page1.png page2.png page3.png filename.pdf Needless to say, but I’ll say it anyways, the .pdf won’t be in vector graphics, so not scalable but that is because .png is not a vector graphics format.

Ejabberd on Ubuntu

Categories: Web services
Just keeping a note to self (and others who could find it useful). How to install Ejabberd on Ubuntu server 12.04: aptitude install ejabberd (for some reason apt-get didn’t work out that well); go to wherever you manage your DNS records and add a SVR record as mentioned here; edit /etc/ejabberd/ejabberd.cfg and add admin user as mentioned here . All of these steps are to avoid placing _hosts_ as _localhost_ on your ejabberd.

Read More →

Diff with vimdiff

Categories: Tips Utilities
For those who are vim fans, a quick tip on how to run a diff/merge task: Open the files with: vimdiff file1 file2 file3 – Vertical split is default vimdiff -o file1 file2 file3 – If you’d like horizontal split of files To jump between files: Ctrl-W w To jump places where differences are found: ]c – to see next part of a change [c – to go back to the start of a previous part of a change These are just the quick basics, there are a ton of other commands listed on Vim’s documentation page.

Read More →

Installing CyanogenMod on HTC Desire [Android]

Categories: Android Mobile
I’m tired of waiting for T-Mobile NL to give me FroYo (Android 2.2). Besides, that controlling which apps I can or can’t have access to. So, let’s get to it ourselves! Starting this process I didn’t have the needed warm and fuzzy feeling because the tutorials I found were not so detailed. Which is why I’ll describe step-by-step what I did (actually typing while I’m going through the process myself):

Read More →

Encrypt files with GnuPG

Categories: Tips Utilities
Here is a simple and quick way for you to encrypt files in Linux: gpg –output doc.gpg –encrypt –recipient [email protected] original_file.doc Further explained: –output (or -o) is the name of the encrypted file –recipient (or -r) is the person who will be decrypting the file. If the file is for yourself only, use the email address of your GPG key. To decrypt: gpg --output output_file.doc --decrypt doc.

Read More →

Download YouTube videos (Linux)

Categories: Audio and Video
Want to know how to download a YouTube video? Just go and watch the video! It’ll automatically be downloaded for you. Let me explain further… While you watch the video on the web it is being downloaded for you to your /tmp directory. Try it out: go watch any YouTube video go to /tmp you’ll find a mysterious file name there without any extension reference. Double click and you should see that is is your video.

Read More →

Tip: discover and terminate high CPU processes (Linux)

Categories: Tips
A quick tip to get the dust out of our blog 🙂 If you hear the fan of your computer going way up, most likely that was because some application or process is using too much CPU. Find out which one and terminate it by: Open the terminal Run “top” Press “k” and the number on “pid” column of the process which appears on the top of the list.

Read More →

Gwibber microblogging app now 2.0 [Linux]

Categories: Utilities
Gwibber, an open source microblogging app for Gnome has now reached version 2.0! Although at 2.0, the developers are not considering this a stable release yet and not making it available on the stable distribution channels. What I could notice first from the upgrade was the UI from: to Which means: it is now easier to jump between different accounts (Gwibber supports Identi.ca, Twitter, Facebook, Digg, StatusNet, Flickr and more).

Read More →