(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/usr/bin/python | |
| # License for any modification to the original (linked below): | |
| # ---------------------------------------------------------------------------- | |
| # "THE BEER-WARE LICENSE" (Revision 42): | |
| # Sebastiano Poggi and Daniele Conti wrote this file. As long as you retain | |
| # this notice you can do whatever you want with this stuff. If we meet some day, | |
| # and you think this stuff is worth it, you can buy us a beer in return. | |
| import argparse, sys, subprocess, tempfile |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <snippet> | |
| <content><![CDATA[ | |
| <link rel="import" href="../../bower_components/polymer/polymer.html"> | |
| <polymer-element name="$1" attributes="${2/:[^\n$]*(\n[ \t]*|$)/ /g}"> | |
| <template> | |
| <style> | |
| :host { | |
| display: block; | |
| } |
| import com.android.volley.toolbox.HurlStack; | |
| import com.squareup.okhttp.OkHttpClient; | |
| import java.io.IOException; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| /** | |
| * An {@link com.android.volley.toolbox.HttpStack HttpStack} implementation which | |
| * uses OkHttp as its transport. | |
| */ |
| Moved to | |
| https://github.com/romannurik/android-swipetodismiss |
| require 'chronic' | |
| require 'timecop' | |
| module TemporalHelpers | |
| # Travels to +time+ and lets the clock keep running. | |
| # | |
| # If a block is given, executes the block at that | |
| # time then returns to the present. | |
| def travel_to(time, &block) |