This file contains hidden or 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 | |
PCSpeakerModuleInstalled=$(lsmod | grep pcspkr) | |
if [ ! "$PCSpeakerModuleInstalled" ]; then | |
sudo modprobe pcspkr | |
fi | |
BeepInstalled=$(which beep) | |
if [ ! "$BeepInstalled" ]; then | |
sudo apt install beep |
This file contains hidden or 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
▄ ▄ | |
▌▒█ ▄▀▒▌ | |
▌▒▒█ ▄▀▒▒▒▐ | |
▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐ | |
▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐ | |
▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌ | |
▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌ | |
▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐ | |
▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌ | |
▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌ |
This file contains hidden or 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 | |
# $1: The nickname to use | |
function ircpreamble { | |
echo "NICK ${1}" | |
echo "USER ${1} 0 * :Totally not a spambot" | |
} | |
# $1: Channel to join | |
function channel { |
This file contains hidden or 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
# This installs a PXE boot server. | |
# | |
# It's based on https://help.ubuntu.com/community/DisklessUbuntuHowto. | |
# It's been used with ubuntu-10.10-server-amd64.iso and ubuntu-10.10-server-i386.iso. | |
# | |
# It requires two network cards. One for access to the outside world and one | |
# for a private network of PXE clients. I've choosen this setup to not cause problems | |
# with DHCP on the normal network. | |
# | |
# It also requires that you have a second partition mounted on /nfsroot. |