Skip to content

Instantly share code, notes, and snippets.

View mrwm's full-sized avatar

William Chung mrwm

View GitHub Profile
@mrwm
mrwm / DerpBox.vbs
Last active March 4, 2016 05:37
Creates a message box with the message "derp"
do
dim s
randomize
s = int(rnd*11) + 1
select case s
case 1
WScript.Sleep 1000
MsgBox "DERP" ,0, "derp"
case 2
WScript.Sleep 1000
@mrwm
mrwm / Ballz.vbs
Last active March 4, 2016 04:39
Makes your computer say "balls" once in every 2 minutes in windows
'
'Credit for the author here: # Credit: https://www.reddit.com/r/AskReddit/comments/44tard/what_was_a_loophole_that_you_found_and_exploited/czt5wl8
'
Set WshShell = CreateObject("WScript.Shell")
Set WinFSO = CreateObject("Scripting.FileSystemObject")
Set oVoice = CreateObject("SAPI.SpVoice")
'Since you're probably playing with this script, create a batch file to easily kill it.
'WinFSO.CreateTextFile("stahp.plz.bat", True).Write "taskkill /im wscript.exe /f"
@mrwm
mrwm / Balls.sh
Created February 10, 2016 06:19
Make a mac say "balls" every now and then...
# Credit: https://www.reddit.com/r/AskReddit/comments/44tard/what_was_a_loophole_that_you_found_and_exploited/czt5wl8
while true
do
sleep $[RANDOM%3600+1]
osascript -e "set volume 10"
say "balls"
done