chatgpt | openai | api | curl | json

Use jq and especially jo for string and parameter creation. Handle special-character-problems ( ‘ % $ and million others ) by url encoding your strings directly at the source. chatgpt api natively speaks urlencode. I’ve tried base64, but the chatbot mentions in his answer that he/she was fed with base64 encoded stuff. To encode use […]

openvpn crl stuff

Get your crl.pem expir date: Renew your crl.pem: It seems there is no –days argument, crl.pem’s are valid for 180 days You can change that value by tuning the easyrsa script: search for CRL_DAYS

wttr.in caches | solution

wttr.in id really great stuff. But it caches its output. If you need really fresh data, go to worldweatheronline.com. This is the place wttr.in gets their data from. Create yourself an account and get api key. Its not for free, but the lowest plan is for about $1 per month (in 2023) so its imho […]