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.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="bower_components/famous-angular/dist/famous-angular.css"> |
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.
Learn more about bidirectional Unicode characters
$ bower search intro |
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.
Learn more about bidirectional Unicode characters
elements = [] | |
elements = @evaluate -> | |
items = document.querySelectorAll(".activities article .body a[href*=\"/items/\"]") | |
Array::map.call items, (e) -> | |
e.getAttribute('href'); |
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.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
var SimpleEventEmitter = (function() { | |
var SimpleEventEmitter = function() { | |
}; | |
function isString(arg) { | |
return typeof arg === 'string'; | |
} |
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.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
// インスタンスエリア ------------------------------------------------------- | |
var Foo = function () { | |
// Private な インスタンス変数 | |
var privateMemberVar = 99; | |
// Private な インスタンスメソッド(Private なインスタンス変数にアクセス可) |
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.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
var moduleName = 'SimpleEventEmitter'; | |
var SimpleEventEmitter = function() { | |
}; | |
function isString(arg) { | |
return typeof arg === 'string'; |
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.
Learn more about bidirectional Unicode characters
// Proxy 用のハンドラ | |
var handler = { | |
set: function(obj, prop, value) { | |
obj[prop] = value; | |
// 何かのプロパティの値が変更されたら onDataChange メソッドを呼び出す | |
if (typeof obj['onDataChange'] !== 'undefined') { | |
obj.onDataChange(); | |
} |
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.
Learn more about bidirectional Unicode characters
package io.github.hkusu.realmtodoapp; | |
import android.os.Handler; | |
import android.os.HandlerThread; | |
import java.util.List; | |
import de.greenrobot.event.EventBus; | |
import io.realm.Realm; | |
import io.realm.RealmResults; |
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.
Learn more about bidirectional Unicode characters
// $ casperjs --ignore-ssl-errors=yes check-google-play.js https://play.google.com/store/apps/details?id=jp.nailbook | |
var casper = require('casper').create(); | |
var url = casper.cli.get(0); // コマンドライン引数からスクレイピング対象のURLを取得 | |
var results = []; | |
casper.start(url, function() { |
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.
Learn more about bidirectional Unicode characters
package com.netflix.experiments.rx; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import rx.Observable; | |
import rx.Observable.OnSubscribe; |
OlderNewer