Skip to content

Instantly share code, notes, and snippets.

View plut0nium's full-sized avatar

Charles plut0nium

  • Belgium
View GitHub Profile
@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()