Blog: myshittycode

215 blogs updated: 33 min. ago
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
Terraform: Skipping Buggy Provider Version
PROBLEM Given the following required_providers block it will allow the following Google provider version: >= 3.8, < 4.0. As of today (May 10...
10-05-2020 17:23:10 myshittycode Advanced
Git: Configuring Different Git User Info Depending on Projects
PROBLEM Given, the following global config stored under /.gitconfig When committing any code, the above user info will always be used. Howev...
09-02-2020 06:16:35 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