Hacker News new | past | comments | ask | show | jobs | submit login

I'm looking in my `~/bin` folder on my work machine right now. I have a good few that are very specific to my work.

- Scripts to test our rate limiting for both authenticated and unauthenticated users (was handy)

- API routes changed in a given PR (set of commits since the last interaction with master in reality)

- ssl-expiration-date - Checks the expiration date of a site's certificate

  domain="$1"
  
  echo "Checking the SSL certificate expiration date for: $domain"
  
  curl -vI "$domain" 2>&1 | grep -o 'expire date: .*$'
- test-tls-version - Checks if a website supports a given version of TLS

  domain="$1"
  curl_options=( "--tlsv${2}" --tls-max "$2" )
  
  curl "${curl_options[@]}"  -vI "$domain" 2>&1
There are also some miscellaneous PHP scripts lying around for template related stuff. PHP makes a create templating language when you need some basic programmatic additions to your output text.

Everything is too coupled to my work to be useful to others, and most of the automation scripts I've written for work are run as cron jobs now and send out emails to the appropriate emails. Most of these are written in PHP (we're a PHP shop).




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: