Skip to content

Instantly share code, notes, and snippets.

joepvd / Makefile
Last active August 29, 2015 14:18 — forked from isaacs/Makefile
View Makefile
# Hello, and welcome to makefile basics.
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
# Once you're done here, go to
# to learn SOOOO much more.
View help-gnu.zsh
# Love you, GNU. But got a bit tired of this conversation pattern:
# % ln -h
# ln: invalid option -- 'h'
# Try 'ln --help' for more information.
# Don't worry. I fixed you for me.
# Eternally yours,
joepvd /
Last active September 5, 2017 10:27 — forked from gshutler/
Update Rubygems for all rbenv rubies
#! /usr/bin/env bash
set -e
eval "$(rbenv init -)"
for version in `rbenv whence gem`; do
rbenv shell "$version"
echo "Updating rubygems for $version"
gem update --system --no-rdoc --quiet
View xevkeys
# No more peck and hunt with xev!
# By Joep van Delft,
xev |
awk '
FS="[ (),]+"
fmt = "%-7s %-4s %-6s %s\n"
printf fmt, "action", "code", "sym", "name"
printf fmt, "-------", "----", "------", "----"
joepvd /
Created March 20, 2019 19:27

Keybase proof

I hereby claim:

  • I am joepvd on github.
  • I am jvd ( on keybase.
  • I have a public key ASB4IUFMBtQ7BO6tcK67Dh6luXEjqvDvLOekTQnL6nIH4go

To claim this, I am signing this object:

joepvd / pre-commit
Created November 19, 2021 13:30
Pre commit hook for ocp-build-data
View pre-commit
#!/usr/bin/env bash
set -euo pipefail
# git remote prune origin
originating_branch() {
local i branch
View fix-output
#!/usr/bin/env bash
home_monitor() {
echo "Setting single monitor">/dev/stderr
xrandr \
--output DP-1 --primary --mode 3840x2160 --pos 0x0 --rotate normal \
--output eDP-1 --off \
--output HDMI-1 --off \
--output DP-2 --off \
--output HDMI-2 --off
joepvd /
Last active March 13, 2023 21:01

git update

For automatically rebasing current branch to freshly fetched origin branch, and rebase local branches with upstream changes.

joepvd / review-release-config
Last active May 17, 2023 07:01
Review release configuration
View review-release-config
#!/usr/bin/env python
import requests
from ruamel import yaml
import sys
versions = ["4.7", "4.8", "4.9", "4.10", "4.11", "4.12", "4.13", "4.14"]
def get_data():
joepvd /
Last active September 15, 2023 19:00
open-urls: Open a bunch of links in a new browser window


Open a bunch of links in a new browser window