Skip to content

Instantly share code, notes, and snippets.

View ChickenChunk579's full-sized avatar

ChickenChunk579

View GitHub Profile
@ChickenChunk579
ChickenChunk579 / cube3d.js
Created April 9, 2023 18:36
dwitter experimenting
function drawCube(ctx) {
const size = 100;
const center = size / 2;
const angle = Date.now() / 1000;
// Clear canvas
ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height);
// Draw cube
ctx.save();
@ChickenChunk579
ChickenChunk579 / setup_codespaces_gui.sh
Last active January 2, 2025 22:32
Installs the Fluxbox Window Manager, NoVNC and TightVNC Server Standalone to add a desktop environment to your Codespace
#!/bin/bash
echo "Updating..."
sudo apt update
echo "Installing packages..."
sudo apt install xterm fluxbox novnc tigervnc-standalone-server
echo "Starting NoVNC"