Connect to Jekyll running locally from a mobile device

I use Github pages to host my website, which in turn uses the Jekyll framework. I run my website locally for development via: bundle exec jekyll serve Which starts up a server listening on localhost:4000. But I can’t seem to connect to it from a mobile device in the same LAN. This StackOverflow answer mentions […]

Using Folding@home

Folding@home is a software that relies on volunteers to run a distributed computation. To offer your idle CPU time, go to Start folding Choose your platform and download the “client” and “all” version. For Ubuntu, I got: fahclient_7.5.1_amd64.deb fahcontrol_7.5.1-1_all.deb You can install them graphically. The second one installs an GUI application that shows up in […]

Fixing emacs install path

I’ve recently switched from macports to brew. Things that were previously installed using macports were not working properly. For example emacs, $brew list emacs Returned the following: But emacs, linked to /usr/local/bin/emacs was not linked to /usr/local/Cellar/emacs/24.4/bin/emacs The fix was running $brew link emacs But before that I had to fix permissions to /usr/local/share/emacs which […]

Mercurial Templating

It’s possible to customize how the log output looks like using hg. We can use inline templates as in: hg log –template “{rev}” {rev} is called a “keyword” and it gets replaced by the actual value when we do hg log. The list of keywords can be seen here. Alternatively we can define our style […]