Skip to content

Instantly share code, notes, and snippets.

View woowee's full-sized avatar

woowee woowee

  • tokyo
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>keys</key>
<dict>
<key>*</key>
<dict>
<key>'!'</key>
<dict>
#!/bin/sh
#
# Author: Aaron Voisine <aaron@voisine.org>
# Inkscape Modifications:
# Michael Wybrow <mjwybrow@users.sourceforge.net>
# Jean-Olivier Irisson <jo.irisson@gmail.com>
# ~suv <suv-sf@users.sourceforge.net>
#
get_env_current ()
@woowee
woowee / com.googlecode.iterm2.xml
Created January 20, 2017 23:17
ex.: `plutil -convert xml1 com.googlecode.iterm2.xml -o com.googlecode.iterm2.plist && mv -f com.googlecode.iterm2.plist ~/Library/Preferences/ && defaults read com.googlecode.iterm2`
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AppleAntiAliasingThreshold</key>
<integer>1</integer>
<key>AppleScrollAnimationEnabled</key>
<integer>0</integer>
<key>AppleSmoothFixedFontsSizeThreshold</key>
<integer>1</integer>
"
" >unite
"
" 変数
let g:unite_source_history_yank_enable = 1
let g:unite_enable_start_insert = 1
let g:unite_enable_ignore_case = 1
let g:unite_enable_smart_case = 1
let g:neomru#follow_links = 1
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGKSpYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKcHCBMXGyImVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPECgwLjAyNzQ1MTAw
NjcgMC4yMTE3NjQ3MjMxIDAuMjU4ODIzNDg0MiAxTxAoMC4wMzkzODA3NDc4MiAwLjE2
@woowee
woowee / com.googlecode.iterm2.plist
Created October 31, 2014 23:15
com.googlecode.iterm2.plist (Transparency=.6,Window Type=2,Blur Radius=2)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AdjustWindowForFontSizeChange</key>
<true/>
<key>AllowClipboardAccess</key>
<false/>
<key>AnimateDimming</key>
<false/>
@woowee
woowee / japaneseim_yen.sh
Created October 26, 2014 10:57
JapaneseIM
defaults write com.apple.inputmethod.Kotoeri 'JIMPrefCharacterForYenKey' -int 1; killall JapaneseIM
#!/bin/bash -u
set -e
# arg check
modeis=0
msg_err="usage: $0 [--silent|\s]"
if [ $# -eq 1 ]; then
if [ $1 = "--silent" -o $1 = "-s" ]; then
modeis=1
@woowee
woowee / vichrome.vim
Last active August 29, 2015 14:01
Key Mapping / Alias Setting on Vichrome. **Append only**
#
# mymapping
#
# for us keyboard
nmap ; :GoCommandMode
# google
nmap o s
nmap O S
# pinboard
nmap p :Open javascript:q%3Dlocation.href%3Bif(document.getSelection)%7Bd%3Ddocument.getSelection()%3B%7Delse%7Bd%3D%27%27%3B%7D%3Bp%3Ddocument.title%3Bvoid(open(%27https://pinboard.in/add%3Fshowtags%3Dyes%26url%3D%27%2BencodeURIComponent(q)%2B%27%26description%3D%27%2BencodeURIComponent(d)%2B%27%26title%3D%27%2BencodeURIComponent(p),%27Pinboard%27,%27toolbar%3Dno,scrollbars%3Dyes,width%3D750,height%3D700%27))%3B
@woowee
woowee / vichrome.vim
Created May 21, 2014 09:52
Key Mapping / Alias Setting on Vichrome
### Sample Settings
# aliases
# in this example you can open extensions page by the command ':ext'
# and Chrome's option page by the command ':option'
alias ext TabOpenNew chrome://extensions/
alias option TabOpenNew chrome://settings/browser
alias downloads TabOpenNew chrome://downloads
alias history TabOpenNew chrome://history