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
brew services list | |
# 自動起動するパッケージのリスト | |
brew services start mysql55 | |
# mysql55 の自動起動を有効にする | |
brew services stop mysql55 | |
# mysql55 の自動起動を無効にする |
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
""" | |
# App Engine import data from Datastore Backup to localhost | |
You can use this script to import large(ish) App Engine Datastore backups to your localohst dev server. | |
## Getting backup files | |
Follow instructions from Greg Bayer's awesome article to fetch the App Engine backups: | |
http://gbayer.com/big-data/app-engine-datastore-how-to-efficiently-export-your-data/ |
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
ls | xargs -I{} sh -c 'echo {}; echo {}' |
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
ls -A1 |
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
man ls | col -b | pbcopy |
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
# -*- coding: utf-8 -*- | |
# referenced at: | |
# http://gbayer.com/big-data/app-engine-datastore-how-to-efficiently-export-your-data/ | |
# pre required: | |
# using cloud console to backup datastore into cloud strage then | |
# gsutil -m cp -R gs://your_bucket_name/your_path /local_target | |
# to download cloud strage backupdata |
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
https://github.com/visionmedia/page.js/blob/master/test/tests.js |
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
// export the function that instantiate the class and return it with same option | |
module.exports = function foo(opts) { | |
return new Foo(opts); | |
}; | |
module.exports.Foo = Foo; |
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
http://astronautweb.co/snippet/font-awesome/ |
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
https://timgilbert.wordpress.com/tag/scalatra/ |
NewerOlder