In Mac OSX Sierra, to solve the issue, I had to do the following:
Clean:
brew uninstall imagemagick
brew unlink imagemagick
Then install:
# 1. Clear retry set | |
Sidekiq::RetrySet.new.clear | |
# 2. Clear scheduled jobs | |
Sidekiq::ScheduledSet.new.clear | |
# 3. Clear 'Processed' and 'Failed' jobs |
require 'csv' | |
require 'time' | |
CSV_FILE = ARGV[0] | |
CUTOFF = 2015 | |
abandoned = [] | |
variance = [] | |
table = CSV.read(CSV_FILE) | |
table.each_with_index do |row, i| |
(function(n, q, w) { | |
function E(a, b, d) { | |
return function() { | |
try { | |
return a.apply(this, arguments) | |
} catch (e) { | |
d || Wa(e, b) | |
} | |
} | |
} |
require 'bcrypt' | |
require 'time' | |
puts "cost: 10" | |
start_time = Time.now | |
password = BCrypt::Password.create("Password", :cost=>10) | |
end_time = Time.now | |
puts "time: #{end_time - start_time}" | |
puts "cost: 11" |
#!/usr/bin/env python | |
# | |
# Simplistic RDS logfile downloader because AWS CLI + Botocore is broken. :-( | |
# | |
from __future__ import print_function | |
import argparse | |
import os.path | |
import sys |