Skip to content

Instantly share code, notes, and snippets.

@kepler-5
kepler-5 / comp_multi.rs
Last active October 10, 2025 04:12
Python comprehension proc macro that handles multiple nested for-if-clauses, flattening nested structure
// This is free and unencumbered software released into the public domain.
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by any
// means.
// In jurisdictions that recognize copyright laws, the author or authors
// of this software dedicate any and all copyright interest in the
// software to the public domain. We make this dedication for the benefit
@oddlyspaced
oddlyspaced / arch-install-mysql-workbench
Created February 28, 2021 14:40
Step by step guide to properly install MySQL Server and MySQL-Workbench on Arch Linux and other based distributions like Manjaro etc.
# Part 0 - Updating system
sudo pacman -Syyu
# Part 1 - Installing software dependencies
sudo pacman -S git gnome-keyring
# Part 2 - Compile and Install MySQL Server
# (This might take like ~4 hours since it's compiling the source)
git clone https://aur.archlinux.org/mysql.git
cd mysql