Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
source 'http://rubygems.org' | |
gem 'sunzi' | |
gem 'rake' | |
gem 'fog' |
#!/bin/env ruby | |
# lazy hack from Robert Klemme | |
module Memory | |
# sizes are guessed, I was too lazy to look | |
# them up and then they are also platform | |
# dependent | |
REF_SIZE = 4 # ? | |
OBJ_OVERHEAD = 4 # ? |
require "benchmark" | |
Benchmark.bm(7) do |bench| | |
bench.report("single") do | |
1_000_000.times do | |
'This is a string of substantial length. I doubt you will have many string | |
literals in your code that are longer than this, but if there are actually | |
costs to parsing double quoted strings this should exacerbate that.' | |
end | |
end |
The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
export default [ | |
"Reticulating splines...", | |
"Generating witty dialog...", | |
"Swapping time and space...", | |
"Spinning violently around the y-axis...", | |
"Tokenizing real life...", | |
"Bending the spoon...", | |
"Filtering morale...", | |
"Don't think of purple hippos...", | |
"We need a new fuse...", |
This is all you really need to know in order to make Action Mailbox work in development.
ngrok http 3000
and make note of your subdomain for steps 3 and 8.https://XXX.ngrok.io/rails/action_mailbox/mailgun/inbound_emails/mime
action_mailbox:
mailgun_api_key: API KEY HERE
/* InstantClick 3.1.0 | (C) 2014-2017 Alexandre Dieulot | http://instantclick.io/license */ | |
var instantclick, | |
InstantClick = (instantclick = (function(document, location, $userAgent) { | |
// Internal variables | |
var $currentLocationWithoutHash, | |
$urlToPreload, | |
$preloadTimer, | |
$lastTouchTimestamp, | |
$hasBeenInitialized, |