Skip to content

Instantly share code, notes, and snippets.

View jigarius's full-sized avatar
🐢
Through failure one finds the path to success

Jigarius jigarius

🐢
Through failure one finds the path to success
View GitHub Profile
@Rimbo
Rimbo / insult.py
Created January 13, 2017 20:18
Shakespearean insult generator
#!/usr/bin/python
# Shakespeare insult generator
# http://www.pangloss.com/seidel/shake_rule.html
import random
column1 = ['artless', 'bawdy', 'beslubbering', 'bootless', 'churlish', 'cockered', 'clouted', 'craven', 'currish', 'dankish', 'dissembling', 'droning', 'errant', 'fawning', 'fobbing', 'froward', 'frothy', 'gleeking', 'goatish', 'gorbellied', 'impertinent', 'infectious', 'jarring', 'loggerheaded', 'lumpish', 'mammering', 'mangled', 'mewling', 'paunchy', 'pribbling', 'puking', 'puny', 'qualling', 'rank', 'reeky', 'roguish', 'ruttish', 'saucy', 'spleeny', 'spongy', 'surly', 'tottering', 'unmuzzled', 'vain', 'venomed', 'villainous', 'warped', 'wayward', 'weedy', 'yeasty', 'cullionly', 'fusty', 'caluminous', 'wimpled', 'burly-boned', 'misbegotten', 'odiferous', 'poisonous', 'fishified', 'Wart-necked']
column2 = ['base-court', 'bat-fowling', 'beef-witted', 'beetle-headed', 'boil-brained', 'clapper-clawed', 'clay-brained', 'common-kissing', 'crook-pated', 'dismal-dreaming', 'dizzy-eyed', 'doghearted', 'd
@magnetikonline
magnetikonline / README.md
Last active June 10, 2025 16:42
Bash string manipulation cheatsheet.

Bash string manipulation cheatsheet

Assignment
Assign value to variable if variable is not already set, value is returned.

Combine with a : no-op to discard/ignore return value.
${variable="value"}
: ${variable="value"}
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active June 20, 2025 00:46
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line