Skip to content

Instantly share code, notes, and snippets.

View barrier.service
# /etc/systemd/system/barrier.service
[Unit]
Description=Barrier Client daemon
After=display-manager.service network.target
[Service]
Environment="XAUTHORITY=/home/debian/.Xauthority"
User=debian
Group=debian
ExecStart=barrierc --name AI64 --disable-crypto --debug INFO -f 192.168.0.22
View Dockerfile.arm64v8.foxy
# Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# Redistributions in binary form must reproduce the above copyright
View mikroBUS-Greybus-BeagleConnect-Freedom-Demo.md

Seeed BeagleBone® Green Gateway host

When it comes to hardware setup, there is a fair bit of handwaving below. It is assumed for now you can figure out how to connect the antennas to the BeagleConnect Freedom boards and other similar hardware configuration steps.

OS Image for BeagleBone/PocketBeagle from SD card

  1. Download the special mikroBUS/Greybus BeagleBoard.org Debian image from here.
  2. Load this image to a microSD card using a tool like Etcher.
  3. Insert the microSD card into the Green Gateway.
  4. Power the Green Gateway via the 12V barrel jack.
  5. Use Ethernet via a cable or WiFi via connmanctl for an Internet connection.
View README.md
$ ./decode-adc.js 
[
   0.5,    1,  1.5,    2, 2.5,    3,  3.5,
     4,  4.5,    5,  5.5,   6,  6.5,    7,
   7.5,    8,  8.5,    9, 9.5,   10, 10.5,
    11, 11.5,   12, 12.5,  13, 13.5,   14,
  14.5,   15, 15.5,   16
]
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