This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| WATCH_EXTENSIONS=("go" "html" "css") | |
| COLOR='\033[0;35m' # Purple (change this to change the color) | |
| NC='\033[0m' # No Color | |
| PID="" | |
| # Check if inotify-tools is installed and install if not | |
| check_inotify() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This is a demo with the following pipeline | |
| // - Quarter-Resolution Raytracing - Renders at 200x112 instead of 800x450 (16x fewer pixels) | |
| // - RGB565 Conversion - Reduces color depth with Bayer dithering | |
| // - Atmospheric Fog - Adds neon-tinted fog with animated density | |
| // - Bilinear Upscaling - Smoothly scales quarter-res to full resolution | |
| // - Posterization - Quantizes colors to 8 levels per channel with dithering | |
| // - Bloom Effect - Extracts bright areas and additively blends them | |
| // Generated by Claude Sonnet 4 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "net" | |
| "os" | |
| "strings" | |
| "time" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This stack was programmed by Jackson Lohman for part of a CS2420 assignment | |
| class Stack: | |
| def __init__(self): | |
| self.head = None | |
| def push(self, item): | |
| """ Push an item onto the stack. Size increases by 1 """ | |
| if self.head is None: | |
| self.head = self.Node(value=item) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <TinyGPSPlus.h> | |
| #include <SoftwareSerial.h> | |
| // SD Logger | |
| // ESP32 pin - wire color - SD card pin | |
| //--------------------------------- | |
| // P4 - green - GRN | |
| // P0 - yellow - RXI | |
| // P2 - orange - TX0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| NetworkPort = 59281 | |
| class NetworkClient:#run on ML /remote computer | |
| #global NetworkHost, NetworkPort | |
| def __init__(self, sock=None): | |
| if sock is None: | |
| self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| else: |