Skip to content

Instantly share code, notes, and snippets.

ks123456 /stock/src/node-v0.1.101 exited 2
1195 node-v0.1.101 % uname -a 17/07/2010 23:12:12 jblanche
Linux ks123456.kimsufi.com 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux
ks123456 /stock/src/node-v0.1.101
1196 node-v0.1.101 % cat /etc/debian_version 17/07/2010 23:12:45 jblanche
5.0.5
ks123456 /stock/src/node-v0.1.101
1197 node-v0.1.101 % gcc --version 17/07/2010 23:12:48 jblanche
gcc (Debian 4.3.2-1.1) 4.3.2
1214 Socket.IO-node:master % make ./tests/support/expresso/bin/expresso -I lib tests/*.test.js
9 Aug 20:51:11 - socket.io ready - accepting connections
--- uncaught ------------------------------------------------------
1) : TypeError: Bad file descriptor argument
at Server._doListen (net:1190:14)
at net:1155:12
at EventEmitter._tickCallback (node.js:50:25)
#########################################################################################################
# I18n French translation for Devise (http://github.com/plataformatec/devise)
# I18n traduction de français pour Devise
#########################################################################################################
fr:
errors:
messages:
not_found: "n'a pas été trouvé(e)"
already_confirmed: "a déjà été confirmé(e)"
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApOciAKtFun1As+oX3gnNvNF9mLae3FaVHpZxz/ildzYhX9F4yUJWlyQowk5mFOg6LBCVHqfeOoS2AHGLSj3g4S4Ye5vmacxK1lcnsA+DXy9CuEgDs7MWK5DTmD3TsBmeqVNJxGBdHUquSE197Sw77DXW1M5YNMkcc2hcXIWyedaOWvkhjyXXo5j1A7S7NBWbPovfGgBZi3j0882GRjwfNFjTYqLmDrq9nMgwe2MbsMm7JvG+ncn6LzMECjspfeltCPBkXQ5+yooWXL78yE55f4IMzKF92tPqXIGXab6ozW5nwVC+Rv5F21tTHm3gX8twlF56hTf6E0mWB/ThMSI4mQ== jonathanblanchet@MacBook-de-Jonathan-Blanchet.local
# DragonFly makes image handling with Rails3 easy but you must have one and only one image per field
# but what if I want to display a Gallery of places photos ?
# Is there a way to do something like this ? Where I could have only one image for a place and maybe ten for another one ?
class Place
include Mongoid::Document
images_accessor :place_images #Note the final S : imageS_accessor
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAryfnTaMc15LkUszhjkxR4W3LVj1mlyjqdajR/kYZfBIvlaHIUkegac7S0dbyop61idDrsk4IpDDaF/g54YklGdxICFEtQiLQgk/jD3jrsO0RQAvB3S0B7YUt5IF+8dw3cyEYvD0KVm53DL5BT3RnvAUnjsRHMwwY9rbLbRIrVNMY+Nz9p/r5GBV4MRINq1VIjaUnY4XIH/pv+jqlML5kPfP3OZ6dizrxjwM4tBEaqXm4WL0ARVp/G3Ea6Vx9JA65BZGljvNKe72KklIghV2feZIPhFF0n3GC/RmfVjpYP55x5Uru9KGKDkWv2AuuEORJskiYZ5eDXkEH5TaM+MPYhQ== nerik@imac-de-juliette-champain.local
@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/
➜ dev npm install npm
npm info it worked if it ends with ok
npm info using npm@0.2.3
npm WARN not supported on node@v0.4.2 npm
npm WARN npm supported engines: undefined
npm WARN not supported on node@v0.4.2 npm
npm WARN npm supported engines: undefined
npm WARN not supported on node@v0.4.2 npm
npm WARN npm supported engines: undefined
npm WARN not supported on node@v0.4.2 npm
@jblanche
jblanche / overlay.js
Created March 25, 2011 16:13
adding the button to the toolbar
Application.getExtensions(function (extensions) {
let extension = extensions.get('enjoyreading@jblanche.fr');
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) {
➜ 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