Skip to content

Instantly share code, notes, and snippets.

@dongilbert
dongilbert / wp-shell-install.sh
Created May 2, 2011 15:27
Auto Install Latest WordPress from Shell
#!/bin/bash
# Install script for Latest WordPress by Johnathan Williamson - extended by Don Gilbert
# Disclaimer: It might not bloody work
# Disclaimer 2: I'm not responsible for any screwups ... :)
# DB Variables
echo "MySQL Host:"
read mysqlhost
export mysqlhost
@lg0
lg0 / toggleiTerm2icon
Last active January 11, 2018 02:51
show/hide iTerm2 Dock icon
# toggle iTerm Dock icon
# add this to your .bash_profile or .zshrc
function toggleiTerm() {
pb='/usr/libexec/PlistBuddy'
iTerm='/Applications/iTerm.app/Contents/Info.plist'
echo "Do you wish to hide iTerm in Dock?"
select ync in "Hide" "Show" "Cancel"; do
case $ync in
'Hide' )
@rxaviers
rxaviers / gist:7360908
Last active August 2, 2025 21:00
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@andxyz
andxyz / installed-crap.txt
Last active October 26, 2015 06:26
some stuff I've installed over the past months
~/Downloads/_apps$ tree
.
β”œβ”€β”€ 360ControllerInstall_0.14_unofficial.dmg
β”œβ”€β”€ AX88772C_772B_772A_760_772_Macintosh_10.5_to_10.10_Driver_Installer_v2.4.0_20141215.zip
β”œβ”€β”€ Adium_1.5.10.dmg
β”œβ”€β”€ Afloat-2.4.1_10.9_x86-64.zip
β”œβ”€β”€ Afloat.bundle
β”‚Β Β  └── Contents
β”‚Β Β  β”œβ”€β”€ Afloat Scripting.app
β”‚Β Β  β”‚Β Β  └── Contents
@postpostscript
postpostscript / replify
Last active November 7, 2024 02:47
replify - Create a REPL for any command
#!/bin/sh
command="${*}"
printf "Initialized REPL for `%s`\n" "$command"
printf "%s> " "$command"
read -r input
while [ "$input" != "" ];
do
eval "$command $input"
printf "%s> " "$command"