Skip to content

Instantly share code, notes, and snippets.

View eljefedelrodeodeljefe's full-sized avatar
💭
👍

Robert Jefe Lindstädt eljefedelrodeodeljefe

💭
👍
View GitHub Profile
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / steps-lldb-jit-on-osx.md
Created March 6, 2016 14:28 — forked from thlorenz/steps-lldb-jit-on-osx.md
lldb JIT on OSX (showing no useful info at this point)

Installation

Ninja

  • needed for faster Node.js builds
brew install ninja
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / v8.md
Created March 6, 2016 00:02 — forked from kevincennis/v8.md
V8 Installation and d8 shell usage

Installing V8 on a Mac

Prerequisites

  • Install Xcode (Avaliable on the Mac App Store)
  • Install Xcode Command Line Tools (Preferences > Downloads)

Build V8

@eljefedelrodeodeljefe
eljefedelrodeodeljefe / platform_tools.js
Created December 31, 2015 16:19
Proposal for a node-native build toolchain 'platform_tools'
'use strict';
const spawn = require('child_process').spawn;
const fs = require('fs');
const util = require('util');
const debug = util.debuglog('platform_tools');
exports.configure = function configure(cb) {
if (!cb) {
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / Readme.md
Last active September 25, 2015 12:40
Current API Implementation of a node-opencv fork
method done tested
createMat
empty
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / 1_Koa API and Webserver
Last active May 23, 2016 20:09
Basic Koa API and Web Server
This is my basic starting point for any koa server. Mostly for module development with frontend components
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / Convert node-lists to arrays
Last active August 29, 2015 14:13
Convert node-lists to arrays
This is my approach to convert node-lists in order to apply Array.prototype methods like .forEach

What are we trying to observe? Raw object data.

// Objects
var obj = { id: 2 };
obj.id = 3; // obj == { id: 3 }
 
// Arrays
var arr = ['foo', 'bar'];
arr.splice(1, 1, 'baz'); // arr == ['foo', 'baz'];
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / CSS vertical fill with flexbox
Last active August 29, 2015 14:13
CSS vertical fill the body with flexbox
This is a little hack to get 'fixed' headers and footers while maintaining a body with variable height but 100/ filled.
SO: It's taking from the below stackoverflow comment.
http://stackoverflow.com/a/15388247/3580261
JSbin
http://jsbin.com/cifone/6/edit
@eljefedelrodeodeljefe
eljefedelrodeodeljefe / CORS-API-call
Last active August 29, 2015 14:13
CORS XMHttpRequest REST-ful API-call
This was the only working example I could find for a decent CORS REST call.
The original is from [CORSinAction](https://github.com/monsur/CORSinAction). Thanks for your nice books guys.
When you provide it with a valid API-key, the programm will fill your <body> with tiles of the numerous images
grabbed via the API. It's indeed a very nice example.
[link to working JS.bin](http://jsbin.com/yetudidiwo)