基本的に「そらもよう」の情報より。最初の仮作成の情報のみ青空文庫年表 http://www.ag-n.jp/aozora-nenpyo/ を参照。
日付はそらもよう掲載日のため、実際に作業が行われた日とは前後することがあります。
- 1997年 公開
- 1999年 独自ドメイン移行、ミラーサーバ導入
基本的に「そらもよう」の情報より。最初の仮作成の情報のみ青空文庫年表 http://www.ag-n.jp/aozora-nenpyo/ を参照。
日付はそらもよう掲載日のため、実際に作業が行われた日とは前後することがあります。
2015/05/29 Masayoshi Takahashi (@takahashim)
参考情報: 「青空文庫の予備知識」http://togetter.com/li/827552
※ 技術(者)コミュニティには名前・呼称がないとめんどくさいので、何か名前をつけるべき→とりあえずgithubではaozorahackという名前になった。日本語名称は考えたほうがいいかも。
-- テーブルを作る
CREATE TABLE t (
user_id int unsigned not null,
score int not null,
ranking int unsigned, -- rankingというカラムがエンジンによって自動更新される
primary key (user_id),
key ranking (score) -- ランキング用のindex
) engine=ranking;
## | |
## Syntax | |
## | |
# Define a type: | |
# | |
# <MessageName>: | |
# <fieldIndex>: [<fieldName>, <type>, <options...>] | |
# ... | |
# | |
# Typedef (type alias): |
# ls /proc/ | grep 238
23801
23807
23829
23843
23853
23856
23859
23871
大きなテキストファイルをawkで処理するときにcatで投げ込むと速い理由のような事象が発生する原因についての推察。
自信はあまりない!
Perl ワンライナーサンプル集 | |
■概要 | |
障害解析のためのログの調査、非互換対応でのソースコードの調査といった | |
テキスト処理で使った Perl ワンライナーのサンプル集です。 | |
Perl ワンライナーは以下の点が良いと思います。 | |
・Perl は Oracle Database (10g以降) に同梱されている。 | |
従って、Windows プラットフォームでも使える。 |
#!/bin/bash | |
# | |
# When you are working on your macbook sitting in cafe and you have to go pee, | |
# you need some way to guard you machine. | |
# | |
# Start this script, remove any earphones, and go do the job. | |
# The assumption is the thief will close the lid of the laptop before taking it away. | |
# This script detects the closing of the lid and plays some loud audio that will | |
# likely distract the thief and/or grab attention of nearby people, making the |
#!/bin/bash | |
# Get current swap usage for all running processes | |
# Erik Ljungstrom 27/05/2011 | |
# Updated: 2013-11-13 Yuichiro Saito | |
SUM=0 | |
OVERALL=0 | |
for DIR in `find /proc/ -maxdepth 1 -type d | egrep "^/proc/[0-9]"` ; do | |
PID=`echo $DIR | cut -d / -f 3` | |
PROGNAME=`ps -p $PID -o comm --no-headers` | |
for SWAP in `grep Swap $DIR/smaps 2>/dev/null| awk '{ print $2 }'` |