This file contains hidden or 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 | |
# if [ $1 = '' ]; then | |
# if [ -n $1 ]; then | |
if [ -n "$1" ]; then | |
echo 'arg1 length > 0' | |
else | |
echo 'arg1 length = 0' | |
fi |
This file contains hidden or 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 | |
./tiapp_xml-converter $1 | |
ti build # ここは各自でちゃんと書いてね | |
./tiapp_xml-reverter |
This file contains hidden or 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
# cat a.json # => {"x": "a", "y": 1, "z": true} | |
cat a.json | ruby -rjson -e "puts JSON.parse(STDIN.read)" # => {"x"=>"a", "y"=>1, "z"=>true} | |
# ruby -v #=> ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-linux] | |
# on Ubuntu 12.04 |
This file contains hidden or 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
#### 全体的なキーボード配置変更 ################################################ | |
include "109.mayu" | |
include "104on109.mayu" | |
keymap Global | |
def subst *英数 = *英数 | |
mod control += 英数 | |
key *英数 = *LeftControl | |
def subst *変換 = *変換 | |
key S-C-Space = $ToggleIME | |
This file contains hidden or 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
include "109.mayu" | |
include "104on109.mayu" | |
# def subst *RightSquareBracket = *Enter | |
def subst *YenSign = *BackSpace | |
def subst *E0英数 = *E0英数 # 104on109 内の設定を無効化 | |
mod control += E0英数 | |
key *E0英数 = *LControl | |
This file contains hidden or 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
!!! | |
/[if lt IE 7] <html class="no-js lt-ie9 lt-ie8 lt-ie7"> | |
/[if IE 7] <html class="no-js lt-ie9 lt-ie8"> | |
/[if IE 8] <html class="no-js lt-ie9"> | |
/[if gt IE 8] <!--> <html class="no-js"> <!-- | |
%head | |
%meta{:charset => "utf-8"} | |
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"} | |
%title | |
%meta{:content => "", :name => "description"} |
This file contains hidden or 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
echo 'export PATH=$HOME/local/bin:$PATH' >> $HOME/.zshenv # or .bashrc | |
exec $SHELL | |
mkdir -p $HOME/local/bin | |
cd $HOME/local/bin | |
git clone https://github.com/mxcl/homebrew --depth 1 | |
ln -s $HOME/local/bin/homebrew/bin/brew |
This file contains hidden or 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
!!! 5 | |
//if lt IE 7 | |
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> | |
//if IE 7 | |
<html class="no-js lt-ie9 lt-ie8"> | |
//if IE 8 | |
<html class="no-js lt-ie9"> | |
//[if gt IE 8]><! | |
html(class='no-js') | |
//<![endif] |
This file contains hidden or 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 | |
THIS_FILE_PATH="$PWD/$0" | |
cd ${THIS_FILE_PATH%/*} |
This file contains hidden or 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
APP_ROOT | |
|- a.sh | |
`- test/ | |
|- run.sh | |
|- a.txt | |
|- a-expected.txt | |
`- shunit2 |