Skip to content

Instantly share code, notes, and snippets.

View Pixeloverlay-Countdownlpl
#!/usr/bin/perl
#############################################################################
# PixelOverlay-Countdown.pl - Scroll a Christmas Countdown across a matrix
#############################################################################
# Set our library path to find the FPP Perl modules use lib "/opt/fpp/lib/perl/";
use lib "/opt/fpp/lib/perl/";
print "#1\n";
# Use the FPP Memory Map module to talk to the daemon
View gist:54dc2c04695ace7cb2489ee334043419
Welcome to Buildroot
buildroot login: root
Password:
# /opt/gbridge.sh
#!/bin/sh -xv
#ATMOD=`lsmod | grep atusb`
#if [ "$ATMOD" == "" ]; then
# modprobe atusb
#fi
#sleep 1
View AirQualityMonitor.json
[
{
"id": "582e31fd.66c078",
"type": "tab",
"label": "Sensor Node #1",
"disabled": false,
"info": ""
},
{
"id": "5d6c92b.0dba3ec",
@jadonk
jadonk / config-virt
Created Oct 3, 2020
Alpine default kernel config
View config-virt
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 5.4.43 Kernel Configuration
#
#
# Compiler: gcc (Alpine 9.3.0) 9.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90300
View install.sh
cp ngrok.service ~/.config/systemd/user/
cp ngrok.yml ~/.ngrok2/`
systemctl --user enable ngrok
sudo loginctl enable-linger debian
View gist:c1bf5f37cd6f5676f225de279407beb2
Deepankar Maithani
10:36 AM
https://www.ti.com/lit/ds/symlink/cd4051b.pdf
You
10:39 AM
https://elinux.org/BeagleBoard/GSoC/2020_Projects/PRU_Bi-dir_bus
Kumar Abhishek
10:41 AM
https://www.kernel.org/doc/html/latest/driver-api/driver-model/bus.html
You
View script
#!/usr/bin/perl
#############################################################################
# PixelOverlay-Countdown.pl - Scroll a Countdown across a matrix
#############################################################################
# Set our library path to find the FPP Perl modules
use lib "/opt/fpp/lib/perl/";
# Use the FPP Memory Map module to talk to the daemon
use FPP::MemoryMap;
View gist:e73eb2b026d84444a5c55a694cb75637
binutils:armhf cpp:armhf cpp-7:armhf gcc:armhf gcc-7:armhf gcc-7-multilib:armhf
View bitflip.arm.c
////////////////////////////////////////
// bitflip.arm.c
// Demo of shared memory
// Usage: This takes the first word of SHARED_RAM and flips every other bit
// over and over.
// If /dev/uio0 doesn't exist, consider using
// sudo ./bitflip.arm.out /dev/mem 0x4a300000
// Wiring: None
// Setup: Run this on the ARM and run bitflip.pru0.c or bitflip.pru1.c on the PRU
// See: