Skip to content

Instantly share code, notes, and snippets.

View nhoening's full-sized avatar
💭
Owner at seita.nl - Data-driven decision software.

Nicolas Höning nhoening

💭
Owner at seita.nl - Data-driven decision software.
View GitHub Profile
import ctypes
import os
import sys
here = os.path.dirname(__file__)
cpath = os.path.abspath(os.path.join(here, "fib.so"))
fiblib = ctypes.CDLL(cpath)
def fib(n):
if n == 0:
@bjonord
bjonord / xps13_crunchbang.markdown
Last active December 21, 2015 05:59
Getting a Dell XPS 13 up and running with Crunchbang(Waldorf), Linux Kernel 3.10.6(or the Ubuntu Sputnik kernel) and Ruby on Rails

Getting a Dell XPS 13 up and running with Crunchbang(Waldorf), Linux Kernel 3.10.6(or the Ubuntu Sputnik kernel) and Ruby on Rails

Update 04/09-2013:

Well the sputnik kernel might have better support for the web camera and some other minor things, but all of a sudden it started crashing over and over again and I was not able to track down the reason. Back on kernel 3.10.6 and it has been running fine since, will keep this gist updated as things progress.

End of updates

I'm currently employed as a Backend developer for an e-commerce company and I received a new laptop to work on, which is a Dell XPS 13. While this laptop comes in a Ubuntu version, the one I received at work was not that model but a core I5 with Win8P.

@francoisTemasys
francoisTemasys / bongo.sh
Last active November 5, 2018 12:12 — forked from smashew/bongo.sh
LOADING=false
usage()
{
cat << EOF
usage: $0 [options] <DBNAME>
OPTIONS:
-h Show this help.
-l Load instead of export