Toggen Blog
Tech tips
Articles
Latest
Flight Delayed by 37 minutes. When is that?
Question: How do you calculate the time in the future when you know the time you start from but want to know the time in a few minutes but can't do math in your head? Answer: Use GNU Date # if you know the time you want to go from put that in gdate --date="16:47 37...
A man walks into a sound bar and wonders why the subwoofer isn’t working
Constantly searching for the instructions on how to reset my sound bar. So here is the manual for my sound bar
React-Bootstrap Oh Cool
The create-react-app npm module that lets you get started quickly with React is getting better and better. Here is a list of all sorts of things you can then add on top of the create-react-app to make it betterer...
Get a Date X Days in the Past or Future using GNU Date
Recently was running a Pentaho Data Integration that had an input parameter of yesterdays date. I was getting the date inside mysql or inside a javascript step but wanted to be able to pass in an arbitrary date so I could run the report for any day. So on Linux with...
Using ImageMagick’s Convert to create a thumbnail of a PDF
Sometimes you need to create a thumbnail of a PDF file for display on the web or elsewhere. Here is the ImageMagick convert command to do it. convert \ -density 600 \ # make it high density so the resized image looks OK example_051.pdf[2] \ # use [X] to specify the...
The target origin provided () does not match the recipient window’s origin ()
This error running cakephp 3 behind a nginx proxy on port 80 and proxying back to a docker container published on port 8080. Got this error message when clicking on the DebugKit toolbar toolbar-app.js:31 Failed to execute 'postMessage' on 'DOMWindow': The target...
