This is a rough proof of concept.
There will be broken things.
Comments are welcome.
Installation
Push 3.0 was one of my favorite apps on my touch and one of the biggest dissapointments with moving to Android. It works flawlessly and is deceptively useful. I caught the unlimited unlock on sale and it was worth every penny. Pricing makes sense, although it wasnt explained well in the description at the time, I had to read comments for clarification. | |
That said, my one and only suggestion for improvement is: MAKE AN ANDROID VERSION, PLZ! Froyo 2.2 is bringing push to the OS and Push 3.0 would make an excellent flagship addition. | |
Is an Android adaptation in the works? Looking forward to buying the full unlocked version the day it hits the Droid Market. | |
Thanks | |
Sent from Samsung mobile |
source :rubygems | |
gem 'celluloid' | |
gem 'em-synchrony' | |
gem 'em-http-request' |
# reschedule a known job | |
# i: job index | |
# soon: reschedule time | |
def reschedule(i=0, soon=1.minute.from_now) | |
# black magic | |
Sidekiq.redis do |r| | |
m = r.zrange('schedule', i, i).first | |
j = JSON.parse(m) | |
j['at'] = soon.to_f | |
r.zrem('schedule', m) |
[alias] | |
ci = commit -v | |
co = checkout | |
l = log --oneline --graph --decorate | |
la = log --oneline --graph --decorate --all | |
lp = log -p | |
lpr = log -p --reverse | |
ll = log -3 | |
lr = log --oneline --decorate --reverse | |
ls = log --stat |
(function ($) { | |
var rules = document.styleSheets[document.styleSheets.length-1].cssRules; | |
for (var idx = 0, len = rules.length; idx < len; idx++) { | |
$(rules[idx].selectorText).each(function (i, elem) { | |
elem.style.cssText += rules[idx].style.cssText; | |
}); | |
} | |
$('style').remove(); | |
$('script').remove(); | |
})(jQuery); |
# Set our default provider for this Vagrantfile to 'vmware_appcatalyst' | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_appcatalyst' | |
nodes = [ | |
{ hostname: 'gantry-test-5', box: 'phusion/ubuntu-14.04-amd64' }, | |
{ hostname: 'gantry-test-6', box: 'phusion/ubuntu-14.04-amd64' }, | |
] | |
Vagrant.configure('2') do |config| |
# Set our default provider for this Vagrantfile to 'vmware_appcatalyst' | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_appcatalyst' | |
nodes = [ | |
{ hostname: 'fullbox', box: 'phusion/ubuntu-14.04-amd64' } | |
] | |
Vagrant.configure('2') do |config| | |
# Configure our boxes with 1 CPU and 384MB of RAM |
namespace :grape do | |
desc 'Print compiled grape routes' | |
task :routes => :environment do | |
API.routes.each do |route| | |
puts route | |
end | |
end | |
end |
/* chacha20 - 256 bits */ | |
// Written in 2014 by Devi Mandiri. Public domain. | |
// | |
// Implementation derived from chacha-ref.c version 20080118 | |
// See for details: http://cr.yp.to/chacha/chacha-20080128.pdf | |
function U8TO32_LE(x, i) { | |
return x[i] | (x[i+1]<<8) | (x[i+2]<<16) | (x[i+3]<<24); | |
} |