- an extended format of TSV
- you can label each field like this:
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 | |
DEVEL_DIR=${HOME}/devel | |
cd srclib/apr | |
./buildconf | |
./configure --prefix=${DEVEL_DIR}/apr | |
make | |
make install | |
cd ../.. |
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
diff --git quickstart.py quickstart.py | |
index 86dc047..267d31f 100755 | |
--- quickstart.py | |
+++ quickstart.py | |
@@ -392,6 +392,7 @@ help: | |
\t@echo " epub to make an epub" | |
\t@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" | |
\t@echo " latexpdf to make LaTeX files and run them through pdflatex" | |
+\t@echo " latexpdfja to make LaTeX files and run them through platex and dvipdfmx" | |
\t@echo " text to make text files" |
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
drop table test_table; | |
drop table test_table1; | |
drop table test_table2; | |
CREATE TABLE test_table (id INT, name STRING); | |
set hive.metastore.warehouse.dir=/tmp/warehouse; | |
CREATE TABLE test_table1 (id INT, name STRING); | |
set hive.metastore.warehouse.dir=/tmp/warehouse2; | |
CREATE TABLE test_table2 (id INT, name STRING); |
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; anything.el | |
;; | |
(require 'anything) | |
(require 'anything-config) | |
(require 'recentf) | |
(setq recentf-max-saved-items 1000) | |
(recentf-mode 1) |
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
# pyfes LT 2012.08 用ソースコード | |
# namenode のログをパースして ログレベルをカウントするだけのコード | |
# ソースコードに日本語でコメント入れるのは多分初めて | |
# | |
import sys | |
# 1行毎のパース処理はここ | |
def parse(line): | |
arr = line.strip().split() |
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
function wait_seconds() | |
{ | |
func_name="wait_seconds" | |
if ! expr "$1" : '[0-9]*' > /dev/null ; | |
then | |
echo "${func_name} ERROR: argument is not number" | |
return | |
fi | |
for i in `seq $1`; do | |
echo "wait for `expr $1 + 1 - ${i}` seconds..." |
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
find . -name "*.java" -exec wc -l {} \; | awk '{s+=$1}END{print s}' |
This document is a translation of LTSV FAQ. (Japanese)
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
git remote add santiycr git://github.com/santiycr/oh-my-zsh.git | |
git fetch santiycr | |
git cherry-pick 18ad97611740bc42a86b45297df5fe247d01e356 | |
git cherry-pick 155343c2c29832c8cea1f391167e1b6ee4a13a74 |