Skip to content

Instantly share code, notes, and snippets.

@mrfabbri
mrfabbri / keybase.md
Created August 3, 2014 08:58
Keybase proof

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:

<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');
@mrfabbri
mrfabbri / greet-xmas.sh
Created December 25, 2010 15:58
A nerdy Christmas greeting script [original post: http://questionmark.blogsome.com/2008/12/24/nerdy-christmas-take-2/ ]
#!/bin/bash
#lights_off
#
# *==<
# /\
# / \
# / @ \
# / \
# / @ @ \
@mrfabbri
mrfabbri / eulerworker.html
Created September 19, 2010 19:34
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.
<html>
<head>
<title>
</title>
<style>
#input-area{
width: 400px;
margin: 10px;
}
@mrfabbri
mrfabbri / evilevalworker.html
Created September 19, 2010 19:07
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.
<html>
<head>
<title>
</title>
<style>
#input-area{
width: 400px;
height: 400px;
margin: 10px;
}