Skip to content

Instantly share code, notes, and snippets.

Goats are cute

Ruandré Janse van Rensburg ruandre

Goats are cute
View GitHub Profile
ruandre /
Last active Oct 17, 2021
nix on debian/ubuntu (incl. wsl)
# info source:
# install these if not already available
sudo apt install curl xz-utils
# or (gcc et al, includes xz-utils)
sudo apt install curl build-essential
sudo mkdir /nix
sudo chown username /nix # replace username with own
sh <(curl -L --no-daemon
# mostly "notes to self" as I occasionally forget
# system info
uname -a
# search for a process
ps aux | grep [something]
# immediately terminate process
kill -9 [pid]
ruandre / Profile.ps1
Last active Oct 5, 2021
PowerShell Profile.ps1
View Profile.ps1
# $Home\Documents\PowerShell\Profile.ps1
# Install-Module PSReadLine -Scope CurrentUser
# Install-Module posh-git -Scope CurrentUser
# Install-Module oh-my-posh -Scope CurrentUser
# Install-Module -AllowClobber Get-ChildItemColor -Scope CurrentUser
# Install-Module Terminal-Icons -Scope CurrentUser
# Install-Module ZLocation -Scope CurrentUser
# Install-Module -AllowClobber Pansies -Scope CurrentUser
ruandre /
Last active Oct 1, 2021
Random Awesome Stuff
ruandre / boiler.html
Last active Sep 21, 2021
HTML Boilerplate
View boiler.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- <meta name="robots" content="noindex,nofollow"> -->
<meta name="description" content="">
<meta name="theme-color" content="#fff">
ruandre / settings.json
Last active Sep 21, 2021
Windows Terminal
View settings.json
// shortcuts:
// ctrl+tab cycle tabs
// ctrl+shift+t new tab
// ctrl+shift+w close tab
// alt+shift+d split
ruandre /
Last active Sep 13, 2021
After installing Windows 10/11

After installing Windows 10/11


You can use to build up an ISO file (even from Linux or Mac, the options enable you to keep the file size down) and just drop into and you're good to go.

If you're already running Windows you can do "Reset this PC" for a more convenient ISO download option.

Personal preference:

  • Disconnect from the internet before install.
ruandre / .bashrc
Last active Sep 13, 2021
Debian/Ubuntu .bashrc
View .bashrc
# fix dir colors in wsl
alias q='exit'
alias upup='sudo apt update && sudo apt upgrade -y'
alias ls='clear && ls --color=auto'
alias ll='clear && ls --color=auto -alhF'
alias lll='clear && ls --color=auto -alhF *'
ruandre / bspwmrc
Last active Sep 13, 2021
bspwm setup (arrows)
View bspwmrc
# fix cursor
xsetroot -cursor_name left_ptr &
# clear font cache
fc-cache -fv &
# compositor
picom &