Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Eunsoo Park (Evan) esevan

💭
I may be slow to respond.
View GitHub Profile
@AruniRC
AruniRC / ms_coco_classnames.txt
Created Mar 5, 2018
Class Names of MS-COCO classes in order of Detectron dict
View ms_coco_classnames.txt
{0: u'__background__',
1: u'person',
2: u'bicycle',
3: u'car',
4: u'motorcycle',
5: u'airplane',
6: u'bus',
7: u'train',
8: u'truck',
9: u'boat',
@itaysk
itaysk / prepull.yaml
Last active Jun 2, 2020
Kubernetes: Pre-pull images into node (moved to: https://github.com/itaysk/kube-imagepuller )
View prepull.yaml
###
# There's a newer version available here:
# https://github.com/itaysk/kube-imagepuller
# All future updates will be made there.
# Please also post you questions as issues on that repo instead of commenting here
###
apiVersion: apps/v1beta2
kind: DaemonSet
@jashmenn
jashmenn / self-eq-this-vs-bind.md
Last active May 14, 2020
Javascript var self = this; vs. .bind
View self-eq-this-vs-bind.md

The Problem

In Javascript this is bound in unexpected ways. Functions, in particular, create a new 'this' and so when you want to keep a reference to an "outer" object you sometimes see the pattern:

var self = this;

as in:

var self = this;
You can’t perform that action at this time.