duangsuse::Echo
718 subscribers
4.26K photos
130 videos
583 files
6.48K links
import this:
美而不丑、明而不暗、短而不凡、长而不乱,扁平不宽,读而后码,行之天下,勿托地上天国。
异常勿吞,难过勿过,叹一真理。效率是很重要,盲目最是低效。
简明是可靠的先验,不是可靠的祭品。
知其变,守其恒,为天下式;穷其变,知不穷,得地上势。知变守恒却穷变知新,我认真理,我不认真。

技术相干订阅~
另外有 throws 闲杂频道 @dsuset
转载频道 @dsusep
极小可能会有批评zf的消息 如有不适可退出
suse小站(面向运气编程): https://WOJS.org/#/
Download Telegram
Forwarded from RWTG9Y4's STDOUT
writing C# can cause pregnancy 🤔 #沙雕
Forwarded from 层叠 - The Cascading
GitHub 在北京时间 21 日 23:45 分左右出现大规模服务中断,网页端功能基本不能使用。
https://www.githubstatus.com/
,我终于知道问题在哪了。 UNIX 里 strcmp(a,b) 返回 0 代表相等…… 而且这个脚本其实根本没必要用 C 写,我可以改成 Python 的版本
🤔 才发现原来问题不在这,人家找的是 == 返回的是 true ,没问题啊
ust2lrc.py
2 KB
#Python #code 我不想写了,弃坑!
This media is not supported in your browser
VIEW IN TELEGRAM
[DuangSUSE@duangsuse]~/Projects/smf-to-lrc% kotlin build/libs/SMFtoLRC-1.0-SNAPSHOT.jar -v ~/文档/野习_pin.mid
This is a MIDI file
Header length: 6
This is a status-1 file with 2 tracks
One tick is 1/192-th of a quarter note
This is a MIDI track
Track length: 11
At 0 Tempo: 075300 480000 (125 bpm)
This is a MIDI track
Track length: 7472
At 13184 Lyrics: 7a68656e zhen

还算是可以用也能识别出 tempo (bpm) ,只是换行需要后期编辑,总体看还好。
duangsuse::Echo
https://github.com/Enaium/LrcToSrt/tree/master/LrcToSrt #CSharp 的转换工具 https://github.com/caroltc/lrc2srt python 后端网页处理 https://github.com/URenko/lrc2srt https://github.com/SIDmao/lrc2srt 这个是 shellscript (awk/sed) 的 https://github.com/alicesister1/lrc2srt C++…
他们怎么就不能向 pandoc 学习一下…… 弄那么多 bcc2srt bcc2ass ass2lrc 限定了输入输出,还在子程序里限制输入必须是 file 什么的而不是抽象出一个 readline iterator…… 闹了半天不仅兼容性垃圾,写那么多代码连互化都做不到,草死了
This media is not supported in your browser
VIEW IN TELEGRAM
这不公平!为什么我的也能用,却没有 48 颗星星?
我给了别人辣么多星星,却没哪怕两个人肯给我的东西打颗星……
https://github.com/notepad-plus-plus/notepad-plus-plus/commit/bf2cd8e05abf5ca6c93cdc8011e0023292aeedb8#commitcomment-38574535 #GitHub #China
I see your point. However, since the author and main maintainer of taiwaneseMandarin.xml is a Taiwanese but not a Chinese nor a Hongkongners, I think it's fair to call it Taiwan Mandarin. OTOH, language/culture/region naming is just a conventional way, while people understand what it does mean, non-conventional way can be used.
This media is not supported in your browser
VIEW IN TELEGRAM