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
startup_message off | |
shell /bin/zsh | |
escape ^Zz | |
defscrollback 10000 | |
defencoding utf8 | |
defkanji utf8 | |
encoding utf8 utf8 | |
hardstatus alwayslastline "[%02c] %`%-w%{=b bw}%n %t%{-}%+w" | |
# hardstatus alwayslastline "%`%-w%{=b bw}%n %t%{-}%+w" | |
# caption always "%{= wb} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wk} [%l] %{=b wb}%y/%m/%d(%D) %{=b wm}%c" |
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
#!/usr/bin/swift | |
import Cocoa | |
import IOBluetooth | |
var TARGET_NAME = "xxxxxx-bt" | |
var TARGET_ADDR = "ab-cd-ef-12-34-56" | |
var SCAN_DURATION = 10 | |
class BluetoothManager: NSObject, IOBluetoothDeviceInquiryDelegate { |
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
;; clipboardの共有 | |
;; Original : http://hakurei-shain.blogspot.jp/2010/05/mac.html | |
(when darwin-p | |
(defun copy-from-osx () | |
(shell-command-to-string "pbpaste")) | |
(defun paste-to-osx (text &optional push) | |
(let ((process-connection-type nil)) | |
(start-process "pbcopy-from-emacs" "*Messages*" "pbcopy-from-emacs" text))) | |
(setq interprogram-cut-function 'paste-to-osx) | |
(setq interprogram-paste-function 'copy-from-osx)) |
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 | |
# ---- ここから設定箇所 ---- | |
# Proceedingsの中身をHDDにコピーして,その中の"Settings"ディレクトリを以下に指定してください. | |
ROOT_DIR="/Users/river24/Desktop/EIC2013G/Settings" | |
# 処理中の一時ファイルを出力する先を指定してください. | |
TMP_DIR="/tmp" |
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 | |
function show_usage_and_exit() { | |
echo "Usage: finder.sh DIRECTORY_NAME" | |
exit | |
} | |
if [ $# -lt 1 ] | |
then | |
show_usage_and_exit |
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 | |
# ---- ここから設定箇所 ---- | |
# IEICEの2012年03月の総合大会のProceedingsを少し美味しくするシェルスクリプト | |
# https://gist.github.com/2019544 | |
# を使って少し美味しくなった状態の"Settings"ディレクトリを指定して下さい. | |
ROOT_DIR="/Users/river24/Desktop/EIC2012G/Settings" | |
# 処理中の一時ファイルを出力する先を指定してください. |
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 | |
# ---- ここから設定箇所 ---- | |
# Proceedingsの中身をHDDにコピーして,その中の"Settings"ディレクトリを以下に指定してください. | |
ROOT_DIR="/Users/river24/Desktop/EIC2012G/Settings" | |
# 処理中の一時ファイルを出力する先を指定してください. | |
TMP_DIR="/tmp" |
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 | |
# ---- ここから設定箇所 ---- | |
# IEICEの2011年度ソサイエティ大会のProceedingsを少し美味しくするシェルスクリプト | |
# https://gist.github.com/1213484 | |
# を使って少し美味しくなった状態の"Settings"ディレクトリを指定して下さい. | |
ROOT_DIR="/Users/river24/Desktop/EIC2011S/Settings" | |
# 処理中の一時ファイルを出力する先を指定してください. |
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 | |
# ---- ここから設定箇所 ---- | |
# Proceedingsの中身をHDDにコピーして,その中の"Settings"ディレクトリを以下に指定してください. | |
ROOT_DIR="/Users/river24/Desktop/EIC2011S/Settings" | |
# 処理中の一時ファイルを出力する先を指定してください. | |
TMP_DIR="/tmp" |
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
--- Portfile.bak 2010-08-09 13:54:08.000000000 +0900 | |
+++ Portfile 2010-08-09 13:57:06.000000000 +0900 | |
@@ -89,9 +89,9 @@ | |
variant utf8 { | |
post-build { | |
- system "mkdir dict/utf-8.d" | |
+ system "mkdir ${worksrcpath}/dict/utf-8.d" | |
foreach DIC ${dics} { | |
- system "nkf -w < dict/${DIC} > dict/utf-8.d/${DIC}" |
NewerOlder