The Most Commonly Used Phrases in Programming
Who wrote this shit? Oh I did. Let’s see if this works. That didn’t work. This doesn’t make any sense. Just ship it.
sharing the power of code
sharing the power of code
Who wrote this shit? Oh I did. Let’s see if this works. That didn’t work. This doesn’t make any sense. Just ship it.
When developing a java web app on Mac OS Catalina, you may have a service that makes an API request to a secure URL. If you don’t have that secure (https) URL’s root certificate in your Java truststore, the call…
One of my 2015 Mac Book Pro’s Thunderbolt2 ports was detecting my monitor, but not sending it a video signal. I tried all the usual suggestions to fix this: reset NVRAM, reset SMC… But the issue turned out to be…
Sometimes, for testing or development, you need to slow down an ajax response from the server. In the Grails framework, to delay a controller’s response, do the following: In the action you want to delay, insert: Thread.sleep(5000) as in: def…
Test and restart an nginx configuration change The reload will not happen if the test fails. sudo nginx -t && service nginx reload or, on a bitnami image: sudo nginx -t && sudo restart nginx Redirect all subdomains…
I did not find any examples of using WordPress’s “end-callback” argument for “wp_list_comments”. It is documented by WordPress here. Here is an example of how to use it in child-theme code to add custom HTML after each top level comment.…