Skip to content

Instantly share code, notes, and snippets.

@jblanche
jblanche / Consignes.txt
Created October 23, 2011 16:45
eval gobelins
CONSIGNES :
Créer une application informant sur les nouveaux tweets reçus sur Twitter et comprenant le mot "Future".
La partie gauche est en CANVAS.
Les tweets arrivent par la gauche et partent vers la droite, en s'éloignant en profondeur.
La taille de départ du tweet dépend de la taille du message.
La couleur plus ou moins au hasard (par exemple dans un theme kuler).
A droite SVG + HTML/CSS (Je vous laisse choisir quel techno où...)
@jblanche
jblanche / helloWorld.coffee
Created October 12, 2011 11:38
Hello World Coffee
class HelloCoffee
constructor: ->
console.log "Hello Coffee"
hc = new HelloCoffee()
@jblanche
jblanche / HelloDartTest.dart
Created October 12, 2011 11:36
Dart Compilation
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Simple test program invoked with an option to eagerly
// compile all code that is loaded in the isolate.
// VMOptions=--compile_all
class HelloDartTest {
static testMain() {
print("Hello, Darter!");
@jblanche
jblanche / prog.txt
Created October 11, 2011 15:35
Programme paris web @jblanchefr
Jeudi :
9h10 : KISS dans une grande entreprise ? par Stéphane Deschamps dans le GA
10h10 : Dilemme mais plutôt Les goûts et les couleurs par David Rault dans le GA
11h25 : Optimizing your layout for phones and tablets... par Andreas Bovens dans le GA
12h25 : Je veux un VRAI sous-titrage ! par Sophie Drouvroy dans le GA
14h10 : HTML5 APIs: Where no man has gone before par Robert Nyman dans le GA
15h10 : Dilemme
16h25 : Ouvrir le Web un bug à la fois par Karl Dubost dans le GA
16h50 : Lightning talks par Daniel Glazman et Robin Berjon
➜ second_year git:(master) ls
lib test
➜ second_year git:(master) node --version
v0.4.7
➜ second_year git:(master) npm --version
1.0.9-1
➜ second_year git:(master) npm install vows
[email protected] ../../../node_modules/vows
└── [email protected]
➜ second_year git:(master) ls
@jblanche
jblanche / parser.coffee
Created May 10, 2011 11:18
the awesome
class Parser
constructor: (el) ->
@html = el
@tracks = []
@parse()
toJSON: ->
{"tracks": @tracks}
parse: ->
➜ pwd
/Users/jblanche/.pow
➜ ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
➜ cd barthuspreview
➜ cat .rvmrc
rvm 1.9.2@barthuspreview
@jblanche
jblanche / overlay.js
Created March 25, 2011 16:13
adding the button to the toolbar
Application.getExtensions(function (extensions) {
let extension = extensions.get('[email protected]');
if (extension.firstRun) {
var myId = "enjoyreading-toolbar-button"; // ID of button to add
var afterId = "urlbar-container"; // ID of element to insert after
var navBar = document.getElementById("nav-bar");
var curSet = navBar.currentSet.split(",");
if (curSet.indexOf(myId) == -1) {
➜ dev npm install npm
npm info it worked if it ends with ok
npm info using [email protected]
npm WARN not supported on [email protected] npm
npm WARN npm supported engines: undefined
npm WARN not supported on [email protected] npm
npm WARN npm supported engines: undefined
npm WARN not supported on [email protected] npm
npm WARN npm supported engines: undefined
npm WARN not supported on [email protected] npm
@jblanche
jblanche / gist:867786
Created March 13, 2011 01:54
AtelierJS
http://gmoeck.github.com/2011/03/10/sproutcore-mvc-vs-rails-mvc.html
https://github.com/suvajitgupta/Tasks
http://gtmetrix.com/
http://benchmarkjs.com/
http://www.charlesproxy.com/
http://mislav.uniqpath.com/2011/03/click-hijack/
http://bonsaiden.github.com/JavaScript-Garden/#intro
https://github.com/sstephenson/execjs
https://github.com/hagenburger/lemonade
http://paul.donnelly.org/2009/07/08/yql-and-jsonp-x/