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

@zhuqiuzhi
zhuqiuzhi / download.txt
Last active March 2, 2020 15:17
chrome standalone download
windows https://www.google.com/intl/zh-CN/chrome/browser/thankyou.html?standalone=1&platform=win&installdataindex=defaultbrowser
奶牛快传 https://c-t.work/s/c9611b5d2fa941 kkbwcz
mac https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg
@zhuqiuzhi
zhuqiuzhi / gist:30d3f72510d4b481a70ec2329240f5fd
Created February 6, 2019 06:58 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@zhuqiuzhi
zhuqiuzhi / README.md
Last active August 3, 2018 05:17 — forked from rantav/README.md
Find slow queries in mongo DB

A few show tricks to find slow queries in mongodb

Enable profiling

First, you have to enable profiling

     db.setProfilingLevel(1)

Now let it run for a while. It collects the slow queries ( > 100ms) into a capped collections, so queries go in and if it's full, old queries go out, so don't be surprised that it's a moving target...

@zhuqiuzhi
zhuqiuzhi / gist:28c935bfc0a8f718cbf50cd888392010
Created July 20, 2018 09:37 — forked from mreiferson/gist:4039222
Example NSQ reader in Go - simplified nsq_to_http
const (
ModeAll = iota
ModeRoundRobin
)
type Publisher interface {
Publish(string, []byte) error
}
type PublishHandler struct {
@zhuqiuzhi
zhuqiuzhi / client.go
Created June 15, 2018 05:53 — forked from jordanorelli/client.go
rpc server example in go
package main
import (
"bufio"
"log"
"net/rpc"
"os"
)
func main() {
@zhuqiuzhi
zhuqiuzhi / login.css
Last active April 11, 2018 09:27
login page use bootstrap
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #eee;
}
.form-signin {
max-width: 330px;
padding: 15px;
@zhuqiuzhi
zhuqiuzhi / index.html
Created April 11, 2018 09:20
WebSocket demo use gorilla/websocket
<html>
<head>
<title>WebSocket demo</title>
</head>
<body>
<div>
<form>
<label for="numberfield">Number</label>
<input type="text" id="numberfield" placeholder="12"/><br />
@zhuqiuzhi
zhuqiuzhi / supervisord-example.conf
Created December 8, 2017 03:27 — forked from didip/supervisord-example.conf
Example configuration file for supervisord.conf
[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=false ; run supervisord as a daemon
@zhuqiuzhi
zhuqiuzhi / flowplayer.html
Last active November 26, 2017 15:48
flowplayer Minimal setup Minimal setup
<!DOCTYPE html>
<head>
<!-- flowplayer depends on jQuery 1.7.1+ (for now) -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<!-- flowplayer.js -->
<script type="text/javascript" src="flowplayer.min.js"></script>
<!-- player styling -->