Skip to content

Instantly share code, notes, and snippets.

View interested1's full-sized avatar

David Scheltema interested1

View GitHub Profile
@benjamincharity
benjamincharity / autonomous.txt
Last active November 5, 2025 21:48
Instructions on how to reset the autonomous desk. This fixes a problem where the desk will not lower (also reportedly fixes incorrectly reported heights).
> Thank you for reaching out to Autonomous! I am sorry to hear that you are having some trouble with your SmartDesk
> but I will be glad to assist. It sounds like your system needs a "hard reset" can I please have you follow these
> steps thoroughly.
Reset Steps:
1. Unplug the desk for 20 seconds. Plug it back in. Wait a full 20 seconds.
2. Press the up and down buttons until the desk lowers all the way and beeps or 20 seconds pass.
3. Release both buttons.
4. Press the down buttons until the desk beeps one more time or 20 seconds pass.
@DiegoTc
DiegoTc / CARD_CD_code.js
Last active October 15, 2019 04:19
Blinking a LED with BeagleBone Black
var b = require('bonescript');
var led = "P8_10";
var state = 0;
b.pinMode(led, 'out');
toggleLED = function() {
state = state ? 0 : 1;
b.digitalWrite(led, state);
};
@mazzmn
mazzmn / TheQuoteMachine.py
Created March 7, 2014 23:18
Internet Connected Joke Machine Code
#!/usr/bin/python
#Button Handling based on this https://gist.github.com/larsks/6161684
#Main script by Tim Massaro for The Internet Connected Joke Machine
#import pifacecommon.core
import pifacecommon.interrupts
import os
import time
import pifacecad
import pycurl
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 10, 2025 21:19
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname