(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.
#!/bin/bash | |
# | |
# Self-contained command line processing in bash that supports the | |
# minimal, lowest common denominator compatibility of flag parsing. | |
# -u: undefined variables is an error | |
# -e: exit shell on error | |
set -eu | |
function usage() { |
This project has moved to https://github.com/alblue/com.bandlem.jmh.microopts |
# |<--- ^ <emoji>? <type>: <subject> ^ --->| | |
# |<--- v Explain why this change is being made v --->| | |
# |<--- v Provide links to tickets, issues or other resources v --->| | |
# --- COMMIT END --- |
javascript:var interval = setInterval(function(){ $("#box span[style='background-color: " + _.invert(_.countBy(_.map($("#box span"),function(e){return $(e).css("background-color")}), function(e){ return e}))[1] + ";']").click() }, 100) |
# Type(<scope>): <subject> | |
# <body> | |
# <footer> | |
# Type should be one of the following: | |
# * feat (new feature) | |
# * fix (bug fix) | |
# * docs (changes to documentation) |
(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.
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |
Note: this is a summary of different git workflows putting together to a small git bible. references are in between the text
try to keep your hacking out of the master and create feature branches. the [feature-branch workflow][4] is a good median between noobs (i have no idea how to branch) and git veterans (let's do some rocket sience with git branches!). everybody get the idea!
import urllib | |
import re | |
def get_quote(symbol): | |
base_url = 'http://finance.google.com/finance?q=' | |
content = urllib.urlopen(base_url + symbol).read() | |
m = re.search('id="ref_694653_l".*?>(.*?)<', content) | |
if m: | |
quote = m.group(1) | |
else: |
//{ Locate follows into your class | |
public static class ApplicationInfo { | |
public String label; | |
public String name; | |
public String packageName; | |
public Drawable icon; | |
@Override | |
public String toString() { | |
return "label:" + label + " name:" + name + " packageName:" |