Skip to content

Instantly share code, notes, and snippets.

Annika Backstrom abackstrom

Block or report user

Report or block abackstrom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
abackstrom / GitHub_URL.php
Created Jan 19, 2012
Fetch short URL using
View GitHub_URL.php
class GitHub_URL {
protected $long;
public function __construct( $url ) {
$this->long = $url;
public function long() {
abackstrom / exercise-equivalent-binary-trees.go
Last active Feb 26, 2018
My solution for Go Tour Concurrency Exercise "Equivalent Binary Trees"
View exercise-equivalent-binary-trees.go
package main
import (
// Walk walks the tree t sending all values
// from the tree to the channel ch.
func Walk(t *tree.Tree, ch chan int) {
View gpio.go
package main
// Pinout
// Pibrella (Python)
// go-rpio
import (
abackstrom / gist.go
Last active Feb 24, 2018
This gist was created by the gisted code. Self-gisting! This is the first complete Go program I've ever written.
View gist.go
package main
import (
abackstrom / Makefile
Created Nov 2, 2010
CSS and JavaScript Minification/Compression Makefile
View Makefile
# css/js minification/compression makefile
# JS_TARGETS -- js files to minify/gzip
# CSS_TARGETS -- css files to minify/gzip
# CLEANUP -- additional files to delete during "make clean"
abackstrom / novel
Last active Jun 30, 2017
PHP: Using a child process for text transformations without blocking
View novel
Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation. Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people’s hats off—then, I account it high time to get to sea as soon as I can. This is my substitute for pistol and ball. With a philosophical flourish Cato throws himself upon his sword; I quietly take to the ship. There is nothing surprising in this. If they but knew it, almost all men in their degree, s

Keybase proof

I hereby claim:

  • I am abackstrom on github.
  • I am abackstrom ( on keybase.
  • I have a public key ASD-ihbCAkm3yzj2QzyXcSMqQnEdaWv96J_SYtaF1AXlzwo

To claim this, I am signing this object:

abackstrom / index.phtml
Created Apr 25, 2012
Rendering partials within a layout
View index.phtml


function the_thing() {
    echo "haha CODE";


abackstrom /
Last active Dec 23, 2015
Sample Python server to return formatted data for GeekTool.
#!/usr/bin/env python
# Run this in the background. Poll using netcat:
# $ nc localhost 5005
# Made for use with GeekTool.
You can’t perform that action at this time.