dP.  .dP .d8888b. .d8888b. 88d888b. d888888b
 `8bd8'  88'  `"" Y8ooooo. 88'  `88    .d8P'
 .d88b.  88.  ...       88 88        .Y8P   
dP'  `dP `88888P' `88888P' dP       d888888P
    
PROGRAMMER /ˈprōˌɡramər/
A person who solves problems you didn't know you had in ways you don't understand.
public wərk snippets contact

Code Snippets

  • Install Python 3.9 on CentOS or Amazon Linux
  • Add a gentle fade-in from black to the beginning and a matching fade-out to the end of a video clip
  • Posting from Dart to a URL with a redirect: Since Dart's stock http package (and even the dio package) chose to handle redirects differently than basically every other language+package out there and disregard redirect responses returned to a POST request you have to do a little extra work. Worse than anything is every solution I have found was #doingItWrong and making the followup request a POST request complete with sending the payload each time. Even those approaches fail to successfully POST to a google app script (GAS). All of this is quite ironic since Dart is itself a product of Google. This is a simple proof of concept and only supports one redirect which all that is needed for a GAS doPost endpoint, but could be modified easily to accomodate other situations.
  • The most simple method to post a message to slack via an 'incoming webhook' from PHP
  • How to adjust Softail rear shock preload