Blog: myshittycode

222 blogs updated: 25 min. ago
macOS Big Sur: Poor Screen Quality When Connecting to Old Monitor via HDMI
PROBLEM You have a shiny Mac laptop running macOS Big Sur. This laptop is connected to an old external monitor via HDMI. The screen quality ...
10-03-2021 04:51:03 myshittycode Advanced
Docker: Executing Startup Script When Running Container Interactively
PROBLEM When running the Docker container interactively (ex: docker run --rm -it myimage), you want to run a startup script every time. SOLU...
02-02-2021 05:30:15 myshittycode Advanced
Gone From Our Sight…
Gone from our sight, but never from our hearts. Unknown
15-12-2020 21:04:00 myshittycode Advanced
Git: Querying Tags Without Cloning the Repository
PROBLEM A typical way to get a list of tags from a repository is to clone it before running git tag:- versionsort.suffix=- ensures 1.0.0-XXX...
03-10-2020 06:25:26 myshittycode Advanced
RPM: Performing Offline Installation
PROBLEM To perform an offline (or airgapped) installation, sometimes it's not sufficient to download just the needed RPM package. In most ca...
05-07-2020 02:35:35 myshittycode Advanced
Nginx: Requesting and Configuring SSL Certificate
INTRO Step by step instructions for my future self to obtain the SSL certificate and to configure it in Nginx because my fragile little brai...
25-06-2020 23:42:49 myshittycode Advanced
GCP Logging Agent: Converting Unstructured to Structured Logging
BACKGROUND The GCP logging agent uses modified fluentd, which allows us to do either unstructured logging or structured logging. The structu...
21-06-2020 03:56:42 myshittycode Advanced
GCP Stackdriver Agent: "write_gcm: can not take infinite value" Error
PROBLEM When running the stackdriver-agent (v6.x), the log file contains the following errors:- SOLUTION By default, the swap metric is enab...
14-06-2020 01:57:38 myshittycode Advanced
Terraform: Handling Errors with try(…)
PROBLEM Given the following output block:- Sometimes, during an apply or destroy, we may get this error:- One way to fix this is to do condi...
11-06-2020 21:43:38 myshittycode Advanced
GCP: Deleting Project with Lien… Quickly
PROBLEM The whole idea of placing a lien on a project is to prevent accidental deletion. But, sometimes it's a little pain in the ass to att...
15-05-2020 17:12:21 myshittycode Advanced

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.

Made better & faster using Java Profiler