I hereby claim:
- I am gauteh on github.
- I am gauteh (https://keybase.io/gauteh) on keybase.
- I have a public key whose fingerprint is C138 2FA5 1FB3 93D0 AD28 4BAF 9827 A7E8 A074 9023
To claim this, I am signing this object:
# based on ipython issue #101 | |
# | |
# author: Gaute Hope <[email protected]> / 2015 | |
# | |
# references: | |
# | |
# https://github.com/ipython/ipython/issues/101 | |
# http://ipython.org/ipython-doc/dev/config/custommagics.html | |
# |
I hereby claim:
To claim this, I am signing this object:
// from: http://www.thinkwiki.org/wiki/Problem_with_unauthorized_MiniPCI_network_card | |
// cross compile using (install gcc-multilib): | |
// $ linux32 | |
// $ gcc -m32 -static -o no-1802 no-1802.c | |
#include <stdio.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> |
Moved to: https://github.com/gauteh/ibcao_py |
Moved to: https://github.com/gauteh/ibcao_py |
using System; | |
using System.Collections.Generic; | |
class Digits { | |
static int get_digits (decimal d) { | |
if (d < 1) { | |
return 0; | |
} else { | |
return 1 + get_digits (d / 10); | |
} |
#! /bin/bash | |
# | |
# do a quick check if there are new messages in a gmail account | |
# | |
# based on: http://cpbl.wordpress.com/2011/11/16/how-to-alpine-maildir-offlineimap/ | |
# | |
# Gaute Hope / 2013-12-13 / [email protected] | |
# | |
# requires: curl | |
# |
# /bin/bash | |
# | |
# Makes a sparsebundle and set it up | |
hostname=$(hostname) | |
# create sparsebundle | |
hdiutil create -size 300g -library SPUD -fs HFS+J -type SPARSEBUNDLE -volname "Backup-${hostname}" "${hostname}.sparsebundle" | |
# enable unsupported volumes |
[alias] | |
pullify = config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*' |
#! /bin/bash | |
# A module for lbdb (http://www.spinnaker.de/lbdb/) for gmail | |
# using goobook. | |
# Copyright (C) 2013 Gaute Hope <[email protected]> | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or |