Skip to content

Instantly share code, notes, and snippets.

View jrsphoto's full-sized avatar

John Scherer jrsphoto

View GitHub Profile
@jrsphoto
jrsphoto / sdr-enthusiasts_docker-compose.yml
Created October 21, 2023 22:06
docker-compose.yml for sdr-enthusiasts
version: '3.8'
services:
ultrafeeder:
# ultrafeeder combines a number of functions:
# - it retrieves and decodes 1090MHz Mode A/C/S data from the SDR(s) using Wiedehopf's branch of readsb
# - it implements a `tar1090` based map on port 80 (mapped to port 8080 on the host)
# - it includes graph1090 (system statistics website) on http://xxxxx/graphs1090
# - it sends ADSB data directly (without the need of additional containers) to the
# "new" aggregators, and, if desired, also to AdsbExchange
/* *
* Arduino Telnet Server *
* 7 July 2010 *
* Basic Arduino I/O via *
* a command line interface *
* by Steve Lentz *
* stlentz[at]gmail[dot]com *
Quick Start Instructions:
1) Set Ethernet address in code below.
@jrsphoto
jrsphoto / klippy.log
Created April 18, 2023 16:31
klippy.log file for Riker
This file has been truncated, but you can view the full file.
===== Config file =====
[virtual_sdcard]
path = /home/klipper/printer_data/gcodes
on_error_gcode =
CANCEL_PRINT
[pause_resume]
[display_status]
@jrsphoto
jrsphoto / Display.cfg
Created April 18, 2023 03:39
my display.cfg for voron 2.4 with Octopus 1.1 and BTT Mini12864
#####################################################################
# Displays & Beeper
# EXP1 / EXP2 (display) pins
#####################################################################
#[output_pin beeper]
#pin: EXP1_1
#value: 0
#shutdown_value: 0
#pwm: True
@jrsphoto
jrsphoto / create-hotspot.md
Created December 3, 2021 09:05 — forked from narate/create-hotspot.md
Create Wi-Fi Hotspot on Linux using nmcli

Create a Wi-Fi hotspot on Linux using nmcli

Original post : https://unix.stackexchange.com/a/310699

nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
#include <SPI.h>
#include <Wire.h> //protocol to talk to si5351
#include <WireIMXRT.h> //gets installed with wire.h
#include <WireKinetis.h> //
#include <ILI9341_t3.h>
#include <font_Arial.h>
#include <font_ArialBold.h>
#include <i2cEncoderLibV2.h> // DuPPa i2c encoder library
#include <XPT2046_Touchscreen.h>
#include <Encoder.h>
@jrsphoto
jrsphoto / airspy_adsb config
Last active March 11, 2020 03:14
Piaware Config Files
#gain is 0 to 21, each step of gain is equivalent to about 3dB, so reduce in increments of 1 if 21 is too$GAIN= 21
#other options, append or remove from the line starting with OPTIONS=
#-f: error correction bits, 0, 1 or 2: default and recommended is 1 for now.
# (-f 2 is not recommended at the moment when feeding FlightAware and maybe others
# as they have expressed concern about 2 bit error correction)
#-v: leave it on, will provide messages to system log, read with sudo journalctl -u airspy_adsb
#-x: dx mode, improves reception of weak messages, introduces bogus messages (opinion: not worth it)
#-p: bit packing, reduces USB bandwidth but slightly increases CPU load. Not recommended in most cases.
#-e: preamble filter sensitivity, values: 0.1 to 10.0 (higher values increase CPU load and can improve de$#-w <whitelist_threshold> Whitelist threshold: 1..10 (default: 3, lower not recommended due to bogus me$#-b: enable bias-t
@jrsphoto
jrsphoto / bed.g
Last active April 17, 2020 05:07
Duet Reprap v3 config files for my Ender 3 pro
M561 ; clear any bed transform
M201 X1000.00 Y1000.00 Z90.00 ; reduce accelerations a bit before we probe
G29 ; probe the bed and enable compensation
M201 X5000.00 Y5000.00 Z95.00 E4000.00 ; set accelerations (mm/s^2)
G1 Z10 X10 Y10 F2000
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.1.5 on Wed Jan 08 2020 16:01:30 GMT-0800 (Pacific Standard Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Ender3" ; set printer name
@jrsphoto
jrsphoto / minipcb2.config.h
Created November 19, 2019 08:17
OnStep MiniPCB2 Config file
// ---------------------------------------------------------------------------------------------------------------------------------
// Configuration for OnStep
/*
* For more information on setting OnStep up see http://www.stellarjourney.com/index.php?r=site/equipment_onstep
* and join the OnStep Groups.io at https://groups.io/g/onstep
*
* *** Read the compiler warnings and errors, they are there to help guard against invalid configurations ***
*/