Skip to content

Instantly share code, notes, and snippets.

View cappert's full-sized avatar

Camille Appert cappert

View GitHub Profile
Faraday::Builder is now Faraday::RackBuilder.
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
(sass):299: Invalid CSS after " color: #b61924;": expected "}", was "@include: trans..." (Sass::SyntaxError)
from /Users/camille/.gem/ruby/2.1.1/gems/sass-3.2.13/lib/sass/scss/parser.rb:1147:in `expected'
from /Users/camille/.gem/ruby/2.1.1/gems/sass-3.2.13/lib/sass/scss/parser.rb:1085:in `expected'
from /Users/camille/.gem/ruby/2.1.1/gems/sass-3.2.13/lib/sass/scss/parser.rb:1080:in `tok!'
from /Users/camille/.gem/ruby/2.1.1/gems/sass-3.2.13/lib/sass/scss/parser.rb:536:in `block'
from /Users/camille/.gem/ruby/2.1.1/gems/sass-3.2.13/lib/sass/scss/parser.rb:529:in `ruleset'
from /Users/camille/.gem/ruby/2.1.1/gems/sass-3.2.13/lib/sass/scss/css_parser.rb:22:in `block_child'
from /Users/camille/.gem/ruby/2.1.1/gems/sass-3.2.13/lib/sass/scss/parser.rb:546:in
/*
* Author: Andrea Shepard <andrea@torproject.org>
* Date: 2014-04-10
*
* Written as probe component of a larger tool to survey for Tor nodes
* vulnerable to Heartbleed; since we actually use OpenSSL it works correctly
* in unusual handshake cases like prompting for client certs, unlike that python
* script that initially circulated, and the async I/O gives us good control
* about timeouts so we can be patient and have a low probability of false
* negatives.

On me demande en DM :

Est-ce que tu connaitrais des projets ruby opensource avec des démos en ligne ?

Le premier projet qui m'est venu à l'idée c'est diaspora/diaspora, le réseau social.

Diaspora

J'avoue que je m'en suis surtout souvenu parce qu'il se sont fait bien trasher au lancement. Et ils ont eu aussi beaucoup de problèmes ensuite, donc je pense que c'est un bon exemple de projet qui a changé, vécu, et qui malgré tout tourne encore.

LyonJUG

Lyon.rb

AFUP Lyon

Game Dev Party

Hey @pomeranian99, you asked who I'd talk to in the Maker/hardware hacker movement in China, and since I've been thinking about this a lot, I decided to dump a reply on Ello. The following is more opinionated than informed -- if you have unreasonable expectations of advice that's opinionated and informed, talk to @tigoe.

That sort of work is exploding at the moment, as you know. In Shanghai, talk especially to David Li of Xinchejian hacker space. In Shenzen, talk especially to Zach Hoeken (the Twitters say he's in Austin now, not sure if that's a move or a visit, check his schedule.) In the US, before you leave, talk to Sylvia Lindter (who's not in Michigan, but was in China for years) and Emily Parker, late of New America, who's working on green hacking.

All of those conversations will be great and interesting, and you will have a wonderful time talking to these people and I'm happy to help, but what I really want to do is to urge you to look around without North American lenses at what 'hardware hackers'

require "formula"
class Ffmpeg < Formula
homepage "https://ffmpeg.org/"
url "https://www.ffmpeg.org/releases/ffmpeg-2.4.4.tar.bz2"
sha1 "c0a0829fbb4cf423eed77f39d3661d1a34ac7c35"
head "git://git.videolan.org/ffmpeg.git"
bottle do
Atom context menu pollution
https://github.com/atom/atom/blob/master/src/browser/squirrel-update.coffee
# http://www.pauldix.net/2008/08/serializing-dat.html
require 'benchmark'
require 'rubygems'
require 'json'
require 'yaml'
include Benchmark
benchmark_iterations = 1
large_single_dimension_array = [42, 123.123] * 5000
@cappert
cappert / Jabber-SH
Created December 17, 2009 15:46 — forked from pcreux/Jabber-SH
#!/usr/bin/env ruby
# Jabber-SH — SH console via XMPP/Jabber (GTalk)
#
# Jabber-SH allows you to administrate a remote computer via a command line
# through a Jabber client. It’s like SSH via GoogleTalk! :)
# This is just a hack but it might be usefull sometime to run basic commands
# on a machine that is not accessible via ssh.
#
# Philippe Creux. pcreux/AT/gmail/DOT/com
// Attempt to make a drop-and-forget bunch of scripts that mimick some missing html5 goodies automatically
// Example:
// $(document).ready(function() {
// ProvideHtml5.autofocus()
// ProvideHtml5.datepicker()
// ProvideHtml5.forcenumber()
// })
var ProvideHtml5 = {
autofocus = function() {