Skip to content

Instantly share code, notes, and snippets.

John T Popplewell jtexp

  • Dallas, TX
Block or report user

Report or block jtexp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:cb451c3d12bf7726f1558e9f3f4e5a2a
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
View 20111011_SteveYeggeGooglePlatformRant.md

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

View gist:2bef1fe51eab51cd5264c298679c453d
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
View gist:a48c7c741330efd12d87a52032b4da5e
{ "results": [
{
"ndbno": "01001",
"sd": "Butter, salted",
},
{
"ndbno": "01002",
"sd": "Butter, whipped, with salt",
},
View gist:3b7778ab46bb2000378537bd44b9ceea
/*path /nutrients is Nutrient;
type Nutrient {
id: String
}
path /nutrition/{id} is Nutrition;
type Nutrition {
nutrient_id: Nutrient,
@jtexp
jtexp / gist:41dc95413362f22c5cfd9a555df5e8ab
Created Mar 13, 2017
Collapsingtoolbar top bar stays until scroll at top, actionbar shows on any up
View gist:41dc95413362f22c5cfd9a555df5e8ab
<?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"
View gist:95d6eb10dae731e7305d9193715c5167
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/
View gist:6e2152a5a457674644146e22544c978a
{
"foods": [
{
"food": {
"sr": "January, 2017",
"type": "b",
"desc": {
"ndbno": "45081086",
"name": "WHITE CAKE MIX, UPC: 011110857767",
"ds": "Branded Food Products",
View ndb_ids.txt
This file has been truncated, but you can view the full file.
1001
1002
1003
1004
1005
1006
1007
1008
1009
View 1001-b.json
{
"report": {
"type": "Basic",
"sr": "28",
"food": {
"ndbno": "01001",
"nutrients": [
{
"unit": "g",
"group": "Proximates",
You can’t perform that action at this time.