Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
import hbs from 'htmlbars-inline-precompile';
import connect from 'ember-redux/components/connect';
var stateToComputed = (state) => {
return {
number: state.number
};
};
@rlishtaba
rlishtaba / dummy.csv
Last active July 14, 2020 17:15
dummy data
Province/State Country/Region Lat Long 12/31/19 1/1/20 1/2/20 1/3/20 1/4/20 1/5/20 1/6/20 1/7/20 1/8/20 1/9/20 1/10/20 1/11/20 1/12/20 1/13/20 1/14/20 1/15/20 1/16/20 1/17/20 1/18/20 1/20/20 1/21/20 1/22/20 1/23/20 1/24/20 1/25/20 1/26/20 1/27/20 1/28/20 1/29/20 1/30/20 1/31/20 2/1/20 2/2/20 2/3/20 2/4/20 2/5/20 2/6/20 2/7/20 2/9/20 2/10/20 2/11/20 2/12/20 2/13/20 2/14/20 2/15/20 2/16/20 2/17/20 2/18/20 2/19/20 2/20/20 2/21/20 2/22/20 2/23/20 2/24/20 2/25/20 2/26/20 2/27/20 2/28/20 2/29/20 3/1/20 3/2/20 3/3/20 3/4/20 3/5/20 3/6/20 3/7/20 3/8/20 3/9/20 3/10/20 3/11/20 3/12/20 3/13/20 3/14/20 3/16/20 3/17/20 3/18/20 3/19/20 3/20/20 3/21/20 3/22/20 3/23/20 3/24/20 3/25/20 3/26/20 3/27/20 3/28/20 3/29/20 3/30/20 3/31/20 4/1/20 4/2/20 4/3/20 4/4/20 4/5/20 4/6/20 4/7/20 4/8/20 4/9/20 4/10/20 4/11/20 4/12/20 4/13/20 4/14/20 4/15/20 4/16/20 4/17/20 4/18/20 4/19/20 4/20/20 4/21/20 4/22/20 4/23/20 4/24/20 4/25/20 4/26/20 4/27/20 4/28/20 4/29/20 4/30/20 5/1/20 5/2/20 5/3/20 5/4/20 5/5/20 5/6/20 5/7/20 5/8/20 5/9/20 5/10
@rlishtaba
rlishtaba / adapters.comment.js
Last active June 16, 2020 07:02 — forked from onechiporenko/adapters.comment.js
Rows Grouping (v2.3.0)
import DS from 'ember-data';
export default DS.RESTAdapter.extend({
host: 'https://api.github.com',
namespace: 'repos/emberjs/ember.js/issues/13071/comments',
query(store, b, query) {
const url = `${this.get('host')}/${this.get('namespace')}`;
return this.ajax(url, 'GET', {data: query});
}
});

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

@rlishtaba
rlishtaba / .block
Created September 6, 2019 06:32
Box Plot | tooltip | d3 v5
license: mit
@rlishtaba
rlishtaba / .block
Created January 17, 2019 04:01
Heatmap with data update
license: mit
@rlishtaba
rlishtaba / .block
Created January 14, 2019 04:10
Radial Tidy Tree
license: gpl-3.0
border: no
height: 1060
@rlishtaba
rlishtaba / .block
Created November 2, 2018 16:45
noun&noun chord diagram multiple cities
license: gpl-3.0
@rlishtaba
rlishtaba / .block
Created November 2, 2018 16:43
noun&noun chord diagram multiple cities
license: gpl-3.0
@rlishtaba
rlishtaba / https-instead-of-ssh.sh
Created April 18, 2018 14:24
Configure git to force checkout protocol from ssh to https.
#!/usr/bin/env sh
git config --global url."https://".insteadOf git://