Skip to content

Instantly share code, notes, and snippets.

View mborsare's full-sized avatar
🎯
Focusing

Mike Borsare mborsare

🎯
Focusing
View GitHub Profile
@mborsare
mborsare / fetch-10yrbonds
Created May 6, 2025 18:26
Fetch 10yr t note metadata
curl -s -A "Mozilla/5.0" "https://query1.finance.yahoo.com/v8/finance/chart/ZN=F?interval=1d&range=3mo" | jq '
.chart.result[0].indicators.quote[0].close as $c
| ($c[-1]) as $now
| ($c[-2]) as $yesterday
| ($c | reverse | .[0:3] | add / length) as $avg3
| ($c | reverse | .[0:5] | add / length) as $avg1w
| ($c | add / length) as $avg3mo
| ([range(1; $c | length) | ($c[.] - $c[.-1])] | add / length) as $delta
| (if $now > $avg3mo then "up" elif $now < $avg3mo then "down" else "flat" end) as $trend
| {

Goal

Discover if a Marketing Designer candidate can successfully work within Robin's visual design system to design great collateral.

Setting

Office visit 90m – 2hr

" pathogen init
execute pathogen#infect()
syntax on
filetype plugin indent on
" set indents to 2 spaces
set sw=2
set ts=2
" theme stuff
{
// Place your snippets for javascriptreact here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
" pathogen init
execute pathogen#infect()
syntax on
filetype plugin indent on
" set indents to 2 spaces
set sw=2
set ts=2
" theme stuff
@mborsare
mborsare / crontab.bak
Created August 14, 2018 15:39
The crontab from my thoughtbot machine
PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
@daily * * * find /Users/mborsare/Screenshot* -mtime +6 -type f -delete
#56 10 * * * find /Users/mborsare/Desktop* -mtime +10 -exec mv -R "{}" /Users/mborsare/Desktop/tidy-desktop \;
45 9 * * * /bin/sh /Users/mborsare/scripts/daily-cleanup.sh
PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
@daily * * * find /Users/mborsare/Screenshot* -mtime +6 -type f -delete
45 9 * * * /bin/sh /Users/mborsare/scripts/daily-cleanup.sh
#!/bin/bash
brew update
brew upgrade
brew cleanup -s
brew cask cleanup
brew doctor
brew missing
apm upgrade -c false
---
<strong>Hire thoughtbot</strong>
Looking for a dedicated product team to validate, design, build, and grow your
product? Visit <a href="https://thoughtbot.com/">our website</a> to learn
about our team and our process.
<strong>Join our team</strong> Looking to join a team of expert designers and
developers working on challenging products in a sustainable environment? <a
href="https://thoughtbot.com/jobs">Check out our open positions.</a>
#!/bin/bash
brew update
brew upgrade
brew cleanup -s
brew cask cleanup
#now diagnotic
brew doctor
brew missing
apm upgrade -c false
/opt/bin/updateCCTF.sh && terminal-notifier -message “git pull done :-)” -title “CCTF up to date”