(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.
| // by david >:) | |
| int[][] result; | |
| float t; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { |
| //by dave @ bees & bombs | |
| int[][] result; | |
| float t; | |
| float ease(float p) { | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { // via patakk >:) |
| // by dave @ bees & bombs | |
| int[][] result; | |
| float t; | |
| void setup() { | |
| setup_(); | |
| result = new int[width*height][3]; | |
| } |
| // | |
| // JAZMusician.h | |
| // JazzyApp | |
| // | |
| #import <Foundation/Foundation.h> | |
| /** | |
| JAZMusician models, you guessed it... Jazz Musicians! | |
| From Ellington to Marsalis, this class has you covered. |
(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.
| /** | |
| * @fileoverview Pearson correlation score algorithm. | |
| * @author [email protected] (Matt West) | |
| * @license Copyright 2013 Matt West. | |
| * Licensed under MIT (http://opensource.org/licenses/MIT). | |
| */ | |
| /** | |
| * Calculate the person correlation score between two items in a dataset. |
| xcode_proj=`find . -name "*.xc*" -d 1 | sort -r | head -1` | |
| if [ `echo -n $xcode_proj | wc -m` == 0 ] | |
| then | |
| echo "No xcworkspace/xcodeproj file found in the current directory." | |
| exit 1 | |
| fi | |
| echo "Found $xcode_proj" | |
| open $xcode_proj |
| - (UIViewController *)topViewController{ | |
| return [self topViewController:[UIApplication sharedApplication].keyWindow.rootViewController]; | |
| } | |
| - (UIViewController *)topViewController:(UIViewController *)rootViewController | |
| { | |
| if (rootViewController.presentedViewController == nil) { | |
| return rootViewController; | |
| } | |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"