2014年11月8日土曜日

東京メトロのAPIを使って運行状況を取得する

運行状況を取得する 東京メトロ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年6月24日火曜日

EC CUBEへAnalytics Eコマース トラッキングタグの設置

EC CUBEにGoogleアナリティクス Eコマーストラッキングの導入する方法 ユニーバーサルアナリティクスでの導入方法です アナリティクスのコードが下記でない方は、アナリティクス設定からユニバーサルアナリティクスに移行してください This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears...

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/へアップロード ...