goboom - playing with Go

Victor Häggqvist Feb 02, 2016 0

goboom is wrapper around the dmenu. It is a successor and rewrite of xboomx in Go. This is mostly because I wanted to write some Go. But also writing it in Go with csv-backed storage is likely faster than Python with SQLite.

The point of it is to sort commands according to their launch frequency. In other words - if you launch Chromium and KeePassX all the time - they will appear in the dmenu list of commands first.

Want more on goboom? Check the repo https://github.com/victorhaggqvist/goboom.

go xboomx goboom dmenu

Weekend Hack: Broadcasting all the tiles

Victor Häggqvist Nov 02, 2015 0

So, some weeks ago I watched a talk from The Big Android BBQ by some guys from CyangogenMod, https://youtu.be/RLpDLIIVpRs. They were talking about how to make Android OS hacking more approachable. Specifically about their Platform SDK. They had a demo of how making custom Quick Settings Tiles was pretty much as easy as publishing a notification.

This sounds easy enough, tough with an exam coming up I did put it on my backlog.

With a post from Android Police this Friday (30/10) it was brought to my mind again. The article mentions Quick Settings Tiles in vanilla Android 6.0 M via the hidden System UI Tuner and an app which have implemented it. Though it fails to mention Kevin Coppock who actually did the work of figuring out how it works, as fas as I can tell it is not the same guy at least. Kevin Coppock has it all explained over here, https://medium.com/@kcoppock/android-m-what-s-that-broadcast-tile-for-d1cd3a477a5f. He did also create a library which simplified the task of creating the broadcast Intent need to activate a custom tile, https://github.com/kcoppock/BroadcastTileSupport.

Anyhow, using the CyangogenMod Platform SDK 2 and BroadcastTileSupport I did over the weekend hack together a app that supports both Android M and CM devices (which goes down to at least Lolipop 5.1.1). I call it Such Quick Tiles and it at the moment only lives on my github at https://github.com/victorhaggqvist/SuchQuickTiles, tough it may see its way to the Play Store too.

The main difference in the implementations is that the CM Platform SDK supports icons via Drawables but no longclick action. While AOSP have longclick but icons only via resource id's.

android CyangogenMod cm quick settings tiles


Victor Häggqvist May 21, 2015

A LED command and control thing with an Android client.

View creation LED IoT Raspberry Pi Android Python

Twig: sort-by-field

Victor Häggqvist Mar 05, 2015

A Twig Extension filter to sort an array of entries by the specified field

View creation php twig extension


Victor Häggqvist Jan 01, 2015

A About-page generator for Android

View creation android library

Parsedown v1.0.1

Victor Häggqvist Dec 07, 2014 0

A tiny update of my MODx wrapper for Parsedown. Bumping Parsedown to 1.1.4.

For any changes that actualy matter checkout the Parsedown Changelog.


Compiling KeePassX from source with Auto-Type enabled

Victor Häggqvist Sep 03, 2014 0

tl;dr Install the libXtest package, which on Debian is libxtst-dev. Wasn't it obvious that test is spelled with no e? Not to me atleast.

This is done on a Debian Jessie (aka Testing) machine.

Following will assume you have managed to get KeePassX compile happy. But then when you go in to settings you can't find where to define the global Auto-Typ key.

You might have noticed that during the cmake run libXtest was listed as a optional dependency. If you didn't happen to have it installed KeePassX will compile with Auto-Type functionality disabled. To be able to compile with Auto-Type support install libxtst-dev like so;

sudo apt-get install libxtst-dev

Then you just run cmake and make again to compile with Auto-Type enabled.

keepassx make Auto-Type


Victor Häggqvist Jul 15, 2014

A temperature monitoring application for Raspberry Pi

View creation raspberry pi sensors monitoring php symfony


Victor Häggqvist Jul 14, 2014 0

Display your latset github commit on your site. Use it to show of what you are up to, or just to publicly shame your self in to writing less shitty commit messages.

This is a rewrite of Johan Nilsson's Last Commit Widget but in vanilla js, since there is really no need for jQuery here.

Get it on github, https://github.com/victorhaggqvist/lastcommit.

git js

Parsedown for MODx

Victor Häggqvist Jun 28, 2014 0

In the making of this site I had reacently found http://parsedown.org/ and since the benchmarks of it compared to PHP Markdown 1.3 was prommising I wanted to use it. Therefor I have packaged it for simple use in MODx. The package named simply Parsedown is available through MODx package management system, just search for it. View the project page here


An Image lightbox

Victor Häggqvist Jun 28, 2014 0

Every now and then when creating for the web you are likely to need a fancy slideshow way of displaying images, a lightbox. There is of course lightbox which now a days is lightbox2. But that one didn't really catch me enough, so the search continues. Now lately a couple of months ago I stumbled upon a blogpost by Osvaldas Valutis who apparently had sort of the same experience as me. He equally like me wanted something simple and slick that would give a great experience on any device, touch devices included. To my satisfaction he also provided it!

While his start was great, it was a little inaccessible just lying on his site with a downloadable JavaScript file. But that didn't stop me, as I'm using it on this site. I thought I'd make it some what more accessible. So here it is and passing jshint, which it didn't before. Check it out over here.



Victor Häggqvist Jun 23, 2014

A python command line tool for getting .gitignore files

View creation python

SL Maps

Victor Häggqvist Jun 22, 2014

Easy access to communication maps in Stockholm

View creation sl maps


Victor Häggqvist Mar 30, 2014

A simple way to create QR-cods directly from the omnibar.

View creation html js qr.js


Victor Häggqvist Jan 02, 2014

Think of Link Stack as you bookmarks, but slightly better organized

View creation php symfony