Skip to content

Instantly share code, notes, and snippets.

@Doppp
Doppp / gist:5498969
Last active December 16, 2015 21:20
RailsConf 2013 Talks

Opening Keynote - dhh:

- Roger's Innovation Adoption Curve - Same for open source and normal products
- Nested Russian Doll Cache

How Shopify Scales Rails:

- Stack
	- Ruby 1.9.3-p385
	- Rails 3.2
	- Percona MySQL 5.5
  • Unicorn 4.5
// Created by STRd6
// MIT License
// jquery.paste_image_reader.js
(function($) {
var defaults;
$.event.fix = (function(originalFix) {
return function(event) {
event = originalFix.apply(this, arguments);
if (event.type.indexOf('copy') === 0 || event.type.indexOf('paste') === 0) {
event.clipboardData = event.originalEvent.clipboardData;

Disclaimer: This post is Meteor & Backbone beef. Both Meteor and Backbone are absolute genius, and far beyond anything I could dream to create. But IMO there are better tools. Prepare yourselves *gulp*, I need to get this off my chest.

First, Backbone. Why people? It revolutionized JavaScript, did wonderful things for the world, and served its purpose well. But now we have better tools, so let’s move on. It’s like Gentoo users proselytizing Gentoo to the masses, perpetuating it as most common Distro; where all this time, Ubuntu would have saved everyone countless hours. Not

@wrburgess
wrburgess / gist:3778949
Created September 24, 2012 22:54
Setup wicked_pdf and wkhtmltopdf with Rails 3 and Heroku
@gsluthra
gsluthra / tree_html5.html
Created August 20, 2012 07:10
Fractal Tree Generation using HTML5 Canvas and Random Numbers
<html>
<head>
<script type="text/javascript">
window.onload = draw;
function draw(){
@defeated
defeated / users.yml
Created September 20, 2011 17:07
Devise User Fixture
one:
email: [email protected]
encrypted_password: <%= User.new.send(:password_digest, "password") %>
authentication_token: <%= User.authentication_token %>