Skip to content

Instantly share code, notes, and snippets.

View ntalcus's full-sized avatar
🌴
Island Time

Noah Alcus ntalcus

🌴
Island Time
  • Confluent
  • Central TIme, USA
  • 13:07 (UTC -05:00)
View GitHub Profile
1) Read an image from file
2) Display an image that you read from file
3) Capture Video using your webcam and display the feed
4) Display back and white live stream from your webcam.
5) Have a slider to change brightness of the webcam live stream. Display.
6) Have a slider to change contrast of the webcam live stream. Display.
7) Capture a snapshot from your webcam. Then display difference between live video stream and this snapshot. (Background subtraction)
8) Display Canny edge image from your live webcam stream
9) Have a slider to change smoothness / sharpness of image from live webcam stream.
10) Display histogram of colors (RGB) from your live webcam stream
@pgjones
pgjones / threadPool.js
Created August 21, 2016 20:59
Simple javascript thread pool example
ThreadPool = function(script, size) {
this.threads = [];
this.tasks = [];
for (var ithread = 0; ithread < size; ithread++) {
this.threads.push(new lxst.FilterThread(script, this));
}
};
ThreadPool.prototype.queueTask = function(task, callback) {
const task = {task: task, callback: callback};
@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active October 25, 2025 09:29
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k