Skip to content

Instantly share code, notes, and snippets.

View mkotsbak's full-sized avatar

Marius B. Kotsbak mkotsbak

  • Webstep A/S Trondheim
  • Trondheim, Norway
  • X @mkotsbak
View GitHub Profile
@mkotsbak
mkotsbak / main.py
Last active September 22, 2016 19:39 — forked from timothyklim/main.py
import clang.cindex
import os, textwrap, StringIO
from clang.cindex import Config, Index, CursorKind
clib_scalanative_path = '/Users/timothyklim/Development/scala-native/clib/src/main/scala/scala/scalanative/libc'
scalatypes_map_dict = {
"int": "CInt"
"void": "Unit",
# Mostly from django-fab-deploy
import os
import sys
from datetime import datetime
from subprocess import Popen, PIPE
import yaml
from fabric.api import env, run, sudo, task
@mkotsbak
mkotsbak / LICENSE.txt
Created February 20, 2012 14:04 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE