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
View Makefile
casperjs index.js && convert *.jpg video.mpeg && gify video.mpeg out.gif && rm *.jpg video.mpeg
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 / 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 / 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;
cecilemuller / index.html
Created Mar 3, 2015
CSS styles based on number of children
View index.html
<div class="list">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
<div class="list">
<div>Item 1</div>
cecilemuller / Preferences.sublime-settings
Created Mar 23, 2015
ST3 User Preferences (Packages\User\Preferences.sublime-settings)
View Preferences.sublime-settings
"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme",
"detect_indentation": false,
"font_size": 13,
"theme": "Soda Dark 3.sublime-theme",
cecilemuller / .eslintrc
Last active Sep 10, 2015
Eslint rules
View .eslintrc
"ecmaFeatures": {
"jsx": true
"env": {
"browser": true,
"node": true,
"es6": true
"plugins": [
cecilemuller / index.html
Created Nov 11, 2011
Getting started with BS Contact iOS
View index.html
<title>3D Demos</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<link rel="apple-touch-icon" href="icon.png" />
<link href="styles.css" rel="stylesheet" />
cecilemuller / gist:1375646
Created Nov 18, 2011
iPhone, iPad and Android icons and loading screens for web applications
View gist:1375646
<!-- For iPhone 4 with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png">
<!-- For first-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">
cecilemuller / combine_rotations.wrl
Created Jan 8, 2012
Combine two SFRotation into a single SFRotation using VRMLScript
View combine_rotations.wrl
#VRML V2.0 utf8
position 0 0 10
You can’t perform that action at this time.