Skip to content

Instantly share code, notes, and snippets.

abandoned
able
absolute
adorable
adventurous
academic
acceptable
acclaimed
accomplished
accurate
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@6d61726b760a
6d61726b760a / readahead
Created March 27, 2019 04:07 — forked from openit/readahead
readahead initscript
#!/bin/bash
#
# readahead set readhead for specific block devices
#
# chkconfig: 35 85 15
# description: set readhead for specific block devices
# processname:
#
### BEGIN INIT INFO
# Provides: readahead

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

@6d61726b760a
6d61726b760a / mysql_repl_check.sh
Last active May 1, 2019 13:42 — forked from gchaix/mysql_repl_check.sh
mysql replication check script
#!/bin/bash
#--- Configurables ------------------------------------------
# replication delay threshold
TH_SECONDS_BEHIND=5
# notifcation email (if blank, no email will be sent)
EMAIL_ADDR=""
#------------------------------------------------------------