Skip to content

Instantly share code, notes, and snippets.

@dcorrigan
dcorrigan / hub_workers.rb
Created March 2, 2015 14:52
Thoth::HubWorkers
module Thoth
##
# Thoth::HubWorkers is the class responsible for creating
# and caching a Sidekiq job for a given WFDW
# project conversion. It's arguments are passed to it via
# a REST API.
class HubWorkers
CONVERSIONS = Prepper::CONVERSION_PATHS.keys
CHECKS = Prepper::CHECK_COMMANDS
@dcorrigan
dcorrigan / install_nokogiri_rmagick_mac_osx_10-9.md
Last active August 29, 2015 14:06
Install Nokogir + RMagick on MAC OSX 10.9

Transmog install on OSX 10.9

NOKOGIRI

  1. git checkout 2.8.0 v of libxml2 for home-brew: https://coderwall.com/p/7urjcg

  2. brew install libxslt libiconv

  3. do not brew link libxslt

@dcorrigan
dcorrigan / gist:82f888911d2b0d517deb
Created July 29, 2014 18:30
Hub Project Creation and Processing Times (10, no threads)

Hub Processing Times

10 of 10 projects ran successfully (100.0%).

Conversions:

Averages:

  • User: 0.007999999999999919
  • System: 0.0040000000000000036
@dcorrigan
dcorrigan / gist:c5dd4f8b57bd4e42e764
Created July 29, 2014 18:06
Hub Project Creation and Processing Times (10)

Hub Processing Times

10 of 10 projects ran successfully (100.0%).

Conversions:

Averages:

  • User: 0.1339999999999999
  • System: 0.06399999999999999
@dcorrigan
dcorrigan / gist:7e25b308f766ae6d3127
Created July 29, 2014 18:02
Hub Project Creation and Processing Times (25)

Hub Processing Times

25 of 25 projects ran successfully (100.0%).

Conversions:

Averages:

  • User: 0.6223999999999998
  • System: 0.1732
@dcorrigan
dcorrigan / gist:ec8926bfcc1ae5dd9352
Last active August 29, 2015 14:04
Hub Project Creation and Processing Times (50)

Hub Processing Times

50 of 50 projects ran successfully (100.0%).

Conversions:

Averages:

  • User: 1.8966000000000014
  • System: 0.6532000000000001