Skip to content

Instantly share code, notes, and snippets.

View cahngeLanguage.applescript
// 英語に切り替え得る
tell application "System Events" to key code 102
// 日本語に切り替える
tell application "System Events" to key code 104
@grandcolline
grandcolline / openVimForIterm2.applescript
Created Sep 1, 2017
ファイルをiTerm2のviで開くapp
View openVimForIterm2.applescript
on run argv
set the_path to POSIX path of (item 1 of argv)
set cmd to "vi " & escapeSpace(the_path)
if isAppRunning("iTerm2") then
tell application "iTerm"
activate
select last window
@grandcolline
grandcolline / notice_pullrequest.sh
Last active Feb 8, 2018
閉じていないPRをslackに通知するシェル
View notice_pullrequest.sh
#!/bin/sh
# config
slack_url="https://hooks.slack.com/services/xxxxxx/xxxxx/xxxxxxxxxxxxxx"
slack_channel="#xxxxxxxxxxxxxx"
github_url="https://github.com/api/v3/repos/xxxxxxxxx/xxxxxxxx/pulls"
icon_emoji=":jenkins:"
# 取得
prs=$(
View keybase.md

Keybase proof

I hereby claim:

  • I am grandcolline on github.
  • I am grandcolline (https://keybase.io/grandcolline) on keybase.
  • I have a public key ASDPGK6EfOPuVGWLvNsRXBQW3ZP1bvgyJyaHp9U4uYIEEwo

To claim this, I am signing this object:

You can’t perform that action at this time.