// 一覧
$routes->connect('/images', [
'controller' => 'Images',
'action' => 'index',
'[method]' => 'GET'
]);
// 画像アップロード
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
| # これらのコマンド実行時 | |
| $ rbenv install 2.2.4 | |
| $ gem update | |
| # rebaseallで再配置をする | |
| $ find ~ -name '*.so' > /tmp/rebase.lst | |
| $ find ~ -name '*.dll' >> /tmp/rebase.lst | |
| # https://www.drupal.org/node/2191571 |
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
| [color] | |
| ui = auto | |
| [alias] | |
| ad = add | |
| st = status | |
| df = diff | |
| cm = commit | |
| co = checkout | |
| br = branch | |
| psh = push origin master |
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
| HaskellはHaskell Platformでインストール | |
| - stackだとghc-modを入れるところでこける | |
| Kaoriya版Vimは内部エンコーディングがcp932なので、utf8にする | |
| - /switches/catalog/utf-8.vim を /switches/enabled へコピー | |
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
| function! neocomplete#sources#php#helper#get_internal_function_list() " {{{ | |
| " 省略 | |
| try | |
| let l:code = '$functions = get_defined_functions();' | |
| - let l:code .= 'echo json_encode($functions["internal"]);' | |
| + let l:code .= 'echo json_encode($functions[\"internal\"]);' | |
| - let l:cmd = 'php -r ''' . l:code . '''' | |
| + let l:cmd = 'php -r "' . l:code . '"' | |
| let l:function_list = eval(system(l:cmd)) |
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
| public static class ObserverExtensions | |
| { | |
| /// <summary> | |
| /// periodの期間内にcount回数の値が通過した時、その時の最新の値を出す | |
| /// </summary> | |
| /// <typeparam name="T"></typeparam> | |
| /// <param name="self"></param> | |
| /// <param name="period"></param> | |
| /// <param name="count"></param> | |
| /// <param name="removeArrivedCache"></param> |
NewerOlder