Skip to content

Instantly share code, notes, and snippets.

View chadlavi's full-sized avatar
👨‍💻
Working

Chad Lavimoniere chadlavi

👨‍💻
Working
View GitHub Profile
@chadlavi
chadlavi / find_ssh.sh
Created April 2, 2017 03:12
bash one-liner to get IPs of all the machines on local network that have ssh running and open
nmap -sV -p 22 192.168.0.1-254 | grep 'open\s*ssh' -B 3 | grep 192 | awk '{print $NF}'
@chadlavi
chadlavi / reddit_upvote_all.js
Last active April 2, 2017 03:10
js bookmarklet to updoot all posts on a page
javascript:(function(){$('div#siteTable%20.thing%20.up').trigger('click');}());

Keybase proof

I hereby claim:

  • I am chadlavi on github.
  • I am chadlavi (https://keybase.io/chadlavi) on keybase.
  • I have a public key whose fingerprint is AAF5 8032 7735 D90F 8F2C 37B2 B0EB ED41 A393 6440

To claim this, I am signing this object: