Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
... building the future.

Jason Caldwell jaswrks

:octocat:
... building the future.
View GitHub Profile
View xmastree.sh
#!/bin/bash
trap "tput reset; tput cnorm; exit" 2
clear
tput civis
lin=2
col=$(($(tput cols) / 2))
c=$((col-1))
est=$((c-2))
color=0
tput setaf 2; tput bold
@jaswrks
jaswrks / flush-dns-script.bash
Created Jul 5, 2018
Bash script intended for macOS that flushes DNS cache and also flushes Chrome's host cache and socket pool automatically.
View flush-dns-script.bash
#!/usr/bin/env bash
# Flush DNS cache.
sudo dscacheutil -flushcache;
sudo killall -HUP mDNSResponder;
# Clear Chrome's DNS cache.
osascript <<EOD
tell application "Google Chrome"
tell front window
@jaswrks
jaswrks / id_rsa.pub
Created Nov 21, 2017
Jason's Primary Public SSH Key (Password Protected)
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdDFacTBSiEtKA27m+kq3zEWT0EXSugPrs4kyGbdaMGImS87abZwAP03ljONTxyJoDEdciXUjJWu1yEtQHJjDjBL97EJlJJYzZbyqKwtQDMy8JTRWssLagiS1grY59L4hO81AGNdn6CIUPkwCEUbEdeRf1FQqPkCTZttPNFl4Udcjdb3KIc7Tql3BAbiBxqUamlYpsc5jRaEwdnLsTpA635tOruTUE9v+fVwwWTp9en/TVK2rDVDU/lrACyZ7H/nLH3cLRCN8oSl3XF8cElAWG3ob6Tr3fEyRkjP5uq49908dLahjBoQ0WJpL2IxSidjjzlo/kx7iCsXRlqh92XlTV jaswrks
View keybase.md

Keybase proof

I hereby claim:

  • I am jaswrks on github.
  • I am jaswrks (https://keybase.io/jaswrks) on keybase.
  • I have a public key whose fingerprint is 62BC 7EEF 4B91 11CA 0CA1 12CB 6FB2 2640 D612 5FF6

To claim this, I am signing this object:

@jaswrks
jaswrks / authorized_keys
Last active Nov 21, 2017
Public SSH Keys
View authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdDFacTBSiEtKA27m+kq3zEWT0EXSugPrs4kyGbdaMGImS87abZwAP03ljONTxyJoDEdciXUjJWu1yEtQHJjDjBL97EJlJJYzZbyqKwtQDMy8JTRWssLagiS1grY59L4hO81AGNdn6CIUPkwCEUbEdeRf1FQqPkCTZttPNFl4Udcjdb3KIc7Tql3BAbiBxqUamlYpsc5jRaEwdnLsTpA635tOruTUE9v+fVwwWTp9en/TVK2rDVDU/lrACyZ7H/nLH3cLRCN8oSl3XF8cElAWG3ob6Tr3fEyRkjP5uq49908dLahjBoQ0WJpL2IxSidjjzlo/kx7iCsXRlqh92XlTV jaswrks
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfQ9Wc1zLP0xJJwL9ruSY89pJbMAHXwunx5WmXv1bxthnf5Zlo8xdc7x3RnlVN2FNaJgYVNU4gYFDvshkyMOJpUndqoIkS464qNE6m6iwEl46MQCp4aMT1b+6qbkZACvo6hsX84qE4wvpK8fULMCmurqimX4x9c4eGm5ASuV1IWxGUykWemKmCOCexurh5EHphg1LouV6J9hBJx5Yw9vdonsWg7XzYZHpeaDbCd6BorciAIVXTBMef7Et+Z0ux/OsxnZEQO9U0zj8SEKr2DyiXDUkU74Yb8TLyBukJi/Ya7ygqiMkp3ELqHxXnn363v1MmkciexN8ZfuPLcprn48Nz jaswrks(2)
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDeYSEp6+zsvcD/sSz8SXEklHDzPXaUn7W7za9w8b3YG76Uan6T2hIwUl8fC+BR+flmIRX9Itwye/BGaF9pEt9EiGtsBocb3d58CYAWTz3nE0YkhrJDohwRsZ6JioGVbHL+6w6schpwXCzx7Yu+Uy5UaJQIKSZ7C7oSI47WL1ITGF+eP747+1HJTW9ugngjVNU3P/nhjCfgrjY