Skip to content

Instantly share code, notes, and snippets.

View iorionda's full-sized avatar

Iori ONDA iorionda

  • Freelance
  • Tokyo/Japan
View GitHub Profile
@iorionda
iorionda / generate_contacts.rb
Created November 11, 2014 07:23
宛先を作る
require 'faker'
require 'spreadsheet'
require 'fileutils'
require 'i18n'
require 'optparse'
def parse_options
option = {}
OptionParser.new do |opt|
opt.on('-c VALUE', '--count', 'counts') {|v| option[:size] = v}
@iorionda
iorionda / file0.txt
Created November 5, 2014 02:12
Git でブランチの名前を変更する方法 ref: http://qiita.com/iorionda/items/f358556de9f0ba2c508a
% git branch -m <newbranch>
@iorionda
iorionda / bash_update.md
Last active August 29, 2015 14:06
How to update system binaries

OS X 10.9.5 (the latest stable release at the moment) ships with Bash v3.2.51:

% mkdir bash-fix
% cd bash-fix
% curl https://opensource.apple.com/tarballs/bash/bash-92.tar.gz | tar zxf -
% cd bash-92/bash-3.2
% curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-052 | patch -p0
% cd ..
% xcodebuild
@iorionda
iorionda / file0.txt
Created September 22, 2014 08:25
git のブランチをリネームする ref: http://qiita.com/iori-o@github/items/ccc352dc5ee58c1ecfbd
git branch (-m | -M) [<oldbranch>] <newbranch>
...
With a -m or -M option, <oldbranch> will be renamed to <newbranch>. If <oldbranch> had a corresponding reflog, it is renamed to match <newbranch>, and a reflog entry
is created to remember the branch renaming. If <newbranch> exists, -M must be used to force the rename to happen.
...
-m, --move
@iorionda
iorionda / keymap.cson
Created September 8, 2014 10:19
Atom の package で定義されているキーバインドを変更する方法 ref: http://qiita.com/iori-o@github/items/0f386408fb9591c0ed7f
'.editor':
# キーバインドを無効にする
'ctrl-b': 'unset!'
# キーバインドを再定義する
'alt-cmd-b': 'git-blame:toggle'
@iorionda
iorionda / pre-commit
Created August 21, 2014 11:01
殺す
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1

この PR をマージするとできること

TODO

  • xxxx
  • xxxx

不安に思っていること


※ ブラウザで動作確認できるのであれば、スクリーンショットやアニメーション GIF など添付されているとよい

<!DOCTYPE html>
<head>
<title>SAMPLE</title>
</head>
<body>
<h1>HELLO WORLD!!!</h1>
</body>
</html>