This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Split Pane</title> | |
<link rel="stylesheet" href="http://rawgithub.com/shagstrom/split-pane/master/split-pane.css" /> | |
<style> | |
html, body { | |
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; | |
font-size: 14px; | |
height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow} = require('electron') | |
let mainWindow | |
function createWindow () { | |
// Create the browser window. | |
mainWindow = new BrowserWindow({ | |
width: 800, | |
height: 600, | |
webPreferences: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
g++ ./hello.cc -shared -o libppapi_hello.so -I/home/robo/github/nacl_sdk/pepper_43/include -L/home/robo/github/nacl_sdk/pepper_43/lib/linux_host/Release -lppapi_cpp -lppapi -lpthread -Wall -fPIC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 826f15a681380b1d074db2cdeed4c5d143c3a3da | |
Author: Robo <[email protected]> | |
Date: Thu Apr 16 00:08:56 2015 +0530 | |
remove system location for module lookups | |
diff --git a/lib/module.js b/lib/module.js | |
index 79359da..c04778b 100644 | |
--- a/lib/module.js | |
+++ b/lib/module.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit a90c4c4e8ec298823a5421bca96a102f78971515 | |
Author: Robo <[email protected]> | |
Date: Tue Apr 14 07:47:25 2015 +0530 | |
Exposing startdebug, use_debug_agent and debug_wait_connect | |
diff --git a/src/node.cc b/src/node.cc | |
index aa0af85..5f8dc07 100644 | |
--- a/src/node.cc | |
+++ b/src/node.cc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var h = require('virtual-dom/h'); | |
var diff = require('virtual-dom/diff'); | |
var patch = require('virtual-dom/patch'); | |
var createElement = require('virtual-dom/create-element'); | |
var Delegator = require('dom-delegator') | |
var struct = require('observ-struct') | |
var observ = require('observ') | |
var raf = require('raf') | |
var state = struct({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var h = require('virtual-dom/h'); | |
var diff = require('virtual-dom/diff'); | |
var patch = require('virtual-dom/patch'); | |
var createElement = require('virtual-dom/create-element'); | |
var Delegator = require('./dom-delegator') | |
var state = { | |
clicks: function (ev) { | |
delegator.unlistenTo('click') | |
console.log(ev) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _slice = Array.prototype.slice; | |
function Maybe (fn) { | |
return function () { | |
return fn !== void 0 ? fn.apply(this, arguments) : 'Notimplemented' | |
} | |
} | |
function N (f) { | |
var name = f.name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Newbie Programmer */ | |
function fac(n) { | |
if(n === 0) | |
return 1; | |
else | |
return n * fac(n-1); | |
} | |
/** Callback programmer */ | |
function fact(n, cback) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App1.aci: | |
``` | |
{ | |
"mountPoints": [ | |
{ | |
"name": "A", | |
"path": "/app1/a" | |
}, | |
{ | |
"name": "B", |