Skip to content

Instantly share code, notes, and snippets.

@mobilemind
mobilemind / curlcheck.sh
Created September 5, 2018 04:48
quickly check headers & TLS negotiation using curl
#!/usr/bin/env bash
curl -sv --connect-timeout 15 --head -i 'https://www.google.com' > /dev/null
@mobilemind
mobilemind / AMPM.yml
Last active September 16, 2025 20:47
vale AppleCustom rules
extends: existence
message: Use 'AM' or 'PM' (preceded by a space).
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms
level: error
nonword: true
tokens:
- '\d{1,2}[AP]M'
- '\d{1,2} ?[ap]m'
- '\d{1,2} ?[aApP]\.[mM]\.'