This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <SSD1306Wire.h> | |
#include <RadioLib.h> | |
const uint8_t LORA_MOSI = 27; | |
const uint8_t LORA_MISO = 19; | |
const uint8_t LORA_SCLK = 5; | |
const uint8_t LORA_CS = 18; | |
const uint8_t LORA_DIO0 = 26; | |
const uint8_t LORA_DIO1 = 33; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
from os import listdir, rename | |
from os.path import isfile, join | |
from re import sub | |
parser = argparse.ArgumentParser(prog='Transliterator', description='Transliterates file/dir names') | |
parser.add_argument('-f', '--force', action='store_true') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "si5351.h" | |
#include "Wire.h" | |
#include <DNSServer.h> | |
#include <ESPUI.h> | |
#include <WiFi.h> | |
#define INITIAL_F 27000000 | |
#define CORRECTION 120000 | |
#define AP_NAME "F-GEN" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
trap exit INT | |
while true; do | |
rec buffer.ogg silence 1 0.1 5% 1 1.0 5% | |
DPATH="$(date +%Y/%m/%d/)" | |
TIME="$(date +%H%M%S)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source [find target/swj-dp.tcl] | |
source [find mem_helper.tcl] | |
set _CHIPNAME stm32f0x | |
set _ENDIAN little | |
set _WORKAREASIZE 0x1000 | |
set _FLASH_SIZE 0 | |
set _CPUTAPID 0x0bb11477 | |
set _TARGETNAME $_CHIPNAME.cpu | |
set _FLASHNAME $_CHIPNAME.flash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<DevicePara DocVersion="5"> | |
<KeyPress> | |
<Key1ShortPress>3</Key1ShortPress> | |
<Key1LongPress>0</Key1LongPress> | |
<Key2ShortPress>1</Key2ShortPress> | |
<Key2LongPress>6</Key2LongPress> | |
</KeyPress> | |
<Comm> | |
<MaxTalkTime>2</MaxTalkTime> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S bash -x | |
REPOS_DIR=~/sdr_tools_repos | |
pkg update | |
pkg install curl | |
curl https://its-pointless.github.io/setup-pointless-repo.sh |bash | |
pkg install build-essential cmake make git libusb pulseaudio portaudio fftw gcc-10 libgfortran5 openblas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tr -dc 'A-F0-9' < /dev/urandom \ | |
| head -c 12 \ | |
| sed 's/..\B/&:/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import getrandbits | |
from socket import inet_ntoa | |
from struct import pack | |
def wan_ip(): | |
while True: | |
int_ip = 0x01000000 + getrandbits(32) % 0xfeffffff | |
if (0xe0000000 <= int_ip < 0xffffffff | |
or 0xA000000 <= int_ip < 0xb000000 |
NewerOlder