Skip to content

Instantly share code, notes, and snippets.

View dmp1ce's full-sized avatar
😃
Enjoying life

David dmp1ce

😃
Enjoying life
View GitHub Profile
@dmp1ce
dmp1ce / vultr-ubuntu-15.04-configure
Last active December 19, 2021 17:47
Configure Ubuntu 15.04 for docker-compose and decompose on Vultr.com
#!/bin/bash
# To run from shell:
# bash <(curl -sSL https://gist.githubusercontent.com/dmp1ce/84c31085745101f8c241/raw)
do_config() {
# Make sure to run as root
user="$(id -un 2>/dev/null || true)"
if [ "$user" != 'root' ]; then
@agaviria
agaviria / Ledger_3_commands.dat
Created August 10, 2012 20:03
Collection of ledger-cli commands
# comments example for .dat or .ledger files
@smallexample
; This is a single line comment,
# and this,
% and this,
| and this,
* and this.
# If you have a deeply nested tree of accounts,
# it may be convenient to define an alias, for example:
@dmp1ce
dmp1ce / gist:1508535
Created December 22, 2011 01:45 — forked from sontek/snowjob.sh
Make your terminal snow
#!/bin/bash
LINES=$(tput lines)
COLUMNS=$(tput cols)
declare -A snowflakes
declare -A lastflakes
clear
@sontek
sontek / snowjob.sh
Last active April 5, 2024 06:51
Make your terminal snow
#!/bin/bash
LINES=$(tput lines)
COLUMNS=$(tput cols)
declare -A snowflakes
declare -A lastflakes
clear