Skip to content

Instantly share code, notes, and snippets.

View bruvik's full-sized avatar
🛴
I may be slow to respond.

Anders Bruvik bruvik

🛴
I may be slow to respond.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bruvik on github.
  • I am bruvik (https://keybase.io/bruvik) on keybase.
  • I have a public key ASBboGQht03SODD09IsEe-Gf4W701NBuBliGAhcVw_4YMgo

To claim this, I am signing this object:

dscl /Search read /Users/$USER AuthenticationAuthority | egrep -o "[A-Z0-9._%+-]+@[A-Z0-9.-]+\.(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)"
bash-3.2# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
INFO global: Vagrant version: 1.2.2
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/package/plugin.rb
// small program to verify if rename() or remove() is working
#include <stdio.h>
#include <errno.h>
int main(int argc, char *argv[] )
{
FILE *fp;
int error;
@bruvik
bruvik / dafgu_filter.txt
Created September 16, 2012 11:41 — forked from MagerValp/dafgu_filter.txt
rsync wrapper script
- .DS_Store
- /Shared
- /Guest
- /*/Library/Application Support/SyncServices/data.version
- /*/Library/Application Support/Firefox/Crash Reports
- /*/Library/Caches
- /*/Library/Logs
- /*/Library/Mail/Envelope Index
- /*/Library/Mail/Envelope Index-journal
- /*/Library/Mail/AvailableFeeds
@bruvik
bruvik / hack.sh
Created March 31, 2012 17:29 — forked from rustymyers/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@bruvik
bruvik / Makefile
Created March 4, 2011 07:40
Build local user on Mac OS X using the luggage.
# Luggage recipe to create a package that creates a local user
# (C) 2011 Anders Bruvik
# a.s.bruvik@usit.uio.no
#
include /usr/local/share/luggage/luggage.make
# Edit the following parameters:
PACKAGE_VERSION=1.0.0
REVERSE_DOMAIN=no.uio