5.1系だとopenのstatus=""がうまくいかなかった

http://phits.jaea.go.jp/image/Install_gfortran4-8.pdf

モジュール含めた実行コマンド

http://d.hatena.ne.jp/pyridoxin/20110726/1311691190 http://stackoverflow.com/questions/3904814/fortran-90-compiling-issue-undefined-reference-to-modulename

環境変数

http://konbu13.hatenablog.com/entry/2014/05/20/205411

Mailアプリの復元

http://d.hatena.ne.jp/shunsuk/20091008/1255003166

ボタンの有効無効切り替え

http://d.hatena.ne.jp/ogakky/20110711/1310349297

Viewの大きさをパーセントで指定

iOS

http://qiita.com/emadurandal/items/04c11db5eb1117eabe1e http://crunchtimer.jp/blog/technology/swift/3244/

storyboardにおいて画面左右の余白削除

iOS

http://qiita.com/uskiita/items/c643f5868f60b496911e

git push -u`オプション

git

http://qiita.com/ironsand/items/6c301fef730d53f35bc3

既存のディレクトリをGit管理化して、それを基にリモートリポジトリを作る

git

http://d.hatena.ne.jp/naokibtn/20130217/1361120970

http://akiyoko.hatenablog.jp/entry/2014/02/25/003513

画面下部にメニューボタンを表示する方法

http://tech-gym.com/2013/03/android/1173.html

get_template()でUnicodeDecodeError

ファイルの文字コードをutf-8にしてで保存する http://stackoverflow.com/questions/11072478/python-unicodedecodeerror-utf8-codec-cant-decode-byte-unexpected-code-byt http://advweb.seesaa.net/article/3074705.html

削除したファイルをaddする時

git

git add -u <削除したファイル> http://nekova.hatenablog.com/entry/2013/02/20/013909

pythonスクリプトからExcelファイルを開く

os.system('start excel.exe %s' % (path, )) subprocess.call(['start', 'excel.exe', path], shell=True) http://stackoverflow.com/questions/13720940/opening-running-excel-file-from-python http://ja.pymotw.com/2/subprocess/

数式番号の挿入

http://toomva.blog60.fc2.com/blog-entry-252.html

リスト内包表記

http://www.lifewithpython.com/2014/09/python-list-comprehension-and-generator-expression-and-dict-comprehension.html

リストの重複を削除

http://d.hatena.ne.jp/aroma_black/20110203/1296746826

チェックボックスのチェック切り替え

http://qiita.com/i47_rozary/items/db77352cc0af8d05d39a

重複をカラム指定して削除してオブジェクト取得

http://stackoverflow.com/questions/3852104/select-distinct-individual-columns-in-django

apache再起動

sudo service apache2 reload

Linux仮想マシン上で公開鍵作成してgithubに登録

http://design1.chu.jp/setucocms-pjt/?p=580

loading画像が表示されない

$(function() { $("#loading").css("display", "block"); $.getJSON(url, function() { }); $("#loading").css("display", "none"); }); getJSONしている間loading画像を表示させようと上記のようにしたら、loading画像は表示されずdisplayはnoneのままだっ…

編集した内容を過去のコミットに付け加えたい時

git

git stash git rebase -i [HASH] 編集したいコミットをpick -> editにする 編集したら git commit --amend git rebase --continue

svgグラフのツールチップ内で改行をしたい

ツールチップ内で改行がシンプルにできない。ツールチップ内でブロック要素のtextタグを複数用意して1行ごとに1つのtextタグを使用。 http://ordinary-programming.blogspot.jp/2014/03/d3js.html http://hnakamur.github.io/blog/2013/03/02/multi-series-l…

文字化け

vim

ファイルを開くと日本語が文字化けして表示される。現在のencodingは以下 :set enc? -> encoding=cp932 以下で解決 :e ++enc=utf-8 https://sites.google.com/site/fudist/Home/vim-nihongo-ban/mojibake

Azure SQL Serverではtruncate的なことはできない?

https://social.msdn.microsoft.com/Forums/azure/en-US/ceeae474-fb19-4282-a56b-c0718f06e9ab/sql-azure-identity-reseed?forum=ssdsgetstarted http://dba.stackexchange.com/questions/10594/dbcc-checkident-doesnt-work-for-reseeding-tables http://w…

AppRegistryNotReady: Models aren't loaded yet.

objects.all().delete()でエラー C:\Users\shohaya\tf-manager\tfmanager\db>python initteam.py Traceback (most recent call last): File "initteam.py", line 60, in init_team() File "initteam.py", line 49, in init_team obj.delete() File "C:\Anaco…

ファイル情報取得

http://d.hatena.ne.jp/nakamura001/20090203/1233652705 http://enajet.air-nifty.com/blog/2010/05/dos-299a.html http://blog.livedoor.jp/moya_pro/archives/32153417.html http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1326820783

settings読み込みエラー

django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. 環境変数…

pythonからodbcでSQL Serverに接続

http://bluestick.jp/tech/index.php/archives/215