I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
var fs = require('fs'); | |
// npm install csv-parse | |
var parse = require('csv-parse'); | |
// CSV with ONLY the codes you want to give away | |
var prepaid_codes_file = 'giveaway-codes.csv'; | |
var emails_file = 'giveaway-emails.csv'; | |
var Mailgun = require('mailgun').Mailgun; |
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 really have SREs and they make engineers pretty much do everything,
import uuid | |
from os import environ, path | |
import docker | |
from prefect.environments import KubernetesJobEnvironment | |
from prefect.environments.storage import Docker | |
from sable_batch.flows import ( | |
flow1, | |
flow2, |
# pretty sudo prompt | |
read -r -d '' SUDOPROMPT << EOM | |
πΊπ³πΈπ·π·πΈπ»π·π·πΈπΈπΈπΈπ·πΌπ·π³πΊπΌπΊπΈπ»πΌπΌπ³π³πΌπΊπ»π·ππ·πΌπ»π³πΈπ·π·π»πΈ | |
πΈπ¦π»πΈπ³π·πΈπ·πΈπ³πΈπ»π³ππ»π·π·πΌπ»πΊπΊπ»πΌπ»π»πΌπΊπ»π³πΌπ³πΊπ³π·π»πΌπ·πΌπ»πΈ | |
π³πΈπ»πΊπ»π³πΊπΊπ»πΊπΈπ»π·π·πΌπ»πΊπΌπ»π»π·π³π»πΈπ³π·π»π³π³π³π³πΌπ³π³πΊπ·π³πΊπ³πΊ | |
π¦πΈπ»πΊπΊπ³πΈπΈπΌπ»πΊπΌπ·πΈπ³πΌπΊπΈπΊπ·π»π·πΊπΊπ³π·π·π°πΈπ»π³πΈπΌπ·πΌπ³π·πΉπΌπΊ | |
π·π³π»πΈπΈπΌπ°π·πΊπ·πΊπ»π·πΈπΊπ»π³π»π·π»π»πΊπΈπΈπΊπ»πΈπ»π³π³π»π¦π»πΌπΌπ»π»πΊπ³π° | |
πΌπ¦π»π³πΈπΈπ³π·πΊπΌπ³π·πΈπ»πΌπ»ππ»πΌπ·πΊπΌπΊπΈπΊπ¦π·πΈπ·π»π»πΊπΌπ·ππΈπ·πΌπΈπΉ | |
πΈπ³π»πΌπ»π³πΈπ·πΊπ·π·πΌπ»π·π»πΊπΌπΌπ³πΈπ»π»πΈπΌπΌπΈπ³πΊπ»π»π³πΊπ·π°π»πΌπΉπ·π·π³ | |
πΌπ·π»πΈπΌπ³π»π»π³π·πΌπ»πΊπΊπΊπΊπΊπ³π»πΌπ·πΈπΈπ»πΊπ»π³πΈπ·πΊπΊπΌπΈπΊπ»π»π·πΈπ»π· |