Instead of the verbose setOnClickListener
:
RxView.clicks(submitButton).subscribe(o -> log("submit button clicked!"));
Observable
.just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> | |
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> | |
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/_build/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> | |
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/deps/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> |
// | |
// FontUtil.swift | |
// FantasyMovieLeague | |
// | |
// Created by Ben Dalziel on 2/17/16. | |
// Copyright © 2016 Kinetoplay. All rights reserved. | |
// | |
import UIKit |
// | |
// ColorUtil.swift | |
// FantasyMovieLeague | |
// | |
// Created by Ben Dalziel on 2/17/16. | |
// Copyright © 2016 Kinetoplay. All rights reserved. | |
// | |
import SwiftHEXColors |
These rules are adopted from the AngularJS commit conventions.
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
// Uses Node, AMD or browser globals to create a module. | |
// If you want something that will work in other stricter CommonJS environments, | |
// or if you need to create a circular dependency, see commonJsStrict.js | |
// Defines a module "returnExports" that depends another module called "b". | |
// Note that the name of the module is implied by the file name. It is best | |
// if the file name and the exported global have matching names. | |
// If the 'b' module also uses this type of boilerplate, then |