Skip to content

Instantly share code, notes, and snippets.

View H3wastooshort's full-sized avatar
:octocat:
probably screaming at code rn

H3 H3wastooshort

:octocat:
probably screaming at code rn
View GitHub Profile
@richard512
richard512 / beepsongs.sh
Last active February 9, 2019 09:21
linux shell beep songs
#/bin/bash
PCSpeakerModuleInstalled=$(lsmod | grep pcspkr)
if [ ! "$PCSpeakerModuleInstalled" ]; then
sudo modprobe pcspkr
fi
BeepInstalled=$(which beep)
if [ ! "$BeepInstalled" ]; then
sudo apt install beep
@hoserdude
hoserdude / doge.txt
Created June 15, 2015 15:15
Doge ASCII
▄ ▄
▌▒█ ▄▀▒▌
▌▒▒█ ▄▀▒▒▒▐
▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐
▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐
▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌
▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌
▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐
▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌
▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌
@eldstal
eldstal / bot.sh
Created October 30, 2012 09:07
A simple IRC bot. Join, spam, disconnect.
#!/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 {
@joakimk
joakimk / pxe_server_install.sh
Created October 12, 2010 16:41
Script to install a PXE boot server for diskless clients
# 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.