Skip to content

Instantly share code, notes, and snippets.

View jlecour's full-sized avatar

Jérémy Lecour jlecour

View GitHub Profile
@fcamblor
fcamblor / 0-AcquisitionSchema.png
Last active July 7, 2023 15:19
Captation vidéo / Livestream Conf tech
0-AcquisitionSchema.png
# Yout need to register a repository.
# This action need to be only done one time.
# $ curl -XPUT 'http://localhost:9200/_snapshot/backup' -d '{
# "type": "fs",
# "settings": {
# "location": "/home/backup/elasticsearch",
# "compress": true
# }
# }'
@jlecour
jlecour / autrement-recrute-dev-web.md
Last active December 21, 2015 21:18
Autrement recrute un développeur web expérimenté et multi-compétent

Autrement recrute un(e) dev web

La société Autrement — qui édite les sites Hotel Hotel et Chambres à Part — cherche à renforcer son équipe technique avec des personnes expérimentées et multi-compétentes dans le domaine du développement web (au sens large).

L'annonce de recrutement de rédacteurs et les propositions de stage illustrent bien l'état d'esprit général de l'entreprise.

Contexte technique

L'équipe technique est actuellement composée de 3 personnes : Christophe Moins (twitter/GitHub), Colin Darie (twitter/GitHub) et Jérémy Lecour (blog/[twitter](http://twitter.com

@Mayeu
Mayeu / gpg_links.txt
Last active December 20, 2015 19:29
Quelques lien pour GPG
@juliepagano
juliepagano / 101_off_limits.md
Last active December 16, 2020 09:37
101 conversations I generally don't want to have...

This list now exists over at http://juliepagano.com/blog/2013/11/02/101-off-limits/ and will be updated there.

I keep saying that impromptu, unwanted feminism 101 discussions are exhausting and not a good use of my resources. Then people ask what I mean by 101, so I'm starting to make a list. This list will change over time - I recommend checking back.

I highly recommend checking this list before engaging with me about feminism if you're new to it. It'll save both of us a lot of time and frustration.

Diversity in tech

Women aren't equally represented in tech because biology

Nope. This argument is bad and the science does not support it. Unfortunately, every time you say this out loud, you are contributing to cultural problems that do decrease the number of women in tech.

before do
ActiveSupport::Notifications.subscribe('sql.active_record') do |name, starts_at, ends_at, id, payload|
if /stock_items/.match(payload[:sql]) && /INSERT/.match(payload[:sql])
puts caller.delete_if { |p| !p.include?("/Users/ryan/Sites/gems/spree") }.join("\n")
puts "*" * 100
end
end
end
@madx
madx / ree-1.8.7-2012.02-tcmalloc-patch
Created March 6, 2013 14:06
Patched REE 1.8.7 install recipe for ruby-build
build_package_tcmalloc_patch() {
patch source/distro/google-perftools-1.7/src/tcmalloc.cc ~/.rbenv/plugins/ruby-build/share/ruby-build/tcmalloc.patch
}
require_gcc
install_package "ruby-enterprise-1.8.7-2012.02" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2012.02.tar.gz#8d086d2fe68a4c57ba76228e97fb3116" tcmalloc_patch ree_installer
@michaelfairley
michaelfairley / immutable-ruby.md
Last active October 8, 2019 14:15
Immutable Ruby

Immutable Ruby

Libraries I talked about

  • ice_nine: Deep freeze ruby objects
  • Values: Simple immutable value objects for ruby
  • immutable_attributes: specify attributes within an ActiveRecord model that can be set but not modified
  • hamster: Efficient, Immutable, Thread-Safe Collection classes for Ruby

Next Steps

@toolmantim
toolmantim / application.html.erb
Created February 16, 2013 11:26
Pre-fetching your Rails asset hostname using dns-prefetch in your application's layout file
<!DOCTYPE html>
<html>
<head>
<title>App title</title>
<% if ActionController::Base.asset_host %>
<link rel="dns-prefetch" href="//<%= ActionController::Base.asset_host %>" />
<% end %>
pidenv() {
local pid="$1"
tr '\000' '\n' < /proc/$pid/environ
}