Dark themes everywhere

I have come to really appreciate dark themes in the programs that I use. Be it any of my Android devices or my real computers, I prefer dark themes. In Emacs, it’s as easy as M-x load-theme wombat. And wombat is probably my current favourite dark theme. Dark greys combined with nice shades of blue, green and red. This entire web site is (at the time of this post) presented in the wombat colors.

Read more

Getting Adblock to work in Conkeror

Conkeror supports firefox addons to varying degrees. I found that a good indicator is if the addon has support for Firefox 3. This means you can use Adblock 2.0. But, the GUI for selecting a filter subscription will not show. Hence the need to install Adblock 1.3 first. To get Adblock up and running in Conkeror, do the following: In your rc-file, set: javascript session_pref("xpinstall.whitelist.required", false); Go to Adblock versions.

Read more

How to convert your project to Gradle

To follow up my last post, here are some practical advice if you are interested in moving to Gradle and Android Studio. Once you’ve set up a working gradle build, all you have to do is select “Import Project” in Android Studio and it will sort everything out. Compare that to importing projects in Eclipse which is a pure nightmare. Root directory and settings file This is important if your project is split into several libraries.

Read more

Implementing Org-mode synchronization in NoNononsense Notes

Over the last year, several people have asked me add support this and that synchronization alternative. It sounds easy enough but it’s actually quite a complicated thing. As I’m now implementing support for Org-mode, I thought I’d write a bit about the process. Getting notified about changes To allow for editing tasks both in the app and in the files directly, the synchronization service will have to monitor both the database and the fileystem.

Read more

NoNonsense FilePicker

Source on GitHub Extendable for other sources Can select multiple items Directories or files Create directory in the picker Yet another file picker library? I needed a file picker that had two primary properties: Easy to extend: I needed a file picker that would work for normal files on the SD-card, and also for using the Dropbox Sync API. Able to create a directory in the picker.

Read more