運行状況を取得する
東京メトロ10周年スペシャルサイトから開発者登録します。
http://tokyometro10th.jp/future/opendata/index.html
アカウント>アクセストークンの確認>追加からアクセストークンの確認・追加が出来ます。
This file contains 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.
...
2014年11月8日土曜日
2014年6月24日火曜日
2014年6月23日月曜日
さくらVPS(CentOS)でEC-CUBEのPCのCSSをgulpでminifyする

EC-CUBEのPCのCSSをgulpを使ってminifyする。
サーバー:さくらVPS
OS:CentOS
初期インストール状態でGoogleのPageSpeed Insights結果
Consider Fixing:のMinify CSSをgulpを使って修正したいと思います。
まずはサーバーのECCUBEをインストールしたディレクトリへ
$ cd /var/www/html/eccube/
gulpをインストールします
$ npm install gulp
gulpのminify用のプラグインをインストール
$ npm install gulp-minify-css
gulpfile.jsに下記内容を記載して/var/www/html/eccube/へアップロード
...