Skip to content

Instantly share code, notes, and snippets.

View digoreis's full-sized avatar
🙃

Rodrigo Reis digoreis

🙃
  • Lisbon
View GitHub Profile
@digoreis
digoreis / carrier-swift
Created October 14, 2015 17:24
Implementação de Operadora em Swift
import CoreTelephony
var phoneInfo = CTTelephonyNetworkInfo()
var phoneCarrier = phoneInfo.subscriberCellularProvider
println(phoneCarrier)
@digoreis
digoreis / 0_reuse_code.js
Created October 14, 2015 17:20
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@digoreis
digoreis / test_es6.js
Last active August 29, 2015 13:59
Rodando Script Node com Harmony
#!/usr/bin/env node --use-strict --harmony
if ('function' === typeof Map) {
console.log("ES6 Console Sucess!");
} else {
throw new Error("ES6 is required; add --harmony");
}