(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.
| package com.collectiveidea.example; | |
| import android.content.Intent; | |
| import android.support.test.espresso.intent.Intents; | |
| import android.support.test.rule.ActivityTestRule; | |
| import android.support.test.runner.AndroidJUnit4; | |
| import com.collectiveidea.example.ui.LoginActivity; | |
| import com.collectiveidea.example.ui.MainActivity; | |
| import com.collectiveidea.example.util.AccountUtility; |
| enum ComparisonOrdering: Int { | |
| case Ascending = 1 | |
| case Descending = -1 | |
| case Same = 0 | |
| } | |
| infix operator <=> { precedence 130 } | |
| protocol CombinedComparable: Comparable, Equatable { | |
| func <=>(lhs: Self, rhs: Self) -> ComparisonOrdering | |
| } |
| class Regex { | |
| let pattern: String | |
| let options: NSRegularExpressionOptions! | |
| private var matcher: NSRegularExpression { | |
| return NSRegularExpression(pattern: self.pattern, options: nil, error: nil) | |
| } | |
| required init(pattern: String, options: NSRegularExpressionOptions = nil) { | |
| self.pattern = pattern |
(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.
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
Find it here: https://github.com/bitemyapp/learnhaskell
| module UtilitiesCost | |
| ( electricityCost | |
| , gasCost | |
| , waterCost | |
| , utilitiesCost | |
| ) where | |
| import Debug.Trace | |
| data Reading = Reading Double Double deriving (Eq, Show, Read) |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
I spent a lot of time trying to find a pretty optimal (for me) setup for Clojure… at the same time I was trying to dive in and learn it. This is never optimal; you shouldn't be fighting the environment while trying to learn something.
I feel like I went through a lot of pain searching Google, StackOverflow, blogs, and other sites for random tidbits of information and instructions.
This is a comprehensive "what I learned and what I ended up doing" that will hopefully be of use to others and act as a journal for myself if I ever have to do it again. I want to be very step-by-step and explain what's happening (and why) at each step.
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer