2012-01-18
Dealing with “non-fast-forward” errors
pushするとエラーが起きることがあります
$ git push origin master
To ../remote/
! [rejected] master -> master (non-fast forward)
error: failed to push some refs to '../remote/'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes before pushing again. See the 'non-fast forward'
section of 'git push --help' for details.
他のユーザが同じブランチにpushした時に起きるエラーだそうです
http://help.github.com/remotes/ の翻訳
解決策
2012-01-17
Mavenでプロジェクトを管理する
参考
- 5分で学ぶMaven
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
- テックスコア
http://www.techscore.com/tech/Java/ApacheJakarta/Maven/index/
概要
Mavenは,プロジェクト管理に用いられる
POMは,プロジェクトの情報をXMLで表現したもの
依存関係や継承関係なども表現することができる
覚書
Graphvizで有向グラフを描く
参考
http://99blues.dyndns.org/blog/2010/01/graphviz/
動機
手っ取り早く有向グラフが書きたい
覚書
- graphvizを入れる
- dotスクリプトファイル(test.dot)を作成
digraph sample{
graph [rankdir = LR];
one -> two;
one -> three;
two -> four;
two -> five;
five -> six -> seven;
}
OMakeを使ってみた
参考
http://d.hatena.ne.jp/hayamiz/20081208/1228727272
メモ
- omake --install
- OMakeroot,OMakefileが生成される
- OMakefileの書き換え(監視対象ファイル:documentとする)
DVIPDFM = dvipdfmx
LaTeXDocument(document, document)


