I hereby claim:
- I am weibel on github.
- I am kasperweibel (https://keybase.io/kasperweibel) on keybase.
- I have a public key ASDJwNZSly1G-onUpAu8R08wdSK9ZqQuKVBQqkACZJqDZwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
"AC", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", | |
"BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", | |
"CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CP", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DG", "DJ", "DK", "DM", | |
"DO", "DZ", "EA", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", | |
"GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "IC", | |
"ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", | |
"KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", | |
"MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", | |
"NG", "NI", "NL" |
Persistent queues are really useful. I have envied Android developers for having the Tape queue http://square.github.io/tape/ and the Android Priority Jobqueue https://github.com/yigit/android-priority-jobqueue
Below I have compiled a list of the persistent queue implementations for iOS that I know of. Most of them are not in active development. Ping me if you want a library added to the list.
module ImageOptimizer | |
module Optimizer | |
class Launch | |
def initialize(args) | |
@meta_manager = FileMeta::Manager.new(args[:db_name]) | |
@png_optimizer = Optimizers::PNGOptimizer.new(args[:pngquant_quality_range]) | |
end | |
# Use this for i.e. a rake task | |
def self.optimize_images |
require 'dalli/client' | |
require 'yaml' | |
class GeocoderDalliClient | |
def initialize | |
@keys = 'GeocoderDalliClientKeys' | |
# setup for Heroku using the memcachier gem. | |
# On other setups you'll have to specify the Memcached server | |
@dalli_client = Dalli::Client.new | |
end |
require 'httpi' | |
require 'json' | |
# Client for the tenhands REST API https://tenhands.net/developer/docs.htm?userId=e54a5608-961a-11e2-8866-12313d08920c#rest | |
class TenhandsRestClient | |
def initialize(adaptor = :httpclient) | |
@adaptor = adaptor | |
@api_key = 'your key' | |
@base_url = 'https://tenhands.net/api/v1' |