Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am mrfabbri on github.
  • I am mrfabbri (https://keybase.io/mrfabbri) on keybase.
  • I have a public key whose fingerprint is 429D DE03 5870 DBDA 08DF FA36 D98A B29A 1271 2285

To claim this, I am signing this object:

View index.html
<html>
<head>
<script type="text/javascript">
var nw = require('nw.gui');
var win = nw.Window.get();
var nativeMenu = new nw.Menu({ type: 'menubar' });
if ('createMacBuiltin' in nativeMenu) {
nativeMenu.createMacBuiltin('node-webkit');
View greet-xmas.sh
#!/bin/bash
#lights_off
#
# *==<
# /\
# / \
# / @ \
# / \
# / @ @ \
@mrfabbri
mrfabbri / eulerworker.html
Created Sep 19, 2010
A quick scaffolding html file to load a web worker at runtime, a sample web worker file is provided. Aimed at tinkering with project euler problems in JavaScript without freezing the browser.
View eulerworker.html
<html>
<head>
<title>
</title>
<style>
#input-area{
width: 400px;
margin: 10px;
}
@mrfabbri
mrfabbri / evilevalworker.html
Created Sep 19, 2010
A web worker used to offload evaluation (by means of an "evil eval") of some JavaScript code written inside the browser. A very quick and dirty hack.
View evilevalworker.html
<html>
<head>
<title>
</title>
<style>
#input-area{
width: 400px;
height: 400px;
margin: 10px;
}
You can’t perform that action at this time.