Skip to content

Instantly share code, notes, and snippets.

View zol's full-sized avatar

Zoltan Olah zol

View GitHub Profile
@zol
zol / gist:5810016
Created June 18, 2013 22:23
Running chrome with security disabled to test cross origin ajax.
open -a Google\ Chrome --args --disable-web-security
@zol
zol / gist:5469228
Created April 26, 2013 18:12
WIP cordova In App Browser wrapper.
IAB = {
closed: true, //for meteor to detect closed state
open: function(url, cb, goalURL) {
var that = this;
cordova.exec(function(params) {
switch (params.type) {
case 'loadstart':
console.log('IAB: loadstart url, ' + params.url);
@zol
zol / gist:4229164
Created December 6, 2012 22:44
TCPDump log packets to port 9090 on en1
sudo tcpdump -w logged.pcap -i en1 -vv dst port 9090
@zol
zol / 1.8.7-p173
Created December 7, 2011 01:07
ruby-build file to match ruby+gem on production icyte server
require_gcc
install_package "ruby-1.8.7-p173" "http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p173.tar.gz"
install_package "rubygems-1.3.6" "http://production.cf.rubygems.org/rubygems/rubygems-1.3.6.tgz" ruby