Skip to content

Instantly share code, notes, and snippets.

View jessemillar's full-sized avatar
🐧
Perpetually working from home

Jesse Millar jessemillar

🐧
Perpetually working from home
View GitHub Profile
@jessemillar
jessemillar / disney-plans.md
Created February 26, 2019 01:00
Disney Plans

Tuesday

Hotel

  • Work Hotel

Notes

  • We arrive Tuesday so won't have a full day

Wednesday

Keybase proof

I hereby claim:

  • I am jessemillar on github.
  • I am jessemillar (https://keybase.io/jessemillar) on keybase.
  • I have a public key ASAJUMvkHSU0n04UCA5FJ4DAL-5l9JvWHpSYgygFO3vvqAo

To claim this, I am signing this object:

@jessemillar
jessemillar / wiki-link-regex-vim
Last active November 17, 2016 19:58
Use Vim's regex engine to change direct GitHub links into GitHub wiki links
// https://www.interviewcake.com/question/javascript/stock-price
function getMaxProfit(stockPrices) {
var lowestPrice = stockPrices[0];
var maxProfit = stockPrices[1] - lowestPrice;
for (var i = 1; i < stockPrices.length; i++) {
var difference = stockPrices[i] - lowestPrice;
if (difference > maxProfit) {