Skip to content

Instantly share code, notes, and snippets.

@leoforney
leoforney / install icu4c
Last active June 24, 2017 21:51
Installing icu4c (AKA libicu) on dreamhost
#!/bin/shell
echo "Hey, I heard you want to install libicu on Dreamhost... Let me help you out! :D"
if [ ! -d "$HOME/usr/local" ]; then
mkdir -p ~/usr/local
fi
if [ -d "$HOME/icu" ]; then
echo "Removing the folder ~/icu..."
@leoforney
leoforney / android-update.sh
Last active August 29, 2015 14:04
A simple script to update Android and build tools
#!/bin/sh
echo "Updating Android sdk..."
(while :; do echo 'y'; sleep 2; done) | android update sdk -u
(while :; do echo 'y'; sleep 2; done) | android update sdk -u --filter android-18,extra-android-support
echo "Updated!"
sleep 1