- motivation
python が好きなので python でも良いかなと思ったけど、色々迷って R を選択してみた。
- 感想
痒い所に手が届く感がある。
非プログラマの人でもとっつきやすい気がする。
- 勉強
機械学習はま何も勉強していない…
読んだ本
- データマイニング
hoge.png PNG 240x300 240x300+0+0 8-bit DirectClass 1.06KB 0.000u 0:00.029identify: UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/589.
identify: NoDecodeDelegateForThisImageFormat `hoge.png' @ error/constitute.c/ReadImage/532.select groupId, count(groupId) from grouptable group by groupId having count(groupId) >= 3要はgroup by と havingくらい覚えとけよこの (゚Д゚)カス!!
$ git stash $ git svn dcommit $ git stash apply
$ git checkout -b hoge tags/20110411 Switched to a new branch "hoge" $ git cherry-pick fuga ~cherry-pickのmessage~ $ git svn dcommit※fuga=commit No
git checkout branch git rebase masteror
git rebase master branch競合が見つかるとrebaseは一時停止し、競合の解決が可能になります。
git rebase --continueでrebaseを再開する。
$ git svn rebaseが使えればたぶんだいたい問題ないのだが、(なぜなら、gitを使用するのはプログラマだけで、svnを使用するのはブランチ開発などを行わないクリエイターが主になる予定であるため)
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions log --no-color --no-decorate --first-parent --pretty=medium HEAD: command returned error: 128とか言われてrebaseできない。
$ git svn fetch $ git merge trunkならsvnのcommitを引っ張ってくることはできた。
git show origin/master:filename
git cherry-pick commit-id
Permission denied (publickey). fatal: The remote end hung up unexpectedlyと言われまくった。
$ git config --lもしくは
$ cat .git/config
$ git config --global user.name "hoge fuga" $ git config --global user.email "boo@bar.com"
$ git config --global --unset user.name
$ git ls-files -s
$ git rm --cached filename//ファイルをインデックスから削除 $ git rm filename//ファイルをインデックスと作業ディレクトリから削除ただし、git rm --cachedはファイルが追跡されなくなったことを忘れてしまう危険がある。
$ git checkout HEAD -- filename
f=open('file.txt')
for line in f:
line = line.rstrip()
if line.startswith('hoge'):
print line
openは'w'とかオプションがある。impoert memcache
mc=memcache.Client(['localhost:11211'])
mc.get('hoge')
Tokyo Tyrant's default port is 1978