Open in app

Sign In

Write

Sign In

dotmethod
dotmethod

2 Followers

Home

About

Mar 23

Just enough architecture

Originally posted on dotmethod.me “Just enough architecture” is a concept that emphasizes the importance of pragmatically designing IT systems to meet the specific needs of the business. This approach advocates for only architecting an IT system as far as it is needed, rather than over-architecting and adding unnecessary complexity. One…

2 min read

2 min read


Jan 29

The pragmatic rules of thumb of the 12-factor app

Originally posted on dotmethod.me In principle, the 12-factor app is a methodology for building software-as-a-service (SaaS) apps that are optimized for the cloud. This methodology, first introduced by Heroku, defines a set of principles that developers should follow to ensure that their applications are easy to deploy, scale, and maintain. …

2 min read

2 min read


Sep 7, 2022

Search engine: Meilisearch deployment for k8s

Originally posted on dotmethod.me Elastic search, TypeSense, Algolia, Meilisearch — a few search engine technologies which you might have seen out there; ElasticSearch currently being the largest of them. My favorite of them: Meilisearch. No surprise here, given the title of the article. …

1 min read

1 min read


Apr 24, 2021

Getting started with K8S: How to get a cluster

Originally posted on dotmethod.me Photo by Pierre Bamin on Unsplash “How do I get started with Kubernetes? Is it difficult? I’ve read it’s difficult. I skimmed through some articles and I was overwhelmed.” Alright. Alright… Fair enough. I was also confused at first. But here’s what it boils down to…

2 min read

Getting started with K8S: How to get a cluster
Getting started with K8S: How to get a cluster

2 min read


Apr 19, 2021

Kubernetes generate user account and config

Originally posted on dotmethod.me How do you generate a kubernetes user account? How do you get access to your kubernetes cluster? How can you generate a kubernetes config file? Intuitively, this should be pretty simple. However, in practice, the process is quite a bit convoluted. However, I have automated it…

2 min read

Kubernetes generate user account and config
Kubernetes generate user account and config

2 min read


Apr 18, 2021

Simple Plausible Analytics on Kubernetes

Originally posted on dotmethod.me Here’s a simple, self-hosted configuration for Plausible Analytics, meant for deploying to Kubernetes. Note: All the code and instructions have been uploaded to github: https://github.com/dotmethodme/plausible-kubernetes How to Go to https://github.com/dotmethodme/plausible-kubernetes and clone the repository. All yaml files are inside the folder named base Open postgress.yaml. Edit the POSTGRES_PASSWORD field and set a randomly generated password for the postgres database

1 min read

Simple Plausible Analytics on Kubernetes
Simple Plausible Analytics on Kubernetes

1 min read


Apr 11, 2021

Ubuntu desktop — my install checklist

Originally posted on dotmethod.me Given a brand new ubuntu installation, here’s my first half-hour on the new system: Install system updates Install git Install VSCode Install Brave browser Install zsh & ohmyzsh Add a new ssh key to GitHub account Clone my dotfiles Install tilda Install pass Clone my password store Install kubectl Install solaar Install key-mapper

1 min read

1 min read


Mar 27, 2021

Async Python: fire and forget method

Originally posted on dotmethod.me The decorator method def fire_and_forget(f): from functools import wraps @wraps(f) def wrapped(*args, **kwargs): loop = asyncio.get_event_loop() if callable(f): return loop.run_in_executor(None, f, *args, **kwargs) else: raise TypeError('Task must be a callable') return wrapped An example: Use the method above as a decorator for other methods:

1 min read

1 min read


Mar 27, 2021

GitHub Actions & K8S: build and deploy

Originally posted on dotmethod.me How can you use Github Actions to build your code into containers and ship them to Kubernetes? Here’s one of my favorite pipelines, using Github Actions for tagging and building and DockerHub for hosting container images. name: Auto deployment on: push: branches…

2 min read

GitHub Actions & K8S: build and deploy
GitHub Actions & K8S: build and deploy

2 min read


Mar 20, 2021

How can I use my gpg key with other devices?

Originally posted on dotmethod.me So, let’s say you’ve setup pass (the password manager) on your computer. But then, what if you want the same password manager on your phone? How about if you have a second computer that you want to share the passwords with? In this post I won’t…

2 min read

How can I use my gpg key with other devices?
How can I use my gpg key with other devices?

2 min read

dotmethod

dotmethod

2 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech