##formとはいったい ユーザからサーバに情報を送信できるようにする仕組み。
##書き方
submit##重要なこと
| // PDO | |
| // http://php.net/manual/ja/pdo.lastinsertid.php | |
| $movieId = DB::getPdo()->lastInsertId(); |
| # /var/etc/nginx/nginx.conf | |
| location ~ \.php$ { | |
| fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| fastcgi_param PATH_INFO $fastcgi_script_name; | |
| include fastcgi_params; | |
| } |
| =min($width: 960px) | |
| @media only screen and (min-width: $width) | |
| @content | |
| .title | |
| +min() | |
| font-size: 2rem |
| // $.easing.easing(null, current_time, start_value, end_value, total_time); | |
| // http://gsgd.co.uk/sandbox/jquery/easing/ | |
| // プラグインが必要 | |
| var duration = 600; | |
| var startTime = (new Date()).getTime(); | |
| // * | |
| // * ループをRAFでまわしたりする | |
| // * valueにeasingが加味された値が返る | |
| // * |
| composer create-project "laravel/laravel=5.2.*" hoge |
| <meta name="robots" content="noindex"> | |
| https://support.google.com/webmasters/answer/93710?hl=ja |
##formとはいったい ユーザからサーバに情報を送信できるようにする仕組み。
##書き方
submit##重要なこと
| SELECT * FROM `select` WHERE `select`.id > 100; | |
| # バッククオートで囲むと予約語も使える | |
| # http://dev.mysql.com/doc/refman/5.6/ja/identifiers.html |
| #!/bin/bash | |
| snippet_file='snippet.txt' | |
| window_size=320 | |
| # ファイルを空にする | |
| echo -n > ${snippet_file} | |
| for i in {1..40} | |
| do |
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^ index.php [L] |