Skip to content

Instantly share code, notes, and snippets.

View gabriel's full-sized avatar

Gabriel Handford gabriel

View GitHub Profile
# Install ZeroMQ
sudo brew install zmq
easy_install pyzmq
[0] http://www.zeromq.org/bindings:python
# Install OpenCV
sudo brew install opencv
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script>
var accumulatedX = null;
var accumulatedY = null;
var smoothing = 0.95;
@gabriel
gabriel / gist:6998753
Last active December 25, 2015 15:29
Coworking spaces with dedicated desk, 24/7 access
Galvanize (1st & Howard)
http://www.galvanize.it/
$599
WeWork (2nd & Mission, 6th & Market)
https://www.wework.com/sf/soma
$400 ($600-$700 private)
Parisoma (11th & Howard)
http://www.parisoma.com/coworking/
Pod::Spec.new do |s|
s.name = "CryptoPill"
s.version = "1.0.1"
s.summary = "CryptoPill is the crypto code used by Core Secret"
s.homepage = "https://github.com/seb-m/CryptoPill"
s.license = 'MIT'
s.author = { "Sébastien Martini" => "seb@dbzteam.org" }
s.source = { :git => "https://github.com/seb-m/CryptoPill", :tag => "1.0.1" }
s.platform = :ios, '7.0'
@gabriel
gabriel / installer.rb
Last active January 2, 2016 16:09
Install a test target
require 'xcodeproj'
require 'xcodeproj/ext'
require 'fileutils'
project_path = "TheProj.xcodeproj"
project_name = "TheProj"
test_project_name = "#{project_name}Tests"
FileUtils.mkdir_p(test_project_name)
File.open("#{test_project_name}/main.m", "w") do |f|
@gabriel
gabriel / gist:9240487
Created February 26, 2014 22:51
Faye cycling really fast
D, [2014-02-26T14:48:25.284539 #26785] DEBUG -- : [Faye::RackAdapter] Received message via WebSocket[hybi-13]: "[]"
I, [2014-02-26T14:48:25.284632 #26785] INFO -- : [Faye::Server] Processing messages: [] (local: false)
D, [2014-02-26T14:48:25.284735 #26785] DEBUG -- : [Faye::RackAdapter] Received message via WebSocket[hybi-13]: "[{\"channel\":\"/meta/connect\",\"clientId\":\"d88usm95v3ooi3elm23dn9617nwe2th\",\"connectionType\":\"websocket\",\"id\":\"26\"}]"
I, [2014-02-26T14:48:25.284910 #26785] INFO -- : [Faye::Server] Processing messages: [{"channel":"/meta/connect","clientId":"d88usm95v3ooi3elm23dn9617nwe2th","connectionType":"websocket","id":"26"}] (local: false)
D, [2014-02-26T14:48:25.285008 #26785] DEBUG -- : [Faye::Server] Passing through incoming extensions: {"channel":"/meta/connect","clientId":"d88usm95v3ooi3elm23dn9617nwe2th","connectionType":"websocket","id":"26"}
I, [2014-02-26T14:48:25.285209 #26785] INFO -- : [Faye::Server] Handling message: {"channel":"/meta/connect","clientId":"d88usm95v3
~/ () curl "http://labalise.fr/"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>La Balise</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>

Keybase proof

I hereby claim:

  • I am gabriel on github.
  • I am gabrielh (https://keybase.io/gabrielh) on keybase.
  • I have a public key whose fingerprint is 415C 0B89 FA95 8010 F1C2 690A A165 2A81 DDDD 148C

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am gabriel on github.
* I am gabrieltest6 (https://keybase.io/gabrieltest6) on keybase.
* I have a public key whose fingerprint is 7EA5 6DA5 68A9 2814 7974 F07D 0521 5894 9515 A1A9
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am gabriel on github.
* I am gabrielh (https://keybase.io/gabrielh) on keybase.
* I have a public key whose fingerprint is 3F6E 5049 45AE 44E6 A53D 4984 5431 890F E1EE BCDE
To claim this, I am signing this object: