Skip to content

Instantly share code, notes, and snippets.

View 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 Sep 1, 2014
Markdown in Rails with Kramdown
View templates.rb
# 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
View 1prep.yml
---
# 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
View gist:6596651

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.

View install.sh
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
View gist:4667626
exec { 'bundle install':
command => '/usr/local/rvm/bin/rvm 1.9.3@rocci-server do bundle install',
cwd => '/home/occi/rocci-server',
logoutput => true,
}
You can’t perform that action at this time.