I hereby claim:
- I am oncletom on github.
- I am oncletom (https://keybase.io/oncletom) on keybase.
- I have a public key ASDuZSGubIkd5hTeiDzH25-afDvVZ28OOyGUAR2v_Zo-mgo
To claim this, I am signing this object:
class Invoker { | |
invoke() { | |
return Invoker.convertFromStdin() | |
} | |
static async convertFromStdin() { | |
console.log('>>> convertFromStdin') | |
const data = await Invoker.readFromStdin() | |
console.log('<<< convertFromStdin', data) | |
} |
const variables = [] | |
function isDuplicate(program, index, programs) { | |
return programs.slice(i+1).contains(p => { | |
return p.program.genrePressCode !== program.program.genrePresseCode | |
}) | |
} | |
function mapProgram({language, idChannel}) { | |
return (program) => ({ |
// 'use strict'; | |
a = 32 | |
printA() | |
function printA() { | |
console.log(a) | |
} | |
a = 64 |
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
angular.module('voxxrin') | |
.controller('PresentationsCtrl', function ($scope, $stateParams, SharedData) { | |
Promise.all(SharedData.loadPresentationsForEventPromises($stateParams.eventId)).then(function(presentations){ | |
$scope.presentations = presentations; | |
}); | |
}); |
// require() some stuff from npm (like you were using browserify) | |
// and then hit Run Code to run it on the right | |
var d3 = require('d3'); | |
var geoJSONUrl = 'https://cdn.rawgit.com/gregoiredavid/france-geojson/master/regions.geojson'; | |
var path = d3.geo.path(); | |
var svg = d3.select("body").append("svg") | |
.attr("width", 960) |
Last week Apple announced amongst many new things an update to Apple TV. It now runs on a new operating system named tvOS and includes an app store allowing third-party apps. These apps can be developed using many frameworks and concepts quite familiar to the iOS ones (Foundation, UIKit and CoreGraphics), but also includes some new APIs like TVServices.
We were eager to find out if it was possible to run NativeScript on this new device.
The NativeScript runtime for iOS uses CMake to ease the build configuration process. All we had to do in order to make our build (which includes the JavaScriptCore engine) Apple TV compatible, was to add two more platforms in our config scripts:
set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos;-iphonesimul
nvm use 4
npm run build
node main.js