###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
func luhnCheck(number: String) -> Bool { | |
var sum = 0 | |
let digitStrings = reverse(number).map { String($0) } | |
for tuple in enumerate(digitStrings) { | |
if let digit = tuple.element.toInt() { | |
let odd = tuple.index % 2 == 1 | |
switch (odd, digit) { | |
case (true, 9): |
#pragma strict | |
import MiniJSON; | |
import System.Collections.Generic; | |
function Start () { | |
var jsonString = "{ \"array\": [1.44,2,3], " + | |
"\"object\": {\"key1\":\"value1\", \"key2\":256}, " + | |
"\"string\": \"The quick brown fox \\\"jumps\\\" over the lazy dog \", " + | |
"\"unicode\": \"\\u3041 Men\\u00fa sesi\\u00f3n\", " + | |
"\"int\": 65536, " + |