McSneaky Blog
  • Home
  • About
Sign in Subscribe

coding

A collection of 4 posts
coding

Useful Commands

Since I keep forgetting some good commands, which I have to re-search all the timem, I'll write them down in here This post will be updated from time to time, so everything is in one place Git Change remote URL Good when remote has moved, renamed or just
Oct 7, 2023 3 min read
coding

Developing 101

Git usage Use Git! (or any other version control system) Git gud and commit Using Git and learning basics with it how to use it will save you a lot of time. At the beginning it might slow you down, but it will pay back greatly in future The more
Sep 10, 2023 4 min read
Automate Docker deployment with Gitlab
coding

Automate Docker deployment with Gitlab

Going to deploy single Docker container to remote server. Good for all sorts of small projects and pages, like this blog :) .gitlab-ci.yml Create .gitlab-ci.yml file in project root # Setup 2 steps: # dockerize Build container # deploy Deploy to remote server stages: - dockerize - deploy dockerize: stage: dockerize image:
Jul 16, 2023 2 min read
Static files in Dockerized Nginx
coding

Static files in Dockerized Nginx

Dockerfile and Nginx config to setup really basic statics file hosting container. This setup will let host do all the HTTPS, GZIP, cache etc magic. This is just nice starting point # Use nginx:alpine as base image FROM nginx:alpine # Copy static files into Nginx webroot COPY ./public /usr/share/
Jun 12, 2023 1 min read
Page 1 of 1
McSneaky Blog © 2025
  • Sign up
Powered by Ghost