Skip to content

Instantly share code, notes, and snippets.

Stefan Liebenberg StefanLiebenberg

Block or report user

Report or block StefanLiebenberg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View arch-hook.sh
pacman -Sy --noconfirm && pacman -Sy archlinux-keyring --noconfirm && pacman -Su --noconfirm && pacman-db-upgrade && trust extract-compat && pacman -Scc --noconfirm
echo -e "\n[archlinuxfr]\nSigLevel = Never\nServer = http://repo.archlinux.fr/\$arch" >> /etc/pacman.conf && pacman -Sy yaourt --noconfirm
@StefanLiebenberg
StefanLiebenberg / dump.sh
Created Dec 30, 2016
Bash script to dump filesystem with urandom data.
View dump.sh
#/bin/bash
i=0;
while [ "$(df -P . | awk 'NR==2 {print $4}')" -gt 0 ]; do
i=$((i+1));
file=temp$i.dump;
echo writing $file;
if [ ! -e $file ]; then
dd if=/dev/urandom of=$file bs=1MB count=1024;
fi;
View User.class#getName
@Soy.Method("Name")
public getName() {
return name
}
You can’t perform that action at this time.