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
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" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>MarkdownEditing</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@cecilemuller
cecilemuller / example.html
Last active Aug 29, 2015
Better underlines, especially on Retina
View example.html
<p>
Lorem ipsum consectetur <a href="#">simple basic link paqejigu</a> adipisicing
elit aut <a class="enhanced" href="#">simple enhanced link paqejigu</a> aut officia
adipisci nemo perferendis eveniet delectus ipsam consectetur. Molestiae, iste
ipsa sit aliquid quasi quidem ab? Enim veritatis architecto commodi!
</p>
<p>
Lorem ipsum consectetur <b><a href="#">bold basic link paqejigu</a></b> adipisicing
elit aut <b><a class="enhanced" href="#">bold enhanced link paqejigu</a></b> officia
@cecilemuller
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');
parse(
'a_big_text_file.txt',
function process_one_line(line, done){
@cecilemuller
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
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">
<Scene>
<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>
<Script>
<field accessType="initializeOnly" name="interp" type="SFNode">
<OrientationInterpolator USE="interp"/>
</field>
@cecilemuller
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
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';
gulp.src('src/**/*.wrl')
.pipe(gzip({
append: false,
gzipOptions: {
level: 9
View keybase.md

Keybase proof

I hereby claim:

  • I am cecilemuller on github.
  • I am wildpeaks (https://keybase.io/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
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.pipe(JSONStream.stringify()).pipe(process.stdout);
md.end({file: './src/index.js'});
@cecilemuller
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(
You can’t perform that action at this time.