Skip to content

Instantly share code, notes, and snippets.

ideodora ideodora

Block or report user

Report or block ideodora

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ideodora
ideodora / tips.sh
Created Apr 29, 2016
brew インストールしたパケージの自動起動など
View tips.sh
brew services list
# 自動起動するパッケージのリスト
brew services start mysql55
# mysql55 の自動起動を有効にする
brew services stop mysql55
# mysql55 の自動起動を無効にする
@ideodora
ideodora / import_backup.py
Created Nov 27, 2015 — forked from jehna/import_backup.py
App Engine import data from Datastore Backup to localhost
View import_backup.py
"""
# 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/
@ideodora
ideodora / ls_file_bash.sh
Created Sep 29, 2015
lsで列挙したファイル毎に処理する
View ls_file_bash.sh
ls | xargs -I{} sh -c 'echo {}; echo {}'
@ideodora
ideodora / list_files.sh
Created Sep 2, 2015
ファイル名だけリスト
@ideodora
ideodora / man2pbcopy.sh
Created Sep 2, 2015
マニュアルをクリップボードにコピー
View man2pbcopy.sh
man ls | col -b | pbcopy
@ideodora
ideodora / backup_datastore.py
Last active Aug 29, 2015
cloud strageのバックアップからcsvに変換
View backup_datastore.py
# -*- 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
View gist:fb4390440e6ea846cd93
https://github.com/visionmedia/page.js/blob/master/test/tests.js
@ideodora
ideodora / foo.js
Last active Aug 29, 2015
module.exports で インスタンスとクラス両方返す方法?
View foo.js
// 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;
@ideodora
ideodora / gist:2e75e223a79c262c13f0
Created Nov 26, 2014
font awesome を 文字コードで
View gist:2e75e223a79c262c13f0
http://astronautweb.co/snippet/font-awesome/
@ideodora
ideodora / gist:016a0d2383e1d5b090af
Created Nov 23, 2014
Jinja2 mustache template タグの変更
View gist:016a0d2383e1d5b090af
https://timgilbert.wordpress.com/tag/scalatra/
You can’t perform that action at this time.