~/archivio / 2015–2021

Archive.

The old nutellino.it, recovered from the Wayback Machine. Some things aged well, others less so: I leave them here as they were.

filter by

CKS - Useful commands

Hi everyone, this is a small collection of commands and hints useful (i hope) for CKS certification.

Scale workloads with Ingress traffic!

If you didn't know, I work for SIGHUP, one of the first Kubernetes company in Italy.

Pi-hole - Secure your home network!

Hi guys! I finally installed a pi-hole DNS server in my network. I want to show you how to do it, merely using docker. Total time needed for this setup ~15 minutes.

Windows 10 - Port forward

I don't know what you think, but being a Mac user with the need to use windows to connect to enteprisish VPNs (essentially when they block VPNs from MacOS) i find the matryoshka…

New administrator user on Kubernetes

Hello guys, in this tutorial I show and explain commands used to generate new TLS certificates for a new "admin" on your Kubernetes cluster.

Kubectl - my cheat sheet

Hello everyone, this is my first English article!

Journey to Kubernetes - PART 9000 - DigitalOcean

Hi everyone! As you may have noticed, I never finished the guides for running a kubernetes cluster on hetzner. Partly for lack of time, partly because hetzner isn't a turnkey system…

Parsec Gaming - A remote workstation

Today I'll tell you about Parsec Gaming, an online Game Streaming service... the article, though, is on another site, in collaboration with Artif.it!

1 2 3 Lambda (with Terraform)

Those of you who work with AWS all the time have surely faced the dilemma of managing Lambdas.

Atlantis - Terraform for Teams - Introduction

Terraform is a great system for managing infrastructure as code. We've seen that it lets you perform complex operations using nothing but a descriptive structure…

Github vs Gitlab vs Bitbucket - My 2019 report card

The world of cloud systems for managing code repositories is always evolving, which is why the features they offer change from year to year.

Journey to Kubernetes - Part 2 of 7 - Infrastructure

Welcome back to the second part of the journey to the kubernetes cluster. In this article I'll show you which cloud hosting I picked to build the cluster on and how I did it.

Gitlab.com - CI/CD of a static website on Kubernetes

Good morning everyone, in this guide I'll show you an example of CI/CD for the deployment of a container holding a static html website. This example can easily be…

Fixing GlusterFS split-brain automagically

Hi everyone! When using GlusterFS (nutellino.it uses it too) it can happen that, because of network partitioning or some nodes crashing, some of the files in the glusterfs volumes…

Batch compressing jpeg and png images

Every so often I've found myself having to optimize the media folder of a website, usually wordpress or ghost cms.

Journey to Kubernetes - Part 1 of 7 - The Recipe

I've finally finished studying and testing my personal Kubernetes cluster, where I'm going to move all the services I manage, with the goal of being able to…

Terraform, Hetzner cloud, Route 53 and Let's Encrypt

I'll briefly walk through an example of automatic provisioning of a virtual machine on Hetzner cloud (very affordable cloud hosting, link: https://www.hetzner.com/cloud )…

Broken antispam blacklist - dnsbl.cyberlogic.net

Hi everyone! Since May 25, 2018 it has been reported that the dnsbl.cyberlogic.net blacklist for some reason flags every ip on the internet as possible spam, effectively…

Zimbra 8.8.5 ce restore from files

Not long ago I had to restore a zimbra server 8.8.5 machine full of mailboxes and emails onto a new virtual machine. For some reason I didn't have…

Kubernetes + Private Docker Registry

Here's another guide on Docker and Kubernetes. This time we'll cover how to add a private docker regisrtry so that kubernetes can pull the…

MySql backups with a docker Sidecar

This time I'm bringing you a small utility project that helps you manage backups of your mysql deployments on docker/kubernetes.

Kubernetes + Heketi

Let's move on to storage in Kubernetes. The most obvious way to create persistent volumes and persistent volume claims is the manual one. You pick a driver, if needed…

Kubernetes + Rancher

There are tons of ways to start a Kubernetes cluster, and one of them is Rancher.

Private Docker Registry

In this guide we'll see how to start a private docker registry. The perfect place to store all the images of projects you don't want to make public on…

Cleaning up your Docker development environment

Have you ever found yourself with hundreds of containers created on your machine that you no longer use? I have, which is why I wrote myself the following commands to…

Happy holidays!

We'll mostly be talking about Kubernetes, the ways to install it and how to deploy applications on it! :)

3ds max -> Unity -> iOS

I put together this little guide for anyone who'd like to try a 3D model made with 3ds max inside Unity, and from there on their own iPhone.

Xen server - Hot Backup - .xva version

Hi everyone! Here's another version of this guide on making hot backups of Xen Server virtual machines.

Timed-delivery SMTP - Node mailing amqp

Hi everyone! I started this project because I needed an smtp able to manage the timing of email delivery, with full control over the whole…

APNs Auth Key - Apple push notifications

Hi everyone! It's been a while since I wrote a guide, but today I'd like to share a project I uploaded to github that runs a small nodejs server able to send…

Glances - Your new best friend

Today I'd like to introduce you to a great program: it's called Glances and it's written in python.

Replacing a string with SED

Here's a handy command to replace strings inside a text file on unix. The command is the following:

Adding a script at startup

To add a script at startup on Ubuntu and Raspberry(Raspbian) you can edit the file:

Benchmark your website - Siege!

During my daily surfing around the web, I came across this lovely command, “siege”, which is simply a tool that simulates a set number of users who…

Scanning a whole network to find all the hosts

Hi everyone! Here's another handy command to scan a whole network and find all the hosts that are up. I wrote another guide with a different command, which you can find here!

Creating a random banner in php

Hi everyone, not long ago I had to create a randomly rotating banner on a website, here's the php code you need to do it!

Pinging a whole network to find the hosts that are UP

Quite often you're asked to map a network, to find out what's switched on and responding, or for other purposes. I put together a set of shell commands that does exactly that.

Sharing ssh tunnels on the local network

Have you ever opened a tunnel on your computer, bringing a port from a remote server to local, and that port needed to be reachable by other computers on the network?

Running a command for each line of a text file

Have you ever had a text file where each line holds, for example, a file name or a domain name, and for each of these lines you'd need to run a…

Closing old ssh sessions

Have you ever needed to check the history on a server to find a command you'd already used, but the command is in the history of a separate session that's still open…

Converting an image from DMG to ISO

Who hasn't found themselves needing to convert a .dmg file to .iso on a mac? I have, and maybe lots of you have too 🙂

N2N guide: the best peer to peer vpn on debian/unix

Hi! Have you ever found yourself having to set up vpn over vpn over yet another vpn, or ssh tunnels with vpn, vpn with ssh tunnels with vpn… just to be able to connect to…

Repairing and Optimizing MySql databases

A simple and effective command to repair and optimize MySql databases. Be careful though: if you optimize innodb tables and the server isn't set up so that each…

Welcome!

I'm Samuele and this is simply the site I'll try to keep updated from now on. I'll post guides, curiosities and anything I find fun or useful.

EOF61 articles ■