Skip to content

Instantly share code, notes, and snippets.

Avatar
🐐
Goats are cute

Ruandré Janse van Rensburg ruandre

🐐
Goats are cute
View GitHub Profile
@ruandre
ruandre / autoexec.cfg
Last active Aug 1, 2021
Quake III Arena Config 2021
View autoexec.cfg
// see:
// https://github.com/ec-/Quake3e
// https://www.moddb.com/mods/quake-3-4xai-upscale
// https://quakefans.net/quake-iii-arena-on-modern-pcs/
// ~ /exec autoexec.cfg
seta r_mode "-1"
seta r_customwidth "3840"
seta r_customheight "2160"
View awesome-cli.md
@ruandre
ruandre / random-awesome-stuff.md
Last active Sep 6, 2021
Random Awesome Stuff
View random-awesome-stuff.md
@ruandre
ruandre / bspwmrc
Last active Sep 13, 2021
bspwm setup (arrows)
View bspwmrc
#!/bin/sh
# fix cursor
xsetroot -cursor_name left_ptr &
# clear font cache
fc-cache -fv &
# compositor
picom &
@ruandre
ruandre / .bashrc
Last active Sep 13, 2021
Debian/Ubuntu .bashrc
View .bashrc
# fix dir colors in wsl
LS_COLORS+=':ow=01;33'
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
ruandre / Profile.ps1
Last active Aug 2, 2021
PowerShell Profile.ps1
View Profile.ps1
# $Home\Documents\PowerShell\Profile.ps1
Clear-Host
# 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
ruandre / nix.sh
Last active Sep 13, 2021
nix on debian/ubuntu (incl. wsl)
View nix.sh
# info source: https://ariya.io/2020/05/nix-package-manager-on-ubuntu-or-debian
# install these if not already available
sudo get install curl xz-utils
# or (gcc et al, includes xz-utils)
sudo get install curl build-essential
sudo mkdir /nix
sudo chown username /nix # replace username with own
sh <(curl -L https://nixos.org/nix/install) --no-daemon
View Preferences.sublime-settings.json
/*
https://www.sublimetext.com/
Packages:
Advanced CSV
Case Conversion
Color Highlight
Column Select
@ruandre
ruandre / win10-11.md
Last active Sep 13, 2021
After installing Windows 10/11
View win10-11.md

After installing Windows 10/11

Install:

You can use https://uupdump.net/ 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 https://github.com/ventoy/Ventoy 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.
View shell-tips.sh
# 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]