Skip to content

Instantly share code, notes, and snippets.

View plut0nium's full-sized avatar

Charles plut0nium

  • Belgium
View GitHub Profile
@plut0nium
plut0nium / PKGBUILD
Last active August 29, 2025 13:14
PKGBUILD to build an Archlinux package for QCAD Professional Edition
# Maintainer: Charles Fourneau <[email protected]>
pkgname=qcad-professional
pkgver=3.32.3.1
pkgrel=1
pkgdesc="A 2D CAD package based upon Qt - Professional Edition"
arch=('x86_64')
url="https://qcad.org"
license=('GPL-3.0-or-later')
provides=('qcad')
@plut0nium
plut0nium / 10-octoprint
Last active October 18, 2021 09:51
Getting a fully functional Octoprint installation on ArchlinuxARM (Raspberry Pi 3)
# edit with 'visudo -f /etc/sudoers.d/10-octoprint'
# allow octoprint to restart/poweroff
octoprint ALL =NOPASSWD: /usr/bin/systemctl poweroff,/usr/bin/systemctl halt,/usr/bin/systemctl reboot
@plut0nium
plut0nium / chaos_game.py
Created April 18, 2017 14:10
Draw a Sierpinski triangle using the Chaos game algorithm
# draw a Sierpinski triangle using the Chaos game algorithm
import random
import tkinter as tk
width = 640
height = 640
background_color = "#000000"
foreground_color = "#ffffff"
root = tk.Tk()