Skip to content

Instantly share code, notes, and snippets.

View benarent's full-sized avatar
💼

Ben Arent benarent

💼
View GitHub Profile
@benarent
benarent / gist:7390986
Created November 9, 2013 22:36
Lastminute.com - Counter in Email.
Delivered-To: benarent@gmail.com
Received: by 10.70.47.71 with SMTP id b7csp111547pdn;
Fri, 8 Nov 2013 02:41:38 -0800 (PST)
X-Received: by 10.180.219.33 with SMTP id pl1mr1784148wic.49.1383907297303;
Fri, 08 Nov 2013 02:41:37 -0800 (PST)
Return-Path: <uk@mail.lastminute.com>
Received: from lstmta61.send.smartfocusdigital.net (lstmta61.send.smartfocusdigital.net. [89.21.232.61])
by mx.google.com with ESMTP id t6si4438466wjq.89.2013.11.08.02.41.36
for <benarent@gmail.com>;
Fri, 08 Nov 2013 02:41:37 -0800 (PST)
@benarent
benarent / gist:6323057
Created August 23, 2013 19:27
If Airbrake has an issue on status, show this flash message.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Pull in status from StatusPage.io </title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="Ben Arent">
<!-- Date: 2013-08-23 -->
@benarent
benarent / gist:6081978
Created July 25, 2013 17:33
Realtime Week 2013
Just over 100 days to go 'til Realtime Week!
(RealtimeConf, WebRTC Camp, RedisConf, and the US XMPP Summit.)
We poured our hearts and souls into last year's RealtimeConf and we've already gone overboard on the amount of effort we've put into it this year. (The other events are looking pretty great, too.)
We have some things planned for this year for RealtimeConf that have never been tried before in a technical conference. You'll really be missing an unprecedented experience if aren't at RealtimeConf 2013.
This year, we've added a new event: WebRTC Camp—but WebRTC will be a huge focus all week long, including as a big part of RealtimeConf.
/**
* This casper scipt checks for 404 internal links for a given root url.
*
* Usage:
*
* $ casperjs 404checker.js http://mysite.tld/
* $ casperjs 404checker.js http://mysite.tld/ --max-depth=42
*/
/*global URI*/
@benarent
benarent / flow.json
Created August 15, 2012 19:30 — forked from drobiazko/flow.json
Klout score filter
{
"nodes": [
{
"title": "Mentions",
"icon": "images/icons/twitter_64.png",
"top": 118,
"left": 180,
"compID": "twitter_mentions",
"username": "elasticio",
"id": "step_118"
@benarent
benarent / flow.json
Created August 15, 2012 19:29
Untitled_150
{
"nodes": [
{
"title": "Timeline",
"icon": "images/icons/twitter_64.png",
"top": 162,
"left": 449,
"compID": "twitter",
"username": "elasticio",
"backFill": "15",
@benarent
benarent / flow.json
Created August 15, 2012 19:28
Untitled_0
{
"nodes": [
{
"title": "Timeline",
"icon": "images/icons/twitter_64.png",
"top": 239,
"left": 573,
"compID": "twitter",
"username": "elasticio",
"backFill": "15",
@benarent
benarent / gist:3214167
Created July 31, 2012 06:04
Resque Config
Airbrake.configure do |config|
config.api_key = 'your_key_here'
end
@benarent
benarent / gist:3214166
Created July 31, 2012 06:03
Require Resque2
Resque::Failure::Multiple.classes = [Resque::Failure::Redis, Resque::Failure::Airbrake]
Resque::Failure.backend = Resque::Failure::Multiple
@benarent
benarent / gist:3214164
Created July 31, 2012 06:02
Require Resque
require 'resque/failure/airbrake'