(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.
license: gpl-3.0 | |
redirect: https://observablehq.com/@d3/zoomable-scatterplot |
(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.
// Apple Crayon Palette RGB | |
$cantaloupe: rgb(255, 206, 110); | |
$honeydew: rgb(206, 250, 110); | |
$spindrift: rgb(104, 251, 208); | |
$sky: rgb(106, 207, 255); | |
$lavender: rgb(210, 120, 255); | |
$carnation: rgb(255, 127, 211); | |
$licorice: rgb(0, 0, 0); | |
$snow: rgb(255, 255, 255); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Virtual Scrolling Demo</title> | |
<style> | |
html, body { | |
width: 100%; | |
height: 100%; | |
margin: 0; |
var keywords_color_regex = /^[a-z]*$/; | |
var hex_color_regex = /^#[0-9a-f]{3}([0-9a-f]{3})?$/; | |
var rgb_color_regex = /^rgb\(\s*(0|[1-9]\d?|1\d\d?|2[0-4]\d|25[0-5])%?\s*,\s*(0|[1-9]\d?|1\d\d?|2[0-4]\d|25[0-5])%?\s*,\s*(0|[1-9]\d?|1\d\d?|2[0-4]\d|25[0-5])%?\s*\)$/; | |
var rgba_color_regex = /^rgba\(\s*(0|[1-9]\d?|1\d\d?|2[0-4]\d|25[0-5])%?\s*,\s*(0|[1-9]\d?|1\d\d?|2[0-4]\d|25[0-5])%?\s*,\s*(0|[1-9]\d?|1\d\d?|2[0-4]\d|25[0-5])%?\s*,\s*((0.[1-9])|[01])\s*\)$/; | |
var hsl_color_regex = /^hsl\(\s*(0|[1-9]\d?|[12]\d\d|3[0-5]\d)\s*,\s*((0|[1-9]\d?|100)%)\s*,\s*((0|[1-9]\d?|100)%)\s*\)$/; |
license: apache-2.0 |
@interface UIImage (Orientation) | |
- (UIImage*)imageByNormalizingOrientation; | |
@end | |
@implementation UIImage (Orientation) | |
- (UIImage*)imageByNormalizingOrientation { |
license: gpl-3.0 |
// | |
// UIDeviceHardware.h | |
// | |
// Used to determine EXACT version of device software is running on. | |
#import <Foundation/Foundation.h> | |
@interface UIDeviceHardware : NSObject | |
- (NSString *) platform; |