- source
- Vueはvue.jsのコアとなるコンストラクタ
- インスタンスが作られたときにデータバインディングが開始される
- オプションを取ることも出来て、DOMやデータやメソッドについて定義出来る
| gulp = require 'gulp' | |
| browserify = require 'browserify' | |
| watchify = require 'watchify' | |
| source = require 'vinyl-source-stream' | |
| colors = require 'colors' | |
| files = [ | |
| { | 
| >>> from redis import Redis | |
| >>> from ranking import Ranking | |
| >>> | |
| >>> ranking = Ranking(Redis(), 'event1') | |
| >>> | |
| >>> ranking.push('p1', 200) | |
| >>> ranking.push('p2', 100) | |
| >>> ranking.push('p3', 300) | |
| >>> ranking.push('p1', 1000) | |
| >>> ranking.push('p4', 1000) | 
| <?php | |
| // your main aplication config file | |
| // app/config/application.php | |
| $config = [ | |
| 'application' => [ | |
| 'cacheDir' => __DIR__ . '/../../cache/', | |
| 'appDir' => __DIR__ . '/../', | |
| 'baseUri' => '/', | |
| 'basePath' => '/', | |
| 'publicUrl' => 'http://www.your_domain.com', | 
| /// | |
| var pkg = require("./package.json") | |
| , rimraf = require("rimraf") | |
| , gulp = require("gulp") | |
| , gutil = require("gulp-util") | |
| , filter = require("gulp-filter") | |
| , plumber = require("gulp-plumber") | |
| , concat = require("gulp-concat") | |
| gulp.task("clean", function() { | 
By Saad Mousliki
御存知の通り、JavaScriptは数あるプログラミング言語のうちのひとつであり、モバイルのハイブリッドアプリ(PhoneGapやAppceleratorといった)や、サーバーサイド(NodeJSやWakanda)等の様々な所で実装されているWebの言語です。 また、Webブラウザにalertを出すところから、ロボットを動かす(nodebotやnodruinoを使って)ところまで様々なシーンで使われる言語となりました。 JavaScriptをマスターし、パフォーマンスの良いコードを生み出す開発者は市場で最も求められています。
WARNING: If you're reading this in 2021 or later, you're likely better served by reading:
(This gist was created in 2013 and targeted the legacy GOPATH mode.)
$ ssh -A vm
$ git config --global url."[email protected]:".insteadOf "https://github.com/"| <?php | |
| namespace Controllers; | |
| use OAuth\Common\Service\AbstractService; | |
| use OAuth\Common\Storage\Session as OAuthSession; | |
| class AuthController extends ControllerBase { | |
| // everytime we enter the controller, then we check for login, if yes, then we dont have to access here (except logout) | 
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.20179691910743713</real> | |
| <key>Green Component</key> | |
| <real>0.1818026602268219</real> |