Skip to content

Instantly share code, notes, and snippets.

View lucifiel0121's full-sized avatar

Ashe lucifiel0121

View GitHub Profile

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

@lucifiel0121
lucifiel0121 / machine.js
Last active July 7, 2020 07:31
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
@lucifiel0121
lucifiel0121 / History|-105643ef|entries.json
Last active June 21, 2022 10:19
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/user/Documents/lang-popo-website/constants/apiParameters.js","entries":[{"id":"7yKu.js","timestamp":1655266149116}]}
{"version":"","autoConvert":"none","iconAction":"auto","symConvert":true,"inputConvert":"none","fontCustom":{"enable":false,"trad":"微軟正黑體, PMingLiU,MingLiU, 新細明體, 細明體","simp":"MS Song, 宋體, SimSun"},"urlFilter":{"enable":true,"list":[{"url":"http://www.angular.live/*","zhflag":"trad"},{"url":"https://angular.cn/*","zhflag":"trad"},{"url":"http://es6.ruanyifeng.com/*","zhflag":"trad"},{"url":"http://www.angular.live/*","zhflag":"trad"},{"url":"http://angular.live/*","zhflag":"trad"},{"url":"http://es6.ruanyifeng.com/*","zhflag":"trad"},{"url":"http://ke.mtedu.com/*","zhflag":"trad"},{"url":"http://v3.bootcss.com/*","zhflag":"trad"},{"url":"https://v3.bootcss.com/*","zhflag":"trad"},{"url":"http://www.jquery123.com/*","zhflag":"trad"},{"url":"https://jimmysong.io/*","zhflag":"trad"}]},"userPhrase":{"enable":true,"trad":{"PN結":"PN接面","SQL注入":"SQL隱碼攻擊","SQL注入攻擊":"SQL隱碼攻擊","三極管":"三極體","下拉列表":"下拉選單","並行計算":"平行計算","中間件":"中介軟體","串口":"串列埠","串行":"序列","串行端口":"串列埠","主引導記錄":"主開機記錄","主板":"主機板","二極管":"二極體","互聯網":"網際網路","交互"
@lucifiel0121
lucifiel0121 / implementation Object.is (js).js
Last active September 22, 2019 01:42
implementation Object.is (js)
if (!Object.is || true) {
Object.is = function ObjectIs(x,y) {
var xNegZero = isItNegZero(x);
var yNegZero = isItNegZero(y);
/* 先過濾 -0 */
if (xNegZero || yNegZero) {
return xNegZero && yNegZero;
}
/* 再過濾 NaN */
@lucifiel0121
lucifiel0121 / index.html
Last active March 4, 2019 08:07
JS Bin// Exercise 34: HTTP requests , Step 2 : JSONP as Observable
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/4.0.6/rx.all.js"></script>
@lucifiel0121
lucifiel0121 / index.html
Last active March 4, 2019 08:08
JS Bin// Exercise 34: HTTP requests , Step 1 : sample jQ as Observable && wiki API
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/4.0.6/rx.all.js"></script>
@lucifiel0121
lucifiel0121 / Gulp 4.0 (package.json)
Created November 29, 2018 05:51
Gulp 4.0 (package.json)
{
"name": "ashe-gulp-sass",
"version": "2.0.0",
"description": "gulp-sass + source map + PostCSS, last update at 2018-11-29 ",
"repository": "git@github.com:lucifiel0121/gulp4.0_config.git",
"author": "ashe <zyi3204@gmail.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/lucifiel0121/gulp4.0_config/issues"
},
@lucifiel0121
lucifiel0121 / Gulp 4.0 (gulpfile)
Last active November 29, 2018 05:51
Gulp 4.0 (gulpfile)
const gulp = require('gulp');
const sass = require('gulp-sass');
const autoprefixer = require('autoprefixer');
const postcss = require('gulp-postcss');
const sourcemaps = require('gulp-sourcemaps');
gulp.task('sass', function() {
var processors = [
// 定義 postCSS 所需要的元件
autoprefixer({ browsers: ['last 5 version'] }), // 使用 autoprefixer,這邊定義最新的五個版本瀏覽器
{"version":"","autoConvert":"trad","iconAction":"trad","symConvert":true,"inputConvert":"trad","fontCustom":{"enable":false,"trad":"微軟正黑體, PMingLiU,MingLiU, 新細明體, 細明體","simp":"MS Song, 宋体, SimSun"},"urlFilter":{"enable":true,"list":[{"url":"https://angular.cn/*","zhflag":"trad"},{"url":"http://www.angular.live/*","zhflag":"trad"},{"url":"http://es6.ruanyifeng.com/*","zhflag":"trad"},{"url":"http://www.angular.live/*","zhflag":"trad"},{"url":"http://angular.live/*","zhflag":"trad"},{"url":"http://es6.ruanyifeng.com/*","zhflag":"trad"},{"url":"http://ke.mtedu.com/*","zhflag":"trad"},{"url":"http://v3.bootcss.com/*","zhflag":"trad"},{"url":"https://v3.bootcss.com/*","zhflag":"trad"},{"url":"http://www.jquery123.com/*","zhflag":"trad"},{"url":"https://jimmysong.io/*","zhflag":"trad"},{"url":"http://www.angular.live/*","zhflag":"trad"},{"url":"https://angular.cn/*","zhflag":"trad"},{"url":"http://es6.ruanyifeng.com/*","zhflag":"trad"},{"url":"http://www.angular.live/*","zhflag":"trad"},{"url":"http://angular.live/