Let’s get right to the fun part!
Author: Nimpen Jimmy Nordström
System Developer and Network Security Enthusiast
DAMP – Docker, Apache, MariaDB & PHP-FPM
Are you still using virtual machines like a sucker? here’s the complete guide to the future, it’s called containerization. I’ve been using chroot for years, not only for webpages with the php-fpm, but also for services like Postfix, Dovecot and Bind.
Preprocessing with mod_rewrite and PHP
Ever had the need to publish a large set of HTML files, images and javascripts with transparent user management? My first thought was Basic Auth with htpasswd and htgroups, there’s even an SQL extension so this seems like a good solution, right?
Snapshot databases & files
Imagine that the filesystem is book and each entry in the table of contents (TOC) is a reference to a chapter. In the filesystem this “chapter” is referred to as an inode and the TOC entry is called a hard link. you may call it a file ;) Now the cool thing about this is… Continue reading Snapshot databases & files
Git Cheat Sheet
Create a git project with a remote repository
Blacklisting with Ulogd2 & nftables
This script is a part of the Asbra Firewall Project which is a set of utilities for managing a Linux Netfilter Firewall.
LetsEncrypt SSL – All renewal attempts failed.
If you’re getting the following error it means that your certbot script is outdated.
Custom Post Type with Taxonomy
Posts and pages are two sides of the same coin, the main difference is that posts (a.k.a blog-posts) are sorted by date and have optional categories or tags, pages do not. Under the hood they are both called post_types but they have been initialized with different parameters. We will be creating our own post type… Continue reading Custom Post Type with Taxonomy
Useful SQL statements for everyday WordPress administration
Sometimes you just don’t have access to a fancy GUI like phpMyAdmin but you still need to make changes to the WordPress database. This article is about those times.
Neovim – Next Generation Vim
NeoVim is a great tool and my goto editor even on large projects, but it needs proper config.