stdlib's 'benchmark' is not good, at least, for every use case I've ever had for benchmarking.
So here's some hacking I did tonight.
db = Sequel.sqlite("/tmp/example.db")
[2012-07-12T20:55:25+00:00] INFO: Chef Run complete in 6.78975371 seconds | |
[2012-07-12T20:55:25+00:00] INFO: Running report handlers | |
Run options: -v --seed 16402 | |
# Running tests: | |
recipe::minitest_helper::user_for#test_0003_returns_octal_modes = 0.00 s = . | |
recipe::minitest_helper::user_for#test_0002_returns_the_proper_group = 0.00 s = . | |
recipe::minitest_helper::user_for#test_0001_returns_the_proper_user = 0.00 s = . | |
recipe::openssh-config::ssh_config#test_0004_binds_to_proper_port = 0.00 s = . |
# screen like C-a vs C-b | |
unbind-key C-b | |
set-option -g prefix C-a | |
# screen like C-a a vs C-b l | |
bind-key C-a last-window | |
bind a send-prefix | |
# large history | |
set-option -g history-limit 100000 |
local Emitter = require('core').Emitter | |
local Error = require('core').Error | |
local table = require('table') | |
local childprocess = require('childprocess') | |
function split(str, pattern) | |
pattern = pattern or '[^%s]+' | |
if pattern:len() == 0 then pattern = '[^%s]+' end | |
local parts = {__index = table.insert} | |
setmetatable(parts, parts) |
Add the following chunk to your existing ISC dhcpd.conf
file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup
Adrian -
I appreciate that you spent time in writing this post. I know I've been up until 2am writing similarly long ones as well. I will take responsibility for having what is likely an irrational response (I blame Twitter for that) to the term "NoOps", but I invite you to investigate why that might be. I'm certainly not the only one who feels this way, apparently, and thus far have decided this issue is easily the largest distraction in my field I've encountered in recent years. I have had the option to simply ignore my opposition to the term, and just let the chips fall where they may with how popular the term "NoOps" may or may not get. I have obviously not taken that option in the past, but I plan to in the future.
You're not an analyst saying "NoOps". Analysts are easy (for me) to ignore, because they're not practitioners. We have expectations of engineering maturity from practitioners in this field of web engineering, especially those we consider leaders. I don't have any expectations from analysts,
http = require('http') | |
Redis = require("redis") | |
c = Redis.createClient(@port, @host) | |
marshal = (req) -> | |
JSON.stringify | |
method: req.method | |
url: req.url | |
headers: req.headers | |
body: req.body | |
0.0.0.0 10.0.1.1 0.0.0.0 UG 0 0 0 eth0 | |
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 | |
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 vboxnet0 | |
33.33.33.0 0.0.0.0 255.255.255.0 U 0 0 0 vboxnet1 | |
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 | |
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 |