Skip to content

Instantly share code, notes, and snippets.

1014 git pull
1015 git checkout 578c3be982a65a2f091c698660de325afecc4d08 .
1016 git add --all
1017 git commit -m "fix overview not showing entire list, revert percentage change"
1018 git history
1019 git log
1020 git push
1021 git status
1022 git checkout -b overview
1023 git checkout master

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

TRADER JOE'S TRADER JOE`S 0.99
TRADER JOE'S TRADER'S JOE 0.96
TRADER JOE'S TRADER JOSE'S 0.98
TRADER JOE'S TRADER JOES 1.0
TRADER JOE'S TRADER JOE SAN 0.97
TRADER JOE'S TRAGER JOE'S 0.96
TRADER JOE'S TRADE JOE'S 0.98
{ "results": [
{
"ndbno": "01001",
"sd": "Butter, salted",
},
{
"ndbno": "01002",
"sd": "Butter, whipped, with salt",
},
/*path /nutrients is Nutrient;
type Nutrient {
id: String
}
path /nutrition/{id} is Nutrition;
type Nutrition {
nutrient_id: Nutrient,
@jtexp
jtexp / gist:41dc95413362f22c5cfd9a555df5e8ab
Created March 13, 2017 16:24
Collapsingtoolbar top bar stays until scroll at top, actionbar shows on any up
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
@jtexp
jtexp / gist:95d6eb10dae731e7305d9193715c5167
Created March 3, 2017 22:47
Something wrong with my zfs
865 zfs status
866 /sbin/modprobe zfs
867 sudo yum update -y
868 dkms status
869 dkms remove -m zfs -v 0.6.5.8 -all
870 dkms remove -m zfs -v 0.6.5.8 --all
871 dkms remove -m spl -v 0.6.5.8 --all
872 ls /lib/modules/3.10.0-327.el7.x86_64/extra/
873 ls /lib/modules/3.10.0-327.el7.x86_64/weak-updates/
874 ls -al /lib/modules/3.10.0-327.el7.x86_64/weak-updates/
{
"foods": [
{
"food": {
"sr": "January, 2017",
"type": "b",
"desc": {
"ndbno": "45081086",
"name": "WHITE CAKE MIX, UPC: 011110857767",
"ds": "Branded Food Products",
@jtexp
jtexp / ndb_ids.txt
Created March 1, 2017 23:20
NDB IDS
This file has been truncated, but you can view the full file.
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
@jtexp
jtexp / 1001-b.json
Created March 1, 2017 21:50
ndb 1001-b
{
"report": {
"type": "Basic",
"sr": "28",
"food": {
"ndbno": "01001",
"nutrients": [
{
"unit": "g",
"group": "Proximates",