Skip to content

Instantly share code, notes, and snippets.

@darbyfrey
darbyfrey / gist:10871711
Created April 16, 2014 13:06
keybase.md
### Keybase proof
I hereby claim:
* I am darbyfrey on github.
* I am darbyfrey (https://keybase.io/darbyfrey) on keybase.
* I have a public key whose fingerprint is C5C5 0CB0 78AF A2BD 727E 928F 4A9E 2FFA 47B5 F910
To claim this, I am signing this object:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Wireframe</title>
<link rel="stylesheet" href="wirestyle.css">
</head>
<body>
<div class="wrap">
// From ~ line 12 of httpdocs/wp-content/themes/1344718317_coders-theme.tmp/includes/theme-init.php
// This theme uses post thumbnails
if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 298, 255, true ); // Normal post thumbnails
add_image_size( 'post-thumbnail-xl', 668, 315, true ); // Portfolio Extra Large Thumbnail
add_image_size( 'slider-post-thumbnail', 940, 435, true ); // Slider Thumbnail
add_image_size( 'portfolio-post-thumbnail', 298, 185, true ); // Portfolio Thumbnail
add_image_size( 'portfolio-post-thumbnail-small', 218, 135, true ); // Portfolio Small Thumbnail
require 'heroku'
module HerokuResqueAutoScale
module Scaler
class << self
@@heroku = Heroku::Client.new(ENV['HEROKU_USER'], ENV['HEROKU_PASS'])
def workers
# For Bamboo
# @@heroku.info(ENV['HEROKU_APP'])[:workers].to_i