Skip to content

Instantly share code, notes, and snippets.


Marius van Witzenburg mariusvw

View GitHub Profile
View gist:61551f6aa9bc5a9b091806142c6a7b3e
mariusvw / git-completion.tcsh
Created Jul 5, 2018 — forked from kohenkatz/git-completion.tcsh
Source this file in your .tcshrc to get git command completion. Original source is but WordPress's WSYIWYG editor messed it up and I cleaned it up.
View git-completion.tcsh
# Source this script in tcsh to setup shell completions
# for git. Completions are activated by typing or Control-D
# in the shell after entering a partial command.
# Usage:
# source git-completion.tcsh (e.g. in ~/.cshrc)
# Supported completions:
# git (lists git commands)
# git help (lists git commands)
mariusvw / pedantically_commented_playbook.yml
Created Jul 5, 2018 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
# ^^^ YAML documents must begin with the document separator "---"
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
View vnet-vimage-iohyve.txt
### Welcome! ###
# iohyve is an all in one quick start for utilizing built-in FreeBSD and ZFS
# tools for managing bhyve guests. iohyve acts much like @pannon's iocage and it's
# inspiration is drawn from it's ideas. iohyve's aim is to get a solid basis of how bhyve
# will interact with iocage's ideas. This includes resource limiting/management, store data in
# zfs proprieties, vnet, and UUID's in addition to creation, starting, stopping, and destroying
# live guests. Snapshoting and other features might be better saved for iocage integration.
# Big thanks to @pannon and @skarekrow for all their help, their code, and patience. :)
mariusvw / minecraft.yml
Created Jul 5, 2018 — forked from pol/minecraft.yml
Minecraft Ansible Playbook
View minecraft.yml
# Minecraft Server Ansible Playbook
# Author:: Pol Llovet (<>)
# Copyright 2013, Montana State University
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
mariusvw / .A how to display Irssi-hilights in OS X Notification Guide: how to make irc messages in a screen on a remote server appear in your Mac OS X Lion Notification Center with the help of terminal-notifier
View .A how to display Irssi-hilights in OS X Notification

Irssi in Mac OS X Notification Center

Mou icon


This guide will explain how you can make irc messages in a screen on a remote server appear in your Mac OS X Lion Notification Center with the help of terminal-notifier.

We will also explain how the process can be automatically started each time you log in to your Mac and ensure the connection to the server is kept alive.

View five_minutes.yml
- hosts: all
ubuntu_common_deploy_user_name: deploy
- ~/.ssh/
mariusvw / nixbuild.yml
Created Jul 5, 2018 — forked from tomster/nixbuild.yml
Ansible playbook to build nix on FreeBSD
View nixbuild.yml
- hosts:
- nixhost
- name: Ensure dependency packages are installed
name: "{{item}}"
state: present
mariusvw / gist:87e6f51afd0efd52320238b8f4c278c2
Created Jul 5, 2018 — forked from tomster/gist:7585211
bootstrap a freebsd 9.2 host with ansible. it requires a password for the root user to be set for which it will prompt you (-k). you must use the paramiko transport to allow password based login. based on
View gist:87e6f51afd0efd52320238b8f4c278c2
# run this with ansible-playbook -i ansible_hosts bootstrap.yml -k -c paramiko
- hosts: jails_host
gather_facts: false
remote_user: root
- name: install pkgng
raw: "pkg_info | grep -v 'pkg-' > /dev/null ; if $? pkg_add -r pkg; rehash ; pkg2ng; echo 'WITH_PKGNG=yes' >> /etc/make.conf; echo 'packagesite:' >> /usr/local/etc/pkg.conf; pkg update ; pkg upgrade -y"
- name: install python27
raw: "pkg install -y python27"
mariusvw / install.bash
Created Jul 5, 2018 — forked from anlutro/install.bash
Simple Laravel 4 deployment using git hooks and shell scripts
View install.bash
#!/usr/bin/env bash
set -e
# function to easily determine if a set of programs and files are available.
function deploy_programs_available {
local programs=(npm bower grunt)
local files=(package.json bower.json Gruntfile.js)
for p in ${programs[@]}; do