Skip to content

Instantly share code, notes, and snippets.

View amandakoster's full-sized avatar
💭
Software Engineer at Aardvark Intel

Amanda Koster amandakoster

💭
Software Engineer at Aardvark Intel
View GitHub Profile
@noellelacharite
noellelacharite / ChipOrDale.md
Created October 25, 2018 22:03
How I created a Custom Vision Model with Object Detection

Getting Started with Azure Computer Vision and Object Detection

Recently, I wanted to play around with Azure Computer Vision. More specifically I wanted to play with object detection. I had a conference coming up in Orlando and I thought it would be cool to have a local reference in one of my demos.

So I looked up computer vision and found out that I could play with the cognitive service right within the browser. You can check that out here. After seeing the metadata available from computer vision, I realized that I needed to custom train this model if I wanted it to be able to answer my burning question.

How can I tell the difference between Chip and Dale?

let x = new Set([1, 2, 3, 4, 4, 4, 5]);
x.add(6);
x.delete(2);
console.log('The set contains', x.size, 'elements.');
console.log('The set has 1:', x.has(1));
console.log('The set has 8:', x.has(8));
//values and keys are the same in a set
@max-mapper
max-mapper / 0.md
Last active February 25, 2024 12:24
JS hoisting by example

JavaScript function hoisting by example

Below are many examples of function hoisting behavior in JavaScript. Ones marked as works successfuly print 'hi!' without errors.

To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js

Notes on hoisting

(I may be using incorrect terms below, please forgive me)

@hernamesbarbara
hernamesbarbara / .bash_profile
Created February 29, 2012 04:59
bash_profile with terminal colors and useful aliases
#!/bin/bash
export TERM=xterm-color
export CLICOLOR=1
export GREP_OPTIONS='--color=auto'
# export LSCOLORS=Exfxcxdxbxegedabagacad
export LSCOLORS=gxfxcxdxbxegedabagacad # Dark lscolor scheme
# Don't put duplicate lines in your bash history
export HISTCONTROL=ignoredups
# increase history limit (100KB or 5K entries)
export HISTFILESIZE=100000