Skip to content

Instantly share code, notes, and snippets.

pacman -S --needed base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay -S github-cli
sudo pacman -S xf86-video-fbdev xorg xorg-xinit nitrogen picom
sudo pacman -S kitty
@stuartmackey
stuartmackey / MongoDB Mongoid Teardown
Created March 1, 2012 08:55
Teardown script to remove MongoDB collections after each test run in Rails
teardown :clean_mongodb
def clean_mongodb
Mongoid.database.collections.each do |collection|
unless collection.name =~ /^system\./
collection.remove
end
end
end