View gist:d7393420280a1ac9e1ba

Yank lines 81-91


If your fingers don't like to find the : and , keys, this would work as well (go to line 81, yank 11 lines)


My only use of g is 5gg. To go to the 5th line. 22gg: 22nd line. As jimbo said, it's really only a modifier for some other commands.


On the server with tmux

Create a new tmux session:

tmux new-session -s my-session # launch `top`, `htop`, or anything that will regularly updates, then detach

Stream your session:

View gist:319f36ff30694a775806
# Clone the .vmdk image to a .vdi.
vboxmanage clonehd "virtualdisk.vmdk" "new-virtualdisk.vdi" --format vdi
# Resize the new .vdi image (30720 == 30 GB).
vboxmanage modifyhd "new-virtualdisk.vdi" --resize 30720
# Optional; switch back to a .vmdk.
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk
View gist:e77f7bdcfc35c3ac1357
find . -name 'Dockerfile' -print0 | xargs -0 sed -i -e 's/6.9.1-6/6.9.1-10/g'

Nasjonal Turbase Build status

The National Trekking Database (Nasjonal Turbase) is the Norwegian national
platform to collect, manage, and distribute standardised trekking and outdoor
data from all participants who facilitate outdoor recreation.

| Website | |

if [ -z "$1" ]; then
echo "Usage: ./ x.y.z"
exit 1
# update version in package.json
sed -i '' "s/\"version\":.*/\"version\": \"$1\",/g" package.json
View gist:2425632b88700f712f31
=== release test-keep-alive ===
Path: pummel/test-keep-alive
throw er; // Unhandled 'error' event
Error: spawn wrk ENOENT
at exports._errnoException (util.js:749:11)
at Process.ChildProcess._handle.onexit (child_process.js:1022:32)
at child_process.js:1114:20
at process._tickCallback (node.js:339:13)
View gist:e464b68403e93c47f543
==> default: gpg:
==> default: directory `/root/.gnupg' created
==> default: gpg:
==> default: new configuration file `/root/.gnupg/gpg.conf' created
==> default: gpg:
==> default: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
==> default: gpg:
==> default: keyring `/root/.gnupg/secring.gpg' created
==> default: gpg:
==> default: keyring `/root/.gnupg/pubring.gpg' created
rm -rf $magick_install_dir/*
mkdir -p $magick_install_dir && cd $magick_install_dir
curl -L $magick_download_url | tar -zxf-
cd ImageMagick*