This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>SUBLIME2</appname> | |
<equal>com.sublimetext.2</equal> | |
</appdef> | |
<replacementdef> | |
<replacementname>EMACS_MODE_IGNORE_APPS</replacementname> | |
<replacementvalue> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
case $1 in | |
"status" ) | |
networksetup -getwebproxy wi-fi | |
networksetup -getsecurewebproxy wi-fi | |
;; | |
"on" ) | |
networksetup -setwebproxystate wi-fi on | |
networksetup -setsecurewebproxystate wi-fi on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name YouTube Japanese Lyrics | |
// @namespace http://d.hatena.ne.jp/tanihito/ | |
// @version 0.1.0 | |
// @description Shows Japanese lyrics on YouTube under the movie player. | |
// @include http://*youtube.com/watch?* | |
// ==/UserScript== | |
( function(){ | |
const DEBUG = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo aptitude update | |
sudo aptitude -y safe-upgrade | |
LANG=C xdg-user-dirs-gtk-update | |
# Git | |
sudo aptitude -y install git-core | |
# zsh | |
sudo aptitude -y install zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[buildout] | |
parts = | |
mecab | |
ipadic | |
mecab-python | |
mypy | |
[mecab] | |
recipe = zc.recipe.cmmi | |
url = http://sourceforge.net/projects/mecab/files/mecab/0.98/mecab-0.98.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . | | |
sed -e "s/^.\///" | | |
while read i | |
do | |
case $i in | |
*~) continue ;; | |
install_dotfiles.sh) continue ;; | |
.git*) continue ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
name=`echo $1 | sed 's/\.tex$//'` | |
echo "converting to JIS" | |
for fname in *.tex *.cls *.bib ; do | |
nkf -j --overwrite $fname | |
done | |
echo "latexing source" |