Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bslavin on github.
  • I am bkslavin (https://keybase.io/bkslavin) on keybase.
  • I have a public key ASBPuufXbCG0xhj_3jtpoLEKjGFo1CpJJuNLZZUG2_ce9Qo

To claim this, I am signing this object:

@bslavin
bslavin / setup.sh
Last active August 13, 2021 17:11 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install
@bslavin
bslavin / unhealthy.js
Created July 31, 2019 20:54
Find sites with unhealthy SPF record
const parse = require('csv-parse');
const { Axios: axios } = require('axios-observable');
const { from, empty } = require('rxjs');
const { concatMap, catchError, map } = require('rxjs/operators');
const { appendFileSync, writeFileSync } = require('fs');
const path = 'unhealthy.csv';
const main = async () => {
const { data } = await axios
### Keybase proof
I hereby claim:
* I am bslavin on github.
* I am bslavin (https://keybase.io/bslavin) on keybase.
* I have a public key ASCgp2Tdx26LuK8zvGzMZMHa4DEl9Kli8CNdnv_YS-XB3Ao
To claim this, I am signing this object: