Skip to content

Instantly share code, notes, and snippets.

View guychouk's full-sized avatar
🔈
Let's Git It On

guychouk

🔈
Let's Git It On
View GitHub Profile
@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
@guychouk
guychouk / zetz
Last active August 15, 2026 11:14
⚡️ Zetz: simple note taking
#!/usr/bin/env bash
pushd $ZETZ_PATH
FZF_DEFAULT_COMMAND="find *.md -type f" \
fzf --height=100% --preview-window=right:45%:wrap \
--preview 'bat --language=md --style=plain --color=always {}' \
--bind 'enter:execute($EDITOR {})' \
--bind 'ctrl-r:reload($SHELL -c "${FZF_DEFAULT_COMMAND}")' \
--bind 'ctrl-x:execute-silent(rm -f {})+reload($SHELL -c "${FZF_DEFAULT_COMMAND}")' \
@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