Skip to content

Instantly share code, notes, and snippets.

View combatwombat's full-sized avatar

Robert Gerlach combatwombat

View GitHub Profile
osascript -e 'set currentUser to long user name of (get system info)' -e 'set firstName to first word of currentUser' -e 'set lastName to last word of currentUser' -e 'set noteValues to {56, 56, 58, 56, 61, 60, 50, 56, 56, 58, 56, 63, 61, 50, 56, 56, 68, 65, 61, 60, 58, 50, 66, 66, 65, 61, 63, 61}' -e 'set syllables to {"hap", "p", "birth", "day", "to", "you", "[[slnc 500]]", "hap", "p", "birth", "day", "to", "you", "[[slnc 500]]", "hap", "p", "birth", "day", "dear", firstName, lastName, "[[slnc 500]]", "hap", "p", "birth", "day", "to", "you"}' -e 'repeat with i from 1 to the length of noteValues' -e 'set thisValue to item i of noteValues' -e 'set thisSyllable to item i of syllables' -e 'if length of thisSyllable is less than 3 then' -e 'set speakingRate to 220' -e 'else' -e 'set speakingRate to 100' -e 'end if' -e 'say thisSyllable pitch thisValue using "Alex" speaking rate speakingRate modulation 0' -e 'end repeat'
@combatwombat
combatwombat / change_permalink_helper.php
Created May 8, 2019 08:40
Change Permalink Helper WordPress Plugin with URI parameter support
@combatwombat
combatwombat / everscroll.css
Created August 24, 2023 19:03
scrollbars everywhere!
* {
overflow-y: scroll !important;
}
* * {
transform: translateY(1px) !important;
}