Skip to content

Instantly share code, notes, and snippets.

@mike2718
mike2718 / tle.txt
Last active March 6, 2026 18:31
HAM Satellites TLE
AO-7
1 07530U 74089B 26051.87876834 -.00000051 00000-0 -28305-4 0 9998
2 07530 101.9974 63.8876 0012134 354.5706 72.3443 12.53695969345940
GO-32
1 25397U 98043D 26064.94689580 .00000100 00000-0 63444-4 0 9993
2 25397 99.0023 55.1278 0001952 125.5048 234.6312 14.24404795436634
ISS
1 25544U 98067A 26051.79705790 .00009624 00000-0 18780-3 0 9996
2 25544 51.6323 155.8543 0008571 116.6604 243.5263 15.48167199553715
KKS-1
@mike2718
mike2718 / download-soundmodem.cmd
Last active July 17, 2025 07:47
Soundmodem软件批量下载批处理
@echo off
cd /d "%~dp0"
mkdir soundmodem
cd soundmodem
curl -fROL http://uz7.ho.ua/binar2.zip
curl -fROL http://uz7.ho.ua/hydrat.zip
curl -fROL http://uz7.ho.ua/beesat1.zip
curl -fROL http://uz7.ho.ua/genesis200.zip
curl -fROL http://uz7.ho.ua/dora.zip
diff --git a/cmake/search-dirs.cmake b/cmake/search-dirs.cmake
index 0eacd81a2..009e849a5 100644
--- a/cmake/search-dirs.cmake
+++ b/cmake/search-dirs.cmake
@@ -2,34 +2,35 @@
# libs. You can specify the path also using -D<VAR> from commandline.
# The location, where the bison executable can be found
-#SET (BISON_EXECUTABLE "${CMAKE_SOURCE_DIR}/../win_flex_bison-latest/win_bison.exe")
+SET (BISON_EXECUTABLE "${CMAKE_SOURCE_DIR}/../win_flex_bison-latest/win_bison.exe")
@mike2718
mike2718 / openwrt路由器禁用ipv6.md
Last active May 29, 2025 19:30
openwrt路由器禁用ipv6
# 禁用网络接口 IPv6
uci set network.lan.ipv6='0'
uci set network.wan.ipv6='0'
uci set network.lan.delegate='0'

# 完全禁用 WAN6 接口的协议
uci set network.wan6.proto='none'

# 禁用 DHCPv6 和 RA
@mike2718
mike2718 / update-tle.bat
Last active March 16, 2026 19:35
自动更新卫星星历的批处理
@echo off
cd /d "%~dp0"
del /q tle.txt
c:\cmdtool64\curl.exe -# -f "https://tle.xanyi.eu.org/https://celestrak.org/NORAD/elements/gp.php?GROUP=active&FORMAT=tle" >> tle.txt
c:\cmdtool64\curl.exe -# -f "https://tle.xanyi.eu.org/https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=tle" >> tle.txt
c:\cmdtool64\curl.exe -# -f "https://tle.xanyi.eu.org/https://celestrak.org/NORAD/elements/gp.php?GROUP=visual&FORMAT=tle" >> tle.txt
c:\cmdtool64\curl.exe -# -f "https://tle.xanyi.eu.org/https://celestrak.org/NORAD/elements/gp.php?GROUP=cubesat&FORMAT=tle" >> tle.txt
c:\cmdtool64\curl.exe -# -f "https://tle.xanyi.eu.org/https://celestrak.org/NORAD/elements/gp.php?GROUP=education&FORMAT=tle" >> tle.txt
@mike2718
mike2718 / mmv2wav.sh
Created January 7, 2025 11:28
Convert custom format used by MMSSTV (http://hamsoft.ca/pages/mmsstv.php) to wave files.
#!/usr/bin/env bash
[ $# -eq 0 ] && { echo "No input file given"; exit 1; }
[ ! -f "$1" ] && { echo "File $1 not found"; exit 1; }
tail -c +5 "$1" > /tmp/data.raw
ffmpeg -f s16le -ac 1 -ar 11025 -i /tmp/data.raw -y "${1%.mmv}.wav"
@mike2718
mike2718 / APRS注意事项笔记.md
Created July 31, 2024 16:29
APRS注意事项笔记

APRS注意事项笔记

SSID的选择

  • 安卓APRSdroid手机 + 手机网络 -> -9
  • 安卓APRSdroid手机 + 对讲机144.640Mhz收发 -> -7
  • 树莓派IGate -> -10
@mike2718
mike2718 / 各种系统备份命令笔记.md
Last active July 24, 2024 12:09
各种系统备份命令笔记

各种系统备份命令笔记

树莓派

取消挂载:

sudo umount /dev/sdc*

备份:

@mike2718
mike2718 / 将microSD卡中的内容转移到新microSD卡的注意事项笔记.md
Last active June 27, 2024 17:14
将microSD卡中的内容转移到新microSD卡的注意事项笔记

将microSD卡中的内容转移到新microSD卡的注意事项笔记

exFAT格式的microSD卡(安卓手机用卡)

由于exFAT格式不支持扩展命令,所以目前只能先用cp备份所有文件,再用mkfs.exfat格式化,最后用cp写入所有文件

Ubuntu系统下,先安装exfatprogs包:

sudo apt install exfatprogs

@mike2718
mike2718 / 八重洲FT-65R功能设置笔记.md
Last active April 25, 2024 06:18
八重洲FT-65R功能设置笔记

八重洲FT-65R功能设置笔记

切换频率模式和信道模式

⁎V/M

选择操作频段

#BAND