Skip to content

Instantly share code, notes, and snippets.

View alexdean's full-sized avatar
🍩

Alex Dean alexdean

🍩
View GitHub Profile
# Activate the gem you are reporting the issue against.
require 'active_record'
require 'minitest/autorun'
require 'logger'
# This connection will do for database-independent bug reports.
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Schema.define do
video_id, language_code, title, translator_credit, reviewer_credit
_WLlHpCjrmE en Curing Cancer with Golden Nanoparticles: Dr. Amal Ayoub at TEDxJerusalem missing missing
0YzvupOX8Is es Una forma inteligente de estimar números enormes - Michael Mitchell present missing
9FCsyK4aRXQ en Modern Warrior: Damien Mander at TEDxSydney missing missing
AmFMJC45f1Q ar كيف يمكننا بطي الورق أن نصل الى القمر ؟ missing missing
b_lT6mJM_fA it Biocarburanti e bioprospezione per principianti - Craig A. Kohn missing missing
BMcduh1HEHA en Alzheimer and memory palaces: Kasper Bormans at TEDxLeuven missing missing
DD_8Jm5pTLk zh-tw 四季變化的原因 - Rebecca Kaplan missing missing
dlW0fa-FkPQ en The Happiness Advantage: Leda Karabela at TEDxThessaloniki missing missing
@alexdean
alexdean / graphite_gunicorn_nginx.conf
Created November 7, 2012 03:14 — forked from bhang/graphite_gunicorn_nginx.conf
nginx Configuration for gunicorn + graphite
worker_processes 1;
user nobody nogroup;
pid /var/run/nginx.pid;
error_log /var/log/nginx/error.log;
events {
worker_connections 64;
}
{
"view_name": "routers",
"items": [
{
"vertical_label": "Percent",
"title": "Routers CPU",
"metric_regex": [
{
"regex": "cpu_(system|user)"
}