Skip to content

Instantly share code, notes, and snippets.

View hui-shao's full-sized avatar

Hui-Shao hui-shao

View GitHub Profile
@hui-shao
hui-shao / c_problem_1.c
Created April 29, 2022 15:01
谭式C语言阴间问题之一
#include<stdio.h>
int main(){
unsigned short score = -1;
printf("%u\n",score);
while(score++<13){
score += score+++ ++score;
score = --score + score ++;
}
printf("%u\n",score);
@hui-shao
hui-shao / ass_to_mov.bat
Created February 14, 2021 10:38
Convert ass subtitles to mov video format
@echo off
REM 功能:封装 ass字幕为mov格式(透明背景),支持导入Pr
REM 作者:Hui-Shao
REM 注意: 修改相应参数
title 封装 ass字幕 为 mov By Hui-Shao
echo.
echo 请确认ass字幕文件位于脚本所在目录下, 并命名为 subtitle.ass
echo 请确认你已经 右键-编辑并修改好该脚本文件的ffmpeg命令参数
echo.