This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Place this in the folder where you git clone AUR repos | |
# Make it executable and just run it in place. | |
# Doesn't always succeed you still need to monitor the output | |
# and fix things when they break. | |
for dir in */; do | |
echo "$dir" | |
cd "$dir" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs a list of dependencies. | |
# First tries to install from official repos then tries to install from AUR | |
# Place in the folder where you store AUR packages and run on a list of deps | |
# example: ./get_deps.sh 'libluv' 'libtermkey' 'libuv' 'libvterm-0.1' 'luajit' | |
for dep in "$@" | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs a given list of AUR packages | |
# Place in the folder where you want to clone your AUR packages | |
# Has to be a folder with nothing but AUR repos. Other folders will break this. | |
# example ./install_aur obs-studio-git teamviewer teams tbsm | |
for dep in "$@" | |
do | |
git clone "https://aur.archlinux.org/$dep.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |