2014-10-01から1ヶ月間の記事一覧

gitのhttpパスワード

git

gitでhttpを使う場合、毎回パスワードを聞かれるのが面倒だったのでちょっと調べてみた。windowsのmsysgitはwincredを使うらしい。 $ git config --global credential.helper wincred これでok。 追記 http://orangeclover.hatenablog.com/entry/2014/01/15/…

.batが実行できなくなった

http://www.atmarkit.co.jp/ait/articles/1303/15/news042.html Windows TIPS:.batファイルの関連付けを元に戻す意図的にやったわけじゃないので何かの操作で自動で設定されるみたい。 .bat に関連付けが出来る必要があるのだろうか?

RSA暗号書いてみた

https://github.com/shive/try_rsa $ make keygen python keygen.py P = fe03 Q = fc95 N = fa9ecbbf / log2(N): 31.9694 K = 10001 U = da17e869 (V = dec9) len(ORIGIN) = 22 b'\x8c\xc3\x92r\x82\xe2\x8a^\x82\xc6\x82\xd1\x82\xb1\x82\xde\x90\x85\x82\x…

py2exe for python3を使ってみた。

https://github.com/shive/test_py2exe_for_python3さっくり動いた。ctypesが必須だけど明示しないと含まれなかった。入力スクリプトをutf8にするにはどうすればいいんだろうか?