Skip to content

Instantly share code, notes, and snippets.

View rasschaert's full-sized avatar

Kenny Rasschaert rasschaert

View GitHub Profile
@rasschaert
rasschaert / Avengrant.bash
Last active February 8, 2019 15:42
Some superhero-themed bash functions for making interaction with Vagrant more fun. Just place these in your ~/.bashrc
# Alternative to vagrant destroy
# Example usage: $> hulk smash -f vm1
hulk() {
if [[ $1 == "smash" ]]; then
shift
vagrant destroy $@
fi
}
# When you use caps, -f is implied
# Example usage: $> HULK SMASH
@rasschaert
rasschaert / Vagrantfile
Last active December 19, 2015 11:19
An example Vagrantfile with settings I often use.
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
###############################################################################
# Base box #
###############################################################################
config.vm.box = "chef/centos-6.5"
@rasschaert
rasschaert / README.md
Last active December 17, 2015 19:19
Cylon Centurion / KITT

Cylon Centurion / KITT in Arduino

About

This Arduino sketch controls a series of ten leds similar to the visor of a Cylon Centurion or Knight Rider's car, KITT. Pressing the button cycles through different speed settings.

Cylon KITT

@rasschaert
rasschaert / oneliners.bash
Last active October 13, 2015 08:37
Bash oneliners
######################################
# Collection of handy bash oneliners #
######################################
# License: CC0 (http://creativecommons.org/publicdomain/zero/1.0/)
# To the extent possible under law, Kenny Rasschaert has waived all copyright and related or neighboring rights to Bash oneliners.
# This work is published from: Belgium.
# fast rsync
rsync -av --compress-level=9 --progress -e 'ssh -C -c arcfour256,arcfour128,arcfour,blowfish-cbc' /home/user/stuff remote:~/
@rasschaert
rasschaert / Preferences.sublime-settings
Created November 28, 2012 07:05
My Preferences.sublime-settings
{
"font_face": "DejaVu Sans Mono",
"font_size": 10,
"color_scheme": "Packages/Color Scheme - Default/Spectacular.tmTheme",
"theme": "Phoenix Dark.sublime-theme"
"phoenix_color_expanded_folder": true,
"phoenix_color_red": true,
"phoenix_dirty_bottom_bar": true,
"phoenix_eighties": true,
"phoenix_highlight_current_tab": true,
@rasschaert
rasschaert / .gitconfig
Last active September 29, 2015 13:08
My .gitconfig
[user]
name = Kenny Rasschaert
email = kenny@inuits.eu
[core]
editor = vi
autocrlf = input
safecrlf = true
pager = less -F -X