Skip to content

Instantly share code, notes, and snippets.

Cecile Muller cecilemuller

Block or report user

Report or block cecilemuller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
cecilemuller / MarkdownEditor-Soda Dark.tmTheme
Last active Aug 29, 2015
A MarkdownEditor color scheme that fits Soda Dark +Monokai Extended better than MarkdownEditor Dark
View MarkdownEditor-Soda Dark.tmTheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
cecilemuller / example.js
Last active Aug 29, 2015
Parse a large UTF8 text file, line by line, asynchronously (e.g. for saving to the database before continuing)
View example.js
/* global console*/
/* global require*/
var count = 0;
var parse = require('./parser');
function process_one_line(line, done){
cecilemuller / gist:e5e0e36634efe504d5dc
Created Jun 29, 2014
[OSX] Returns the path to the iOS SDK if it's installed
View gist:e5e0e36634efe504d5dc
xcrun --show-sdk-path -sdk iphoneos
cecilemuller / example.x3d
Last active Aug 29, 2015
Script inside a X3D scene
View example.x3d
<?xml version="1.0" encoding="UTF-8"?>
<X3D profile="Immersive" version="3.0">
<OrientationInterpolator DEF="interp" key='0,0.5,1' keyValue='0 1 0 0.5,0 1 0 0.8,0 1 0 1.2'></OrientationInterpolator>
<field accessType="initializeOnly" name="interp" type="SFNode">
<OrientationInterpolator USE="interp"/>
cecilemuller / proto.OrientationToDirection.wrl
Last active Aug 29, 2015
Convert an SFRotation orientation to an SFVec3f direction
View proto.OrientationToDirection.wrl
#VRML V2.0 utf8
# Convert an SFRotation orientation to an SFVec3f direction
PROTO OrientationToDirection [
eventIn SFRotation set_orientation
eventOut SFVec3f direction_changed
Script {
cecilemuller / gulpfile.js
Created Nov 8, 2014
Gulp task that compresses VRML files
View gulpfile.js
var gulp = require('gulp');
var gzip = require('gulp-gzip');
gulp.task('vrml', function(){
'use strict';
append: false,
gzipOptions: {
level: 9

Keybase proof

I hereby claim:

  • I am cecilemuller on github.
  • I am wildpeaks ( on keybase.
  • I have a public key whose fingerprint is C5AA 467A 8929 D95A 79EB 2450 8CA3 818E B82E 476F

To claim this, I am signing this object:

cecilemuller / find_dependencies.js
Created Feb 5, 2015
Get the list of dependencies of a Browserify application
View find_dependencies.js
var mdeps = require('module-deps');
var JSONStream = require('JSONStream');
var md = mdeps({
// "transformKey" allows it to find the transforms (e.g. JSX or ES6 precompilation) from package.json
transformKey: ['browserify', 'transform']
md.end({file: './src/index.js'});
cecilemuller / aggregate.js
Created Feb 5, 2015
Aggregates files from package.json of all modules given an entry point script for Browserify
View aggregate.js
var fs = require('fs');
var path = require('path');
var mdeps = require('module-deps');
var through = require('through');
function get_dependency_files(filepath, callback){
'use strict';
var scripts = [];
var mytransform = through(
cecilemuller / gist:de44435d8d1b4d30c5de
Created Feb 22, 2015
Minified Browserify bundle with sourcemap
View gist:de44435d8d1b4d30c5de
var browserify = require('browserify');
var uglify = require('uglify-js');
var extract = require('convert-source-map');
var SourceMapGenerator = require('source-map').SourceMapGenerator;
var SourceMapConsumer = require('source-map').SourceMapConsumer;
You can’t perform that action at this time.