Skip to content

Instantly share code, notes, and snippets.

Julien Letessier mezis

Block or report user

Report or block mezis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yossorion /
Last active Feb 26, 2020
What I Wish I'd Known About Equity Before Joining A Unicorn

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

ericboehs / gist:7125105
Created Oct 23, 2013
Poltergeist hack to silence CoreText performance notes from phantomjs
View gist:7125105
module Capybara::Poltergeist
class Client
def redirect_stdout(to)
prev = STDOUT.dup
prev.autoclose = false
$stdout = to
prev = STDERR.dup
mildmojo / left_join_arel_example.rb
Last active Jan 15, 2020
LEFT JOIN in ARel for ActiveRecord in Ruby on Rails
View left_join_arel_example.rb
# Here's a contrived example of a LEFT JOIN using ARel. This is an example of
# the mechanics, not a real-world use case.
# NOTE: In the gist comments, @ozydingo linked their general-purpose ActiveRecord
# extension that works for any named association. That's what I really wanted!
# Go use that! Go:
# - A Taxi is a car for hire. A taxi has_many :passengers.
# - A Passenger records one person riding in one taxi one time. It belongs_to :taxi.
mezis /
Last active Jan 10, 2019
Git merge driver for PO files
# *******************************************
# WARNING: this does *not* handle 3-way merges properly.
# Anything modified on the local branch since the common base will get ignored.
# This script is now updated as part of the git-whistles gem.
# *******************************************
You can’t perform that action at this time.