Skip to content

Instantly share code, notes, and snippets.

View sylvinus's full-sized avatar

Sylvain Zimmer sylvinus

View GitHub Profile

Keybase proof

I hereby claim:

  • I am sylvinus on github.
  • I am sylvinus (https://keybase.io/sylvinus) on keybase.
  • I have a public key whose fingerprint is 0693 C4BE D838 E81E 36E9 1836 79C8 120B FB5C 3DBA

To claim this, I am signing this object:

@sylvinus
sylvinus / .gitignore
Created December 15, 2012 21:10
3D Model upload to Sketchfab from Node.js
node_modules
var requirejs = require("requirejs");
requirejs.config({
nodeRequire: require,
baseUrl: "./"
});
requirejs(["./app/path2"],function(p2) {
exports.getCode = function(db,col,options,cb) {
mktemp("optimizedbuild",function(err,tmpfile) {
if (err) return cb(err);
var config = {
baseUrl: path.resolve(__dirname,'../../'),
name: "./databases/"+db+'/'+col,
out: tmpfile,
In my main file:
requirejs.config({
nodeRequire: require,
paths:{
"datajslib":path.resolve("./datajslib.js")
}
});
requirejs(["./databases/"+req.params.db+"/"+req.params.collection],function(DB) {
@sylvinus
sylvinus / LICENSE.txt
Created October 5, 2011 07:13 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@sylvinus
sylvinus / LICENSE.txt
Created October 5, 2011 00:38 — forked from p01/LICENSE.txt
American Soundex in 133 bytes
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@sylvinus
sylvinus / LICENSE.txt
Created October 2, 2011 10:24 — forked from 140bytes/LICENSE.txt
Mandelbrot in less than 140 bytes of Javasacript
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
from fabric.api import *
import os,shutil,re,sys
def test_all():
with show('everything'):
local("echo 'a'")
@sylvinus
sylvinus / Chrome OS presentation video hidden equation
Created December 10, 2010 14:56
Run this on wolframalpha.com
((9*10^4+3^4+10)/100) / (
(
(2^8) - 10 + (4*(6!))+17^4+(11!/5)+(integrate 3x^5 dx from x=1 to x=9 )
)*(
2*23^6-((2^28+4)/10-(22^4+3*70-sqrt(81))
)*(
3x17^4-(sqrt(256)+31x30^2)