This file contains hidden or 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
| @echo off | |
| setlocal enabledelayedexpansion | |
| :: A Batch Script to split video to segments. Place ffmpeg.exe together with the script or in %PATH% | |
| :: You can get ffmpeg from https://www.gyan.dev/ffmpeg/builds/#release-builds | |
| :: Copyleft LunarShaddow 2026 | |
| :: Ask for video file | |
| set /p "video_file=Enter video file: " | |
| if "%video_file%"=="" ( |
This file contains hidden or 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
| [weather] | |
| # Coordinates for the city (used to fetch data from Open-Meteo) | |
| # Shanghai: 31.2304, 121.4737 | |
| latitude = 31.2304 | |
| longitude = 121.4737 | |
| # Timezone (IANA format, e.g. Asia/Shanghai, America/New_York) | |
| timezone = Asia/Shanghai |
This file contains hidden or 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
| Name: gnushogi | |
| %global commit 5bb0b5b2f6953b3250e965c7ecaf108215751a74 | |
| %global shortcommit %(c=%{commit}; echo ${c:0:7}) | |
| Version: 1.5 | |
| Release: 0.2.git%{shortcommit}%{?dist} | |
| Summary: Shogi, the Japanese version of chess | |
| License: GPLv3+ |
This file contains hidden or 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
| #!/bin/bash | |
| # A script to spur on rsync. | |
| # Released under GPLv3, copyright LunarShaddow | |
| # retry cap | |
| MAXTRY=10 | |
| # safety-keep sleep interval | |
| SLEEPSEC=600 | |
| RVALUE=0 |