Generate custom x509 certificate in Okta

* Requires API key with admin access, least for the target app

Selenium test with docker-compose

Sample config file when using selenium standalone during test. docker-compose YAML

AWS KMS - two liners

For binary encrypted output: aws kms encrypt --region ap-southeast-2 --key-id alias/blah --plaintext fileb://blah --output text --query CiphertextBlob | base64 --decode > blah.

User Profile Service failed the logon. User profile cannot be loaded.

https://support.microsoft.com/en-us/contact/menu/software/windows/ts/ https://support.microsoft.com/en-au/help/947215/you-receive-a-the-user-profile-service-failed-the-logon-error-message Had to contact Microsoft support to receive default file.

Curl net performance test

Print out CloudFront X-Amz-Cf-Id when response time is slower than set threshold.

Replace Mercedes-Benz B250 cabin(pollen) filter replacement DIY

Quoted $300+ from dealer shop which I know a serious rip-off price for mere carbon filter.

MongoDB to DynamoDB

Attempted to convert rather large mongo dump to dynamo. Seems like AWS data pipeline is most elegant way to do this if one can workaround with dynamo non-standard json format issue.

Europe Travel 2016

Turkey - Istanbul Good: Nice people and food Bad: Syrian refugees(=security risks), bit too excessive street sales

Lets Encrypt nginx SSL certificate renewal via cron

Add below as a cron entry. #!/bin/bash /path/letsencrypt/letsencrypt-auto --server https://acme-v01.api.letsencrypt.org/directory --renew-by-default -a webroot --webroot-path /webroot/ --email youremail --text --agree-tos --agree-dev-preview -d 7979.

F5 AAM Cache for app generated pages

Dynamic content requires cache-control(max-age) and/or expires header to be cached.