I hereby claim:
- I am jeremybmerrill on github.
- I am jeremybmerrill (https://keybase.io/jeremybmerrill) on keybase.
- I have a public key whose fingerprint is 441A 05CC B462 AF95 45FA 95B5 CDF7 BBEF F5A7 B374
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Description: | |
# Give, Take and List User Points | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# Tabula 0.9.6 for Windows fails: Unknown Error (206) - __UNKNOWN_CONSTANT__ | |
# for more discussion see https://github.com/tabulapdf/tabula/issues/203 | |
require 'open3' | |
revisions = ["3286e6ce0a2ee9eee617b0b1b23c3ada1effcbac", | |
"41307d4c0085a8b3bad2797549bf6b94a8a765c3", | |
"45404fa07fb3ddaf2280ec03b7d2f84e20396e88", #fails UNKNOWN_CONSTANT |
--- | |
cyber security: 384 | |
cyber threats: 87 | |
cyber attacks: 826 | |
cyber businesses: 1 | |
cyber protection: 1 | |
cyber espionage: 10 | |
cyber surveillance: 1 | |
cyber theft: 2 | |
cyber area: 1 |
#! /usr/bin/env ruby | |
require 'pdfshaver' | |
# brew install ghostscript imagemagick #yikes | |
# brew install tesseract --HEAD # needs >=3.04 | |
ARGV.each do |pdf| | |
puts pdf | |
pdf_basename = pdf.gsub(".pdf", '') |
require 'resque/tasks' | |
require 'resque_scheduler' | |
require 'resque_scheduler/tasks' | |
require 'resque_scheduler/server' | |
rails_root = ENV['RAILS_ROOT'] || File.dirname(__FILE__) + '/../..' | |
rails_env = ENV['RAILS_ENV'] || 'development' | |
resque_config = YAML.load_file(rails_root + '/config/resque.yml') #contains Redis's location on the network for different Rails environments | |
Resque.redis = resque_config[rails_env] |
class PhotostreamJob < BaseJob | |
@queue = :photostreamphotos | |
end |
class BaseJob | |
def self.perform() | |
#Do the job. | |
end | |
end | |