Clément Hussenot chussenot

View Load tests and Bench.md

Load Tests

Loader IO

http://loader.io/ Loader.io is a free load testing service that allows you to stress test your web-apps/apis with thousands of concurrent connections.

Gatling

https://github.com/excilys/gatling Gatling is a stress tool. Development is currently focusing on HTTP support.

View .bashrc
1 2 3 4 5 6 7 8 9 10
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
 
PATH=$PATH:/usr/local/bin
PATH=$PATH:/usr/local/sbin # to load nginx
 
#### Make Mysql conection working for Zend php #########
DYLD_LIBRARY_PATH=/usr/local/zend/lib:$DYLD_LIBRARY_PATH
 
#### Git
View working on a smart template for rails 4 application
1 2 3 4 5 6 7 8 9 10
# encoding: utf-8
# see http://edgeguides.rubyonrails.org/rails_application_templates.html
 
# USAGE
# rake rails:template LOCATION=/path/to/template.rb
# rails new testing_template -m template.rb
 
 
# Git
git :init
View gist:5467243
1 2 3 4 5 6 7 8 9 10
# vim: se ft=ruby :
 
# ${HOME}/.pryrc
 
# https://github.com/carlhuda/bundler/issues/183#issuecomment-1149953
if defined?(::Bundler) || File.exists?('Gemfile')
global_gemset = ENV['GEM_PATH'].split(':').grep(%r{ruby.*@global|gemsets/global}).first
if global_gemset
all_global_gem_paths = Dir.glob("#{global_gemset}/gems/*")
all_global_gem_paths.each do |p|
View ruby2dtrace.md

The aim of this post is to guide the reader through the process of installing ruby 2.0.0 into rbenv with dtrace probes enabled. As rbenv uses ruby-build, which currently downloads and compiles a copy of openssl rather than using the one maintained and updated in homebrew i prefer to use the homebrew one.

Note that you MUST install xcode before installing anything, then install homebrew, and lastly install openssl, via homebrew as follows.

brew install openssl

Next to overcome the fact that OSX doesn't have an openssl ca certificate bundle, use the following brew to create and maintain one using the CA certs stored in your keychain.

Something went wrong with that request. Please try again.