Skip to content

Instantly share code, notes, and snippets.

@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
Created April 27, 2025 07:32
自动更新卫星星历的批处理
@echo off
cd /d "%~dp0"
del /q TLE.txt 2>nul
rem c:\cmdtool64\curl.exe -# "https://celestrak.org/NORAD/elements/gp.php?GROUP=active&FORMAT=tle" >> TLE.txt
c:\cmdtool64\curl.exe -# "https://amsat.org/tle/current/nasabare.txt" >> TLE.txt
c:\cmdtool64\curl.exe -# "https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=tle" >> TLE.txt
c:\cmdtool64\curl.exe -# "https://celestrak.org/NORAD/elements/gp.php?GROUP=cubesat&FORMAT=tle" >> TLE.txt
rem c:\cmdtool64\curl.exe -# "https://celestrak.org/NORAD/elements/gp.php?GROUP=education&FORMAT=tle" >> TLE.txt
rem c:\cmdtool64\curl.exe -# "https://celestrak.org/NORAD/elements/gp.php?GROUP=engineering&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

@mike2718
mike2718 / 八重洲FT-60R功能设置笔记.md
Last active October 18, 2024 18:18
八重洲FT-60R功能设置笔记

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

选择操作频段

设置接收/发射亚音模式

设置亚音频率

设置中继频差方向