Skip to content

Instantly share code, notes, and snippets.

@nickbruun
nickbruun / keybase.md
Created February 15, 2015 22:32
Keybase proof

Keybase proof

I hereby claim:

  • I am nickbruun on github.
  • I am bruun (https://keybase.io/bruun) on keybase.
  • I have a public key whose fingerprint is 9B01 6FF3 9150 CB32 2F83 85BD 40C3 C64D 13B2 87CC

To claim this, I am signing this object:

@nickbruun
nickbruun / Makefile
Created August 22, 2014 13:07
Go project Makefile template
##
# Project configuration.
#
# Packages for binaries is expected to be located in
# src/$(PROJECT)/bin/$(BINARY). By default, distributions are built for i386
# and AMD64 on Linux as well as AMD64 on Darwin.
PROJECT :=
PACKAGES :=
BINARIES :=
LIBRARIES :=
@nickbruun
nickbruun / description.md
Last active August 29, 2015 13:56
Docker issue

The following Dockerfile:

FROM ubuntu:12.04
RUN apt-get update -y
RUN apt-get install -y openssh-server supervisor curl build-essential libxml2-dev libxslt-dev git libcurl4-openssl-dev
RUN curl -L https://www.opscode.com/chef/install.sh | bash

Results in the final step returning:

Step 4 : RUN curl -L https://www.opscode.com/chef/install.sh | bash

@nickbruun
nickbruun / gist:4470494
Created January 6, 2013 21:48
Named template arguments
/**
* Simple meta programming based addition.
*/
template<int LHS = 1000, int RHS = 500>
struct MetaProgrammingAddition
{
static constexpr int Result()
{
return LHS + RHS;
@nickbruun
nickbruun / gist:1163658
Created August 22, 2011 21:32 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away

Day job: developer at 23 on the 23 Video product in Copenhagen, Denmark

Favorite Python project: cherrypy, a simply elegant and no-bullshit HTTP implementation, that makes it an absolute piece of cake to write simplistic web services -- especially RESTful ones!

Favorite Conference: Only attended a few, but from observations, Future of Web Apps seems very appealing! That being said, a more code centric conference like CodeConf does seem extremely appealing, although being a native C/C++ guy, I'd love some more of that in a code conference ;)

Python Experience Level: Intermediate - I have written a couple of the internal 23 Video services in Python, and even though I was initially agains