動画一覧を取得できる.
GET /api/videos.json
| diff --git a/en/api/components-no-ssr.md b/en/api/components-no-ssr.md | |
| index 1be8149..21536a7 100644 | |
| --- a/en/api/components-no-ssr.md | |
| +++ b/en/api/components-no-ssr.md | |
| @@ -43,6 +43,4 @@ description: Skip component rendering on server side(rendering), and display pla | |
| </template> | |
| ``` | |
| -> Note that `<no-ssr />` can only contain at most ONE child component/element. | |
| - |
| // $ curl -XPOST 'localhost:9200/_extended_analyze?tokenizer=kuromoji_tokenizer&filters=kuromoji_baseform,kuromoji_part_of_speech&pretty' -d '絶対に手を出してはいけない相手を夜這いしちゃった俺' | |
| { | |
| "custom_analyzer" : true, | |
| "tokenizer" : { | |
| "kuromoji_tokenizer" : [ { | |
| "token" : "絶対", | |
| "start_offset" : 0, | |
| "end_offset" : 2, | |
| "type" : "word", | |
| "position" : 1, |
| // $ curl -XPOST 'localhost:9200/_extended_analyze?analyzer=kuromoji&pretty' -d '絶対に手を出してはいけない相手を夜這いしちゃった俺' | |
| { | |
| "custom_analyzer" : false, | |
| "analyzer" : { | |
| "kuromoji" : [ { | |
| "token" : "絶対", | |
| "start_offset" : 0, | |
| "end_offset" : 2, | |
| "type" : "word", | |
| "position" : 1, |
| 3Dエロアニメ 涼宮ハ○ヒの激奏後 レイプされました | |
| => ["3", "d", "エロ", "アニメ", "涼", "宮", "ハ", "ヒ", "激", "奏", "後", "レイプ"](kuromoji) | |
| => ["3", "d", "エロ", "アニメ", "涼", "宮", "ハ", "ヒ", "の", "激", "奏", "後", "レイプ", "する", "れる", "ます", "た"](kuromoji_analyzer) | |
| エロゲ Crescendo 永遠だと思っていたあの頃 | |
| => ["エロゲ", "crescendo", "永遠", "思う", "あの", "頃"](kuromoji) | |
| => ["エロゲ", "crescendo", "永遠", "だ", "と", "思う", "て", "いる", "た", "あの", "頃"](kuromoji_analyzer) | |
| 3D エロアニメシリコンドール 彼女の性活 | |
| => ["3", "d", "エロ", "エロアニメシリコンドール", "アニメ", "シリコン", "ドール", "彼女", "性", "活"](kuromoji) | |
| => ["3", "d", "エロ", "エロアニメシリコンドール", "アニメ", "シリコン", "ドール", "彼女", "の", "性", "活"](kuromoji_analyzer) | |
| きなこの山 |
| # spec/requests/videos_spec.rb | |
| require 'spec_helper' | |
| describe '動画に関する API' do | |
| describe "GET /api/videos.json" do | |
| before do | |
| @video1 = FactoryGirl.create(:brand, name: 'すぐにまたがる家庭教師') | |
| @video2 = FactoryGirl.create(:brand, name: '夫のために身体を差し出す人妻') |
| # cat /etc/logrotate.d/mysqld | |
| # This logname can be set in /etc/my.cnf | |
| # by setting the variable "err-log" | |
| # in the [safe_mysqld] section as follows: | |
| # | |
| # [safe_mysqld] | |
| # err-log=/var/log/mysqld.log | |
| # | |
| # If the root user has a password you have to create a |
| # ステップバイステップで学ぶ Fluentd + GrowthForecast でグラフ作成まとめ - 彼女からは、おいちゃんと呼ばれています | |
| # http://d.hatena.ne.jp/inouetakuya/20130216/1361015295 | |
| <source> | |
| type forward | |
| </source> | |
| <match apache.access> | |
| type copy | |
| ;GrowthForecast を CentOS 6.3 にインストールして Supervisor で管理してみた - 彼女からは、おいちゃんと呼ばれています | |
| ;http://d.hatena.ne.jp/inouetakuya/20130211/1360570283 | |
| [supervisord] | |
| http_port=/var/tmp/supervisor.sock ; (default is to run a UNIX domain socket server) | |
| ;http_port=127.0.0.1:9001 ; (alternately, ip_address:port specifies AF_INET) | |
| ;sockchmod=0700 ; AF_UNIX socketmode (AF_INET ignore, default 0700) | |
| ;sockchown=nobody.nogroup ; AF_UNIX socket uid.gid owner (AF_INET ignores) | |
| ;umask=022 ; (process file creation umask;default 022) | |
| logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log) |