Skip to content

Instantly share code, notes, and snippets.

@guychouk
guychouk / README.md
Last active December 7, 2025 14:28
Simple CD using Github Actions & rsync

Simple Continuous Delivery 🚀

  • Install nginx and rsync on the server (using Debian as an example):
apt install -y nginx rsync 
  • Add the github user:
adduser --disabled-password --gecos "" --home /home/github github
@guychouk
guychouk / zetz
Last active May 9, 2023 23:25
⚡️ Zetz: simple note taking
#!/usr/bin/env bash
#
# _______| |_ ____
# |_ / _ \ __|_ /
# / / __/ |_ / /
# /___\___|\__/___|
#
# A note taking app for the terminal.
#
@guychouk
guychouk / msn-to-sqlite.py
Last active September 19, 2022 05:08
Insert MSN messenger chats XMLs to a SQLite DB.
'''
This script checks for the existence of a directory called "chats"
in the current working directory and looks for XML files to read.
Once the parsing is done, it creates an SQLite DB file, and a table
for storing the date, from, to, text and style attributes of the messages.
'''
import os
import sys