Skip to content

Instantly share code, notes, and snippets.

View zaghaghi's full-sized avatar

HamZag zaghaghi

  • Sweden, Stockholm
  • 23:42 (UTC +02:00)
View GitHub Profile
@kislayverma
kislayverma / steve-yegge-google-platform-rant.md
Created December 26, 2019 07:11
A copy (for posterity) of Steve Yegge's internal memo in Google about what platforms are and how Amazon learnt to build them

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,

@Ho6hTTOYGg2e
Ho6hTTOYGg2e / go-promise-caching.go
Last active September 1, 2019 10:24
move to repository
// moved to https://github.com/vahid-ashrafian/go-promise-caching
@byrro
byrro / LICENSE
Last active June 9, 2022 01:36
Asynchronous HTTP requests to AWS Lambda API endpoints
The code in this gist (async_lambda.py) is licensed under the following terms:
MIT License
Copyright (c) 2019 Renato Byrro
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@chhantyal
chhantyal / install_python_package_git.md
Last active May 7, 2024 01:45
Pipenv or pip Install Python package from Git (Github, Gitlab, Bitbucket etc.) and using Git tag for versioning. Works for branches too.
@soderlind
soderlind / Install.txt
Last active September 7, 2024 05:45
macOS DoH! (DNS over HTTPS) using cloudflared
1) Install cloudflared using homebrew:
brew install cloudflare/cloudflare/cloudflared
2) Create /usr/local/etc/cloudflared/config.yaml, with the following content
proxy-dns: true
proxy-dns-upstream:
- https://1.1.1.1/dns-query
- https://1.0.0.1/dns-query
@ismyrnow
ismyrnow / mac-clear-icon-cache.sh
Created May 5, 2017 19:28
Clear the icon cache on a Mac when you start seeing generic icons in Finder or the Dock
sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder
@jamieweavis
jamieweavis / macos-app-icon.md
Last active April 24, 2025 07:01
How to create an .icns macOS app icon
@peterdemartini
peterdemartini / command.sh
Last active March 6, 2025 07:29
Exclude node_modules in timemachine
find `pwd` -type d -maxdepth 3 -name 'node_modules' | xargs -n 1 tmutil addexclusion