This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Try downloading the signatures | |
command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - | |
// Install RVM | |
curl -L get.rvm.io | bash -s stable | |
// Setup RVM Environment | |
source /home/huangchienchang01/.rvm/scripts/rvm | |
// Install Ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2012-01-01 02:58:00.000 | |
2012-01-01 02:58:00.500 | |
2012-01-01 02:59:00.000 | |
2012-01-01 02:59:00.500 | |
2012-01-01 03:00:00.0xx <-- leap second inserted | |
2012-01-01 02:59:00.0xx | |
2012-01-01 02:59:00.500 | |
2012-01-01 03:00:00.000 | |
2012-01-01 03:00:00.500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
solo.setNavigationDrawer(Solo.OPENED); | |
solo.clickOnActionBarHomeButton(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
sourceSets { | |
main { | |
manifest.srcFile 'AndroidManifest.xml' | |
java.srcDirs = ['src'] | |
resources.srcDirs = ['src'] | |
aidl.srcDirs = ['src'] | |
renderscript.srcDirs = ['src'] | |
res.srcDirs = ['res'] | |
assets.srcDirs = ['assets'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf ~/Library/Application Support/AndroidStudio | |
rm -rf ~/Library/Caches/AndroidStudio | |
rm -rf ~/Library/Logs/AndroidStudio | |
rm -rf ~/Library/Preferences/AndroidStudio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Searching for binary rubies, this might take some time. | |
No binary rubies available for: centos/6/i386/ruby-2.0.0-p451. | |
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. | |
Checking requirements for centos. | |
Requirements installation successful. | |
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.0.0-p451, this may take a while depending on your cpu(s)... | |
ruby-2.0.0-p451 - #downloading ruby-2.0.0-p451, this may take a while depending on your connection... | |
** Resuming transfer from byte position 24576 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I had the same issue of therubyracer failing. | |
But first, | |
I had libv8 -v '3.16.14.3' failing for me on the first run. | |
I ran | |
# gem install libv8 -v '3.16.14.3' -- --with-system-v8 | |
which worked. | |
Then therubyracer failed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -h mydb.xxxxx.us-east-1.rds.amazonaws.com -u myuser -P 3306 -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To have launchd start postgresql at login: | |
ln -sfv /usr/local/opt/postgresql/*plist ~/Library/LaunchAgents | |
# Then to load postgresql now: | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist |