Skip to content

Instantly share code, notes, and snippets.

View woowee's full-sized avatar

woowee woowee

  • tokyo
View GitHub Profile
#!/bin/sh
set -e
currentdir=$(dirname $0)
cd ${currentdir}
source ./firstofall_functions.sh
## Dotfiles
<?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>
@woowee
woowee / osx.sh
Created September 2, 2013 16:24
the source : mathiasbynens/dotfiles (https://github.com/mathiasbynens/dotfiles/blob/master/.osx)
#!/usr/bin/env bash
# ~/.osx — http://mths.be/osx
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
#!/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
@woowee
woowee / mid3v2.py
Last active December 11, 2015 22:38
just idea/memo. no checking...
#!/usr/bin/env python
# Pretend to be /usr/bin/id3v2 from id3lib, sort of.
# Copyright 2005 Joe Wreschnig
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
import os
import sys
@woowee
woowee / AutoHotkey.ahk
Last active December 11, 2015 06:48
windows settings ; - ime の on/of は [無変換] + [space] に. - authotley を使用. - C:\Users\{YourAccount}\Documents に配置.
#z::Run www.autohotkey.com
; ------------------------------ ime on/of : [無変換] + [space]
vk1Dsc07B & Space::Send, {vkF3sc029}
; ⇒以下は,試行錯誤の結果,使わないことに.
; vk1Dsc07B & Space::Send, {vkF4sc029}
; !Space::Send, {vkF3sc029} ; alt + space
; !Space::Send, {vkF4sc029} ; alt + space
; #Space::Send, {vkF4sc029} ; windows key + space
@woowee
woowee / CapsLock2Ctrl.reg
Created January 18, 2013 01:05
windows settings ; - [ctrl] を [caps lock] に. - CapsLock2Ctrl.reg で保存し,ダブルクリック!
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
@woowee
woowee / example.radiko.tbs1.baka.plist
Last active December 10, 2015 23:58
recording of the radiko. an example of the xml format plist.
<?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>Label</key>
<string>koo.radiko.tbs1.baka</string>
<key>ProgramArguments</key>
<array>
<string>/Users/koo/radiko/radiko.sh</string>
<string>TBS</string>