Skip to content

Instantly share code, notes, and snippets.

View plus-'s full-sized avatar
👋

Patrick Lussan plus-

👋
View GitHub Profile
# This is Git's per-user configuration file.
[user]
name = Patrick Lussan
email = lussanp@gmail.com
# Please adapt and uncomment the following lines:
# name = Patrick Lussan
# email = lussanp@gmail.com
[alias]
lg = log --graph --pretty=format:'%C(yellow)%h%Creset%C(bold green)%d%Creset %C(bold white)%s%Creset %C(cyan)<%an> %cr%Creset' --abbrev-commit --date=relative -20
@plus-
plus- / .zshrc
Created September 30, 2021 15:39
autoload -U colors && colors
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:git*' formats '%F{red}%b'
precmd () { vcs_info }
setopt prompt_subst
PS1='%F{green}%n %F{yellow}%~ ${vcs_info_msg_0_} %{$reset_color%}%% '

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

#!/bin/sh
# ------------------------------------------------------------------------------
# SOME INFOS : fairly standard (debian) init script.
# Note that node doesn't create a PID file (hence --make-pidfile)
# has to be run in the background (hence --background)
# and NOT as root (hence --chuid)
#
# MORE INFOS : INIT SCRIPT http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
# INIT-INFO RULES http://wiki.debian.org/LSBInitScripts
# INSTALL/REMOVE http://www.debian-administration.org/articles/28