Skip to content

Instantly share code, notes, and snippets.

View pvdvreede's full-sized avatar

Paul Van de Vreede pvdvreede

  • Melbourne, Australia
View GitHub Profile
{
"version": 1,
"notes": "",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "dztech/dz60rgb_ansi/v2",
"keymap": "pv-custom-3",
"layout": "LAYOUT_60_ansi",
"layers": [
[
"KC_GESC",
@pvdvreede
pvdvreede / docker-compose.yml
Last active May 18, 2018 04:23
etcd docker
---
version: '2.3'
x-etcd: &etcd
image: quay.io/coreos/etcd:v3.2.17
networks:
- etcd
x-environment: &env
ETCD_LISTEN_PEER_URLS: "http://0.0.0.0:2380"
@pvdvreede
pvdvreede / configuration.nix
Last active June 3, 2017 05:25
NixOS Configuration
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
let
in
{
@pvdvreede
pvdvreede / install.sh
Last active December 4, 2017 00:53
Arch Linux setup
#! /bin/bash
set -eu
install_partition=$1
# confirm we have internet
ping google.com
# make sure clock is up to date
@pvdvreede
pvdvreede / aliases.fish
Last active March 1, 2016 09:43
fish aliases
# git
alias 'gst' 'git status'
alias 'gco' 'git checkout'
alias 'gd' 'git diff'
alias 'gdc' 'git diff --cached'
alias 'glol' "git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
# docker
alias 'fig' 'docker-compose'
@pvdvreede
pvdvreede / install.sh
Last active December 26, 2015 04:49
Debian and Awesome setup
#! /bin/bash
apt-get update
apt-get upgrade -y
apt-get install -y xorg awesome awesome-extra
# clean up
apt-get autoclean
apt-get autoremove
@pvdvreede
pvdvreede / xmobar.hs
Last active December 24, 2015 10:49
Xmonad config at work
-- xmobar config used by Vic Fryzel
-- Author: Vic Fryzel
-- http://github.com/vicfryzel/xmonad-config
-- This is setup for dual 1920x1080 monitors, with the right monitor as primary
Config {
font = "xft:Fixed-8",
bgColor = "#000000",
fgColor = "#ffffff",
position = Static { xpos = 0, ypos = 0, width = 1050, height = 16 },
@pvdvreede
pvdvreede / Procfile
Last active December 17, 2015 03:39
Update support_helpdesk from v1.0 to v2.0
web: unicorn -c /var/redmine/src/config/unicorn.rb -E PRODUCTION
email_worker: RAILS_ENV=production bundle exec rake support:fetch_pop_emails host=xxx username=xxxx password=xxx every=60
ruote_worker: RAILS_ENV=production bundle exec rake support:run_email_worker
@pvdvreede
pvdvreede / setup.sh
Created May 13, 2012 22:03
Ubuntu base setup
apt-get update
apt-get upgrade -y
ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime