Skip to content

Instantly share code, notes, and snippets.

Perf Testing all the Things!

Sebastian Cohnen tisba

Perf Testing all the Things!
Block or report user

Report or block tisba

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keep-alive-agent.js
"use strict";
var _ = require("underscore")
, ForeverAgent = require("request/forever");
exports.createKeepAliveAgent = function createKeepAliveAgent() {
var agent = new ForeverAgent();
agent.close = function close() {
var self = this;
View riak-js-keep-alive.js
// patch riak-js
var Meta = require("riak-js/lib/meta");
if (!_.contains(Meta.keywords, "agent")) {
// "use" patch
var options = {}; // set your riak-js options here
View gist:5366459
==> Downloading
Already downloaded: /Library/Caches/Homebrew/justniffer-0.5.11.tar.gz
tar xf /Library/Caches/Homebrew/justniffer-0.5.11.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file lib/libnids-1.21_patched/configure.gnu
==> ./configure --prefix=/usr/local/Cellar/justniffer/0.5.11
./configure --prefix=/usr/local/Cellar/justniffer/0.5.11
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
View Gemfile
source ""
gem "celluloid-redis"
View gist:5057828
./rebar get-deps
Uncaught error in rebar_core: {'EXIT',
View rvm-trace-ruby-2.0.log
2.0.0 --trace
rvm 1.18.11 (master) by Wayne E. Seguin <>, Michal Papis <> []
/Users/basti/.rvm/scripts/cli:745 __rvm_parse_args:672 while case case[[ -n 5.0.2 ]]
/Users/basti/.rvm/scripts/cli:780 __rvm_parse_args:707 while if[[ -z install ]]
/Users/basti/.rvm/scripts/cli:783 __rvm_parse_args:710 while if[[ error == install || 0 -eq 1 || -n '' ]]
/Users/basti/.rvm/scripts/cli:89 __rvm_parse_args:16 while[[ -n '' ]]
/Users/basti/.rvm/scripts/cli:788 __rvm_parse_args:715 : rvm_ruby_args:0::
/Users/basti/.rvm/scripts/cli:790 __rvm_parse_args:717 if[[ -n '' ]]
View ruby-2.0.0-p0-make.log
CC = gcc-4.2
LD = ld
LDSHARED = gcc-4.2 -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/curl-ca-bundle/include -I/usr/local/opt/sqlite/include -I. -I.ext/include/x86_64-darwin12.2.1 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/curl-ca-bund
View gist:4750918
+set r_fullscreen "1" +set r_customaspect "1" +set r_customwidth "1440" +set r_customheight "900" +set r_mode "-1" +set fs_game cpma'
View 00_xml_builder.rb
require "nokogiri"
some_data = nil
builder = encoding: "UTF-8" do |xml|
xml.root do
# insert <options> first, and keep
# a reference to this node
options_node = xml.options
# Verdienstziele und weitere Parameter
# ===============================================================================================
# Gewerbesteuer berücksichtigen, "ja" oder "nein"?
GewerbesteuerEinrechnen = "nein"
# Jeweilige Jahresziele sollten in 10 Monaten erreicht werden
# ...wegen Weiterbildungen, Urlaub, Krankheit, Open Source Contribution
# MaxStd entspricht dabei dann 100% Auslastung
You can’t perform that action at this time.