Skip to content

Instantly share code, notes, and snippets.

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

@threepointone
threepointone / after.js
Last active November 28, 2024 00:44
converted a function to a generator; simpler, more efficient, cooler.
// recursively get all files in a folder
function* getAllFiles(dirPath: string): Iterable<string> {
for (const file of fs.readdirSync(dirPath)) {
const pathToCheck = path.join(dirPath, file);
if (fs.statSync(pathToCheck).isDirectory()) {
if (file !== 'node_modules') {
yield* getAllFiles(pathToCheck);
}
} else {
yield pathToCheck;
@eanakashima
eanakashima / refs.md
Last active December 9, 2020 18:45
List of references from "Observability is for User Happiness," performance.now() 2019 (Amsterdam), and "Observability for Web Performance," #perfmatters 2020
@mraerino
mraerino / airfiber-mgmt-ipv6.md
Last active January 6, 2025 03:48
How to enable an IPv6 management address on a Ubiquiti AirFiber

Enabling IPv6 management address on AirFiber

In order to be able to have a management IPv6 address assigned on the br0 interface of a Ubiquiti AirFiber, there is a hacky way to do it.

Login via SSH to execute the commands

Steps

  • Restart bridge interface, so /proc/sys/net/ipv6/conf/br0 is available
  • Disable duplicate address detection on bridge
@benjaminhoffman
benjaminhoffman / gtm_intercom.json
Last active November 15, 2020 16:28
Google Tag Manager JSON Import for Intercom Chat Widget (see comments below for instructions)
{
"exportFormatVersion": 2,
"exportTime": "2017-12-23 01:07:53",
"containerVersion": {
"path": "accounts/1234567890/containers/8139018/versions/0",
"accountId": "1234567890",
"containerId": "12345678",
"containerVersionId": "0",
"container": {
"path": "accounts/1234567890/containers/8139018",
@pshapiro
pshapiro / index.js
Created November 28, 2017 06:46
Puppeteer Crawler Example
var Walker = require('puppeteer-walker')
var fs = require('fs')
var walker = Walker()
fs.writeFile('output.csv', 'URL, Title, H2\r\n', 'utf8', function (err) {
console.log(`Header written`)
})
walker.on('end', () => console.log('finished walking'))
@Zibri
Zibri / UEFIVAR.EXE
Last active October 8, 2025 04:10
UEFIVAR
@jpswade
jpswade / devops_best_practices.md
Last active October 15, 2025 05:39
Devops Best Practices Checklist

Find the original here article here: Devops Best Practices

DevOps started out as "Agile Systems Administration". In 2008, at the Agile Conference in Toronto, Andrew Shafer posted an offer to moderate an ad hoc "Birds of a Feather" meeting to discuss the topic of "Agile Infrastructure". Only one person showed up to discuss the topic: Patrick Debois. Their discussions and sharing of ideas with others advanced the concept of "agile systems administration". Debois and Shafer formed an Agile Systems Administrator group on Google, with limited success. Patrick Debois did a presentation called "Infrastructure and Operations" addressing

@BrandonStiff
BrandonStiff / New-CaCertificate.ps1
Last active July 14, 2025 13:50
OpenSsl Certificate PowerShell functions
function Invoke-OpenSsl
{
<#
.SYNOPSIS
Invokes a call to the openssl.exe program
.PARAMETER OpenSslPath
Specifies the path to the Openssl.exe executable. Default is C:\program files\Git\usr\bin\openssl.exe
.PARAMETER Parameters