Heroku introduced a major update today to the platform. In addition to the press release and blog post, here is a list of all updated content:
Devcenter.heroku.com
package main | |
import "testing" | |
type Stuff struct { | |
Hello string | |
Goodbye string | |
Slice []string | |
} |
# Activate the gem you are reporting the issue against. | |
# gem 'activerecord', '4.0.9' # works | |
gem 'activerecord', '4.0.10.rc1' | |
# gem 'activerecord', '4.1.5' # works | |
# gem 'activerecord', '4.1.6.rc1' | |
gem 'pg' | |
require 'active_record' |
ActiveRecord::Base.connection.instance_variable_set :@logger, Logger.new(STDOUT) |
/** | |
* Add this script to the end of your document that use <input autofocus type="text" /> | |
* or <input type="text" placeholder="username" /> and it'll plug support for browser | |
* without these attributes | |
* Minified version at the bottom | |
*/ | |
(function () { | |
function each(list, fn) { | |
var l = list.length; |
require 'minitest/unit' | |
require 'minitest/spec' | |
require 'rubygems' | |
require 'ansi' | |
class MiniTest::Unit | |
include ANSI::Code | |
PADDING_SIZE = 4 |
require 'open-uri' | |
require 'pp' | |
pp Marshal.load(open("http://localhost:3000/api/v1/dependencies?gems=rails,rack,clearance,fog,paperclip")) |
# Allow RSpec assertions over the elements of a collection. For example: | |
# | |
# collection.should all_be > 0 | |
# | |
# will specify that each element of the collection should be greater | |
# than zero. Each element of the collection that fails the test will | |
# be reported in the error message. | |
# | |
# Examples: | |
# [1,1,1].should all_be eq(1) |
director routing_mesh round-robin { | |
{ | |
.backend = { | |
.host = "...some ip..."; | |
.port = "...some port..."; | |
.first_byte_timeout = 90s; | |
.between_bytes_timeout = 90s; | |
} | |
# ...more backends... | |
} |
require 'rubygems'; require 'active_resource'; require 'new_relic_api' | |
servers = File.open("server_count.txt", "r").first.to_i | |
instances_per_server = 6 | |
cpu_burn_for_system = 1000.0 * 0.20 | |
NewRelicApi.api_key = "<Your API Key>" | |
account = NewRelicApi::Account.find(:first); | |
application = account.applications[3]; |
Heroku introduced a major update today to the platform. In addition to the press release and blog post, here is a list of all updated content:
Devcenter.heroku.com