Le contrat open-source à destination des designers et développeurs Web par Stuff & Nonsense
- Version originale : 23/12/2008
- Révision : 15/12/2013
- Traduction : David Leuliette
- Article
I'm a speaker at [Wroc_love.rb](http://www.wrocloverb.com/). | |
Personally I would prefer the place to be more inclusive But I won't | |
support bullying the organizers into making decisions against their will. | |
Making the conference (especially virtually non-profit one like | |
wroc_love.rb) is a huge amount of work And I know that because I've been | |
selecting diverse set of speakers for two Railsberry conferences before it | |
was even cool. | |
[user] | |
name = Your Name | |
email = your@email | |
[push] | |
default = current | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto |
require 'benchmark' | |
ActiveRecord::Base.logger = nil | |
Benchmark.bmbm do |bench| | |
bench.report("SQL query") do | |
1000.times { Whatever.count } | |
end | |
bench.report("exception hit") do |
.twitter-typeahead .tt-query, | |
.twitter-typeahead .tt-hint { | |
margin-bottom: 0; | |
} | |
.tt-hint { | |
display: block; | |
width: 100%; | |
height: 38px; | |
padding: 8px 12px; | |
font-size: 14px; |
Turbolinks is a JavaScript library that intercepts all clicks on <a>
links and makes that request via AJAX.
It then merges the <head>
and replaces the current page <body>
with the new body from the AJAX HTML response.
The promise:
# Script to be placed in elasticsearch/bin | |
# Launch it from elasticsearch dir | |
# bin/backup indexname | |
# We suppose that data are under elasticsearch/data | |
# It will create a backup file under elasticsearch/backup | |
if [ -z "$1" ]; then | |
INDEX_NAME="dummy" | |
else | |
INDEX_NAME=$1 |
[advice] | |
# Hides command hints in basic `git status`. | |
statusHints = false | |
# Hides any warning when checking out a commit by hash instead of branch. | |
detachedHead = false | |
[alias] | |
# Shows the commit hash on 6 chars to match `git log`. | |
# -s suppresses the author name and timestamp from the output. | |
blame = blame --abbrev=6 -s |