List of failure queues
https://github.com/resque/resque/blob/v1.25.1/lib/resque/failure.rb#L49-L53
Adding items to failure queue
https://github.com/resque/resque/blob/v1.25.1/lib/resque/failure/redis_multi_queue.rb#L6-L18
Truncating a list
List of failure queues
https://github.com/resque/resque/blob/v1.25.1/lib/resque/failure.rb#L49-L53
Adding items to failure queue
https://github.com/resque/resque/blob/v1.25.1/lib/resque/failure/redis_multi_queue.rb#L6-L18
Truncating a list
| #!/usr/bin/env ruby | |
| remote, *_ = ARGV | |
| remote ||= 'heroku' | |
| branches = `git branch --remote --list origin*`.lines.map(&:strip) | |
| result = branches.each_with_object({}) do |branch, h| | |
| h[branch] = { | |
| :ahead => `git log --oneline #{remote}/master..#{branch}`.lines.length, |
| (function(){ | |
| var fontsLoaded = false; | |
| var listeners = []; | |
| function fontsDidLoad(){ | |
| for (var i = 0; i < listeners.length; i += 1) { setTimeout(listeners[i], 0); } | |
| fontsLoaded = true; | |
| } | |
| window.onFontsLoaded = function(callback){ |
| app = require('../../app'); | |
| http = require('http'); | |
| assert = require('chai').assert | |
| nano = require('../../lib/load_nano') | |
| soda = require('../helpers/soda') | |
| describe "authentication", -> | |
| server = null | |
| browser = null |
| var Mocha = require('mocha'); | |
| var path = require('path'); | |
| var testFile = path.resolve(__dirname, './test_file.js'); | |
| var set1 = new Mocha; | |
| set1.addFile(testFile); | |
| var set2 = new Mocha; | |
| set2.addFile(testFile); |
| webdriver = require("wd") | |
| browser = null | |
| desired = | |
| browserName: 'chrome' | |
| platform: 'Windows 2008' | |
| exports.init = (callback) -> | |
| return callback(null, browser) if browser |
Name: checkout_en
Content (En):
<body class="account" id="updatecc" style="padding: 0;margin: 0;line-height: 1;color: rgb(68,68,68);font-size: 12.0px;font-family: arial , helvetica , sans-serif;">
<table class="cc_info" style="width: 480.0px;padding: 0;margin: 0;">
<tr>
<td>
<label for="ccNum" style="font-weight: normal;border-width: 0;margin: 0;padding: 0;">Card Number</label>
| { | |
| "dependencies": { | |
| "async": "~0.1.22", | |
| "cradle": "~0.6.4", | |
| "colors": "~0.6.0-1" | |
| } | |
| } |
| wrench = require 'wrench' | |
| f = new wrench.LineReader '/Users/davidcornu/Downloads/quebec.osm' | |
| lineNumber = 0 | |
| iterator = -> | |
| if f.hasNextLine() | |
| lineNumber += 1 | |
| line = f.getNextLine() |
| #!/usr/bin/env ruby | |
| projectroot = File.expand_path("../../", __FILE__) | |
| Dir.chdir(projectroot) | |
| puts <<-INFO | |
| This script pushes all changes in master to the production | |
| branch in addition to cleaning and precompiling assets. | |
| Press ENTER to continue, CTRL-C to exit: |