Skip to content

Instantly share code, notes, and snippets.

@gabriel
gabriel / README
Created July 22, 2008 21:11
Ruby script to find iphones
Looks like the JSON feed now only works after 9pm. Thanks Daring Fireball! ;)
@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:
{
"name": "GTMHTTPFetcher",
"version": "0.1.0",
"authors": "Google",
"license": {
"type": "Apache License, Version 2.0",
"text": " Copyright (c) 2011 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n"
},
"homepage": "https://code.google.com/p/gtm-http-fetcher/",
"source": {
{
"name": "gtm-oauth2",
"version": "0.1.0",
"authors": "Google",
"license": {
"type": "Apache License, Version 2.0",
"text": " Copyright (c) 2010 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n"
},
"homepage": "https://code.google.com/p/gtm-oauth2/",
"source": {
// MyView.m
#import "MyView.h"
@interface MyView ()
@property UIImageView *imageView;
@property DynamicHeightSubview *dynamicHeightSubview;
@end
@implementation MyView
- (void)sharedInit {
{
"bold_folder_labels": true,
"caret_style": "solid",
"ensure_newline_at_eof_on_save": true,
"highlight_line": true,
"ignored_packages":
"preview_on_click": false,
"rulers":
[
120