Skip to content

Instantly share code, notes, and snippets.

View taketin's full-sized avatar
🍺
cheers

H.Takeshita taketin

🍺
cheers
  • Fukuoka, Japan.
View GitHub Profile

Swift Style Guide from github.com

スペーシング

  • スペースではなくタブを使う。
  • ファイルの終端は改行を入れる。
  • 論理的なまとまりにコードを分割するための改行は自由に使って良い。
  • 末尾に空白を入れない。
@taketin
taketin / open_in_iterm_current_xcode_project.applescript
Created November 18, 2018 14:28
This script can open current Xcode project's directory in iTerm.
#!/usr/bin/osascript
on run argv
set cmd to "cd" & " \"" & (do shell script "pwd") & "\""
tell application "iTerm"
activate
tell current window
set firstTab to current tab
tell current session of current tab
write text cmd