Skip to content

Instantly share code, notes, and snippets.

View TechnologyClassroom's full-sized avatar
💭
Hacking

Michael McMahon TechnologyClassroom

💭
Hacking
View GitHub Profile
@chrismeyersfsu
chrismeyersfsu / oscilloscope.c
Last active January 7, 2024 14:15
Arduino Poor man's oscilloscope processing code
/*
* Oscilloscope
* Gives a visual rendering of analog pin 0 in realtime.
*
* This project is part of Accrochages
* See http://accrochages.drone.ws
*
* (c) 2008 Sofian Audry (info@sofianaudry.com)
*
* This program is free software: you can redistribute it and/or modify
@zer0her0
zer0her0 / corrupt.pde
Created April 1, 2012 15:58
Image Corruption in Processing...
// Coded initially in 2004 Benjamin Gaulon corrupt.recyclism.com // more info on www.recyclism.com //
// Feel free to use / modify / Share this //
PImage img;
String fileName = "test"; // You file name here (should be in the DATA Folder)
String fileExt = ".jpg"; // file extansion (works best with JPG or PNG)
void setup(){
size(950,150);
byte b[] = loadBytes(fileName + fileExt);
@robinsmidsrod
robinsmidsrod / _INSTALL.md
Last active June 6, 2026 01:29
Bootstrapping full iPXE native menu with customizable default option with timeout (also includes working Ubuntu 12.04 preseed install)

Add the following chunk to your existing ISC dhcpd.conf file.

if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
    filename "undionly.kpxe";
}

(or see https://gist.github.com/4008017 for a more elaborate setup