Skip to content

Instantly share code, notes, and snippets.

@antoinelyset
antoinelyset / keybase.md
Created August 7, 2016 16:23
keybase.md

Keybase proof

I hereby claim:

  • I am antoinelyset on github.
  • I am antoinelyset (https://keybase.io/antoinelyset) on keybase.
  • I have a public key whose fingerprint is 585E 3D08 E4A0 0CC6 C15D 0A21 10C2 94FE EBE5 2056

To claim this, I am signing this object:

@antoinelyset
antoinelyset / templates.rb
Created September 1, 2014 13:09
Markdown in Rails with Kramdown
# config/initializers/templates.rb
module KramdownTemplateHandler
def self.call(template)
"'#{Kramdown::Document.new(template.source).to_html}'.html_safe"
end
end
ActionView::Template.register_template_handler :md, KramdownTemplateHandler
---
# Configures the system for deploying My School Day
- name: Ensure backend directory exists
file: path=/apps/backend state=directory owner=app group=apps mode=0770
- name: Ensure shared directory exists
file: path=/apps/shared state=directory owner=app group=apps mode=0770
- name: Ensure shared sub directories exist
@antoinelyset
antoinelyset / gist:6596651
Last active December 23, 2015 06:49 — forked from brixen/gist:6596556

Notable papers for performance evaluation:

  • Wake Up and Smell the Coffee: Evaluation Methodology for the 21st Century link
  • Statistically Rigorous Java Performance Evaluation link
  • A unifying approach to performance analysis in the Java environment link
  • Dynamic Metrics for Java link

Caveats: This list is not exhaustive nor are the papers necessarily correct.

Notes: These all discuss Java as it was the only programming language to exist for a long time before lesser languages like SELF, Smalltalk, C, Ruby, etc. were discovered.

@antoinelyset
antoinelyset / install.sh
Created August 21, 2013 14:43
Fix Juggernaut
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
echo 'source ~/.nvm/nvm.sh' > ~/.bashrc
source ~/.bashrc
nvm install 0.6.21
nvm alias default 0.6.21
nvm use 0.6.21
curl https://npmjs.org/install.sh | sh
sudo npm install -g juggernaut
exec { 'bundle install':
command => '/usr/local/rvm/bin/rvm 1.9.3@rocci-server do bundle install',
cwd => '/home/occi/rocci-server',
logoutput => true,
}