This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
各マンガページでの取得情報: | |
タイトル(h1) | |
カテゴリ | |
閲覧数 | |
発行日時 | |
画像URL | |
各URLが何を表しているかの補足情報 == なんのタグにも囲われていない情報は補足情報として認識 | |
マンガ保存先URL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Specify dependencies with Pip | |
Heroku recognizes Python applications by the existence of a requirements.txt file in the root of a repository. This simple format is used by most Python projects to specify the external Python modules the application requires. | |
Pip has a nice command (pip freeze) that will generate this file for us: | |
$ pip freeze > requirements.txt | |
requirements.txt | |
Django==1.7 | |
dj-database-url==0.3.0 | |
dj-static==0.0.6 | |
gunicorn==19.1.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://railsdoc.com/references/find | |
http://www.atmarkit.co.jp/ait/articles/1405/30/news036_2.html#03 | |
超使える解説 => http://qiita.com/budougumi0617/items/d98fc15adea4dab438e7 | |
1. idで取得 => 1つのレコードを取得; | |
=> モデル.find(引数) | |
2. ageが30以上のすべてのレコードを取得 | |
=> users = User.where("age >= ?", 30) | |
3. sqlインジェクション: 対策外部から入力された値を使う場合 | |
=> params[:user]user = User.find(:all, :conditions => ["name = ?", name]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. bashについて学ぶ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 面倒でも一つ一つ確認する | |
2. console.logで出力する | |
3. ブラウザのデバッガーを活用する | |
4. ブレイクスルーポイントを利用してどこでエラーがおこっているのか詳しく見る |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. レイアウト崩れの原因を伺う | |
2. rails命名規則を確認 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/originell/jpype | |
pip install charade | |
https://github.com/misja/python-boilerpipe | |
あとはsetup.pyをたたく |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
断|裂 = > register | |
捕手座ら|せた => 文字数関係なく名詞と動詞の間は切る? | |
サッカーW杯 => register | |
ダル右|肘 => 文字数関係なく名詞と名詞の間は切る? | |
固有名詞 => register | |
意識高|い => ??? | |
顔文字が区切れまくる | |
part.|2 => 切りたくないけどしょうがない | |
そのたくましい =>連体詞(その)の前後は切りたいかも | |
端末側で長いカタカナ一語来たときに改行するけど、それってレイアウト的にきれいなの?? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://stackoverflow.com/questions/25303839/i-need-to-extract-dom-element-of-main-contents-in-python/25303962#25303962 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HaveToRead -> | |
http://tseiya.hatenablog.com/entry/2012/09/19/191114 | |
http://blog.livedoor.jp/techblog/archives/65828235.html |