Related Posts
Mass delete Github Workflow Run Logs with this script
Github workflow doesn’t allow mass deletion of Workflow Action run logs, it takes 2 clicks to delete each run log. If you wanted to delete hundreds of these, the only way is to script something. Luckily you can do so using the gh Github Command Line Tool and some json parsing using the jq tool. […]
java: How to get all the files inside a folder and its subfolders without recursion
Most programmers will do this in a recursive fashion, but doing that is putting yourself at risk of hitting a stack overflow error, and it’s 20% slower (according to my tests). Here’s my first implementation of a method that will return just the files (cause I didn’t need the folders, you can always hack it […]
nginx server configuration for a wordpress instance served from a URL’s subdirectory
You want to serve a wordpress instance on a website’s domain url but not at the path’s root, you want it under a sub-directory, for example “blog”, the same as this blog: https://www.gubatron.com/blog Here’s how my NGINX’s server block for ‘www.gubatron.com’ looks like at the moment (https/ssl hasn’t been configured yet) [pastacode lang=”javascript” path_id=”fc6f967d7689931c81e9e9691b714f29″ file=”” […]