Skip to content

Instantly share code, notes, and snippets.

View slode's full-sized avatar
💭
I may be slow to respond.

Stian Lode slode

💭
I may be slow to respond.
  • boost.ai
  • Stavanger, Norway
View GitHub Profile
@cassinaj
cassinaj / qt5-ubuntu14.04
Created November 10, 2015 19:25
Docker file qt5-ubuntu:14.04 wit QT5
FROM ubuntu:14.04
MAINTAINER Jan Issac <jan.issac@gmail.com>
# Use noninteractive debconf frontend
ENV DEBIAN_FRONTEND noninteractive
# Update
Run apt-get update
@cslarsen
cslarsen / v
Created March 19, 2015 08:00
Usage: v <some file>:lineno or v <somefile> +lineno or <somefile> lineno (i think)... searches for files and opens them in vim
#!/usr/bin/env python
"""
Starts vim with several possible input formats.
Examples:
v foo/bar/baz.c # full correct path
v baz.c # finds baz.c and edits the first
v baz.c:123 # same but start at line 123
v baz.c +123 # same as above