This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>We're sorry, but something went wrong (500)</title> | |
<style> | |
body { | |
background-color: #EFEFEF; | |
color: #2E2F30; | |
text-align: center; | |
font-family: arial, sans-serif; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/locales/en.yml | |
en: | |
honeybadger: | |
feedback: | |
heading: "Care to help us fix this?" | |
explanation: "Any information you can provide will help our technical team get to the bottom of this issue." | |
submit: "Send" | |
thanks: "Thanks for the feedback!" | |
labels: | |
name: "Your name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event":"occurred", | |
"message":"[Crywolf/test] RuntimeError - oops", | |
"fault":{ | |
"id":3151009, | |
"project_id":1717, | |
"klass":"RuntimeError", | |
"component":null, | |
"action":null, | |
"environment":"development", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Requires the Word Cloud Lib extension to be installed prior to running: | |
// https://sites.google.com/site/scriptsexamples/custom-methods/other-libraries/word-cloud-library | |
function deliverCancellationThemes() { | |
var threads = GmailApp.search('subject:User Cancelled', 0, 100); | |
var messagesforCancellationThreads = GmailApp.getMessagesForThreads(threads); | |
var input = ''; | |
for(i in messagesforCancellationThreads) { | |
for(j in messagesforCancellationThreads[i]) { | |
var body = messagesforCancellationThreads[i][j].getPlainBody(); | |
Logger.log(body); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
excludesfile = ~/.gitignore | |
editor = mate -w | |
whitespace = trailing-space,space-before-tab | |
[apply] | |
whitespace = fix | |
[color] | |
ui = true ;doesnt work for some reason ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File uploads | |
gem 'carrierwave' | |
# Image processing | |
gem 'mini_magick' | |
# S3 file storage | |
gem 'fog' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'allocation_stats' | |
GROUP_BY = [:sourcefile, :sourceline, :class] | |
def block_without_param | |
yield | |
end | |
def block_with_param(&block) | |
block.call |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"event":"assigned","message":"[Crywolf/production] RuntimeError assigned to Benjamin Curtis by Joshua Wood","actor":{"id":3,"email":"josh@hintmedia.com","name":"Joshua Wood"},"fault":{"project_id":1717,"klass":"RuntimeError","component":"pages","action":"caused_exception","environment":"production","resolved":true,"ignored":false,"created_at":"2015-07-21T20:06:20.046Z","comments_count":4,"message":"This is the third cause raised at 2015-07-21 13:06:19 -0700","notices_count":1,"last_notice_at":"2015-07-21T20:06:20.000Z","tags":[],"id":14108233,"assignee":"ben@bencurtis.com"},"assignee":{"id":1,"email":"ben@bencurtis.com","name":"Benjamin Curtis"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'rspec', '3.4.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
# Increase the size of allowed values in map directive. | |
map_hash_bucket_size 128; | |
# Set the $auth_basic variable based on the value of the Honeybadger-Token header. | |
map $http_honeybadger_token $auth_basic { | |
default "Restricted Content"; | |
"5245586210a715a83dfa8c6395226a19f7e46a6b647cc349b0479e92a4c43e42" "off"; | |
} |