4 ms·
- testing short code in various repls - using qalculate! for complex calculation (think physical constants, unit mixing, trig), currency and unit conversion, s
by esrh 4y ago
- testing short code in various repls
- using qalculate! for complex calculation (think physical constants, unit mixing, trig), currency and unit conversion, simple symbolics
- ffmpeg. i have aliases for video compression, stripping audio, etc
- converting between file formats, imagemagick and pandoc
- untarring files, encrypting files, batch renaming
- sending files somewhere else via scp
- remote controlling computers
- it's possible to set up a vnc server and a full gui desktop environment, for a highly portable system that gets you the same program and file setup on any computer supporting a vnc client.
Once you build up a collection of aliases / shell functions it can be very powerful even with a small virtual keyboard. The fish shell is also a great qol addition.
- fallat 4y agoHow do you get ffmpeg and other goodies you mentioned? Is there some software repo termux maintains? Is downloading software that way reasonably "safe"? I've used Termux before but never considered these things...
- yesbabyyes 4y ago`pkg install ffmpeg` It's a thin wrapper around apt for whatever reason. Quite a lot of software packages are distributed by/for termux!
- HumptyDumptySat 4y agoThere are number of different places to get this info. I use Termux with yt-dlp and decode to MP4 or extract audio only which requires ffmpeg and it works fine if a little slow. I decoded a 300 GB twitch stream that after downloading took about 20 mins to complete the decode (encode?) to mp4 on my Pixel6. But it works perfectly. e.g see https://gist.github.com/cyrillkuettel/d63785cf5f4c00106ae215188c377515 https://gist.github.com/cyrillkuettel/d63785cf5f4c00106ae215... for example.
- brokenmachine 4y agoPixel6 "only" has 256Gb storage, how did you download 300Gb?
- clonhero 4y agopipe yt-dlp into ffmpeg, set encoding setting such that it produces an output file small enough to fit onto storage or external storage
- brokenmachine 4y agoCan't you just download the lower-res video using yt-dlp, or isn't that a thing on twitch?
- qbasic_forever 4y agoTermux has an open source repository of packages. It's similar to arch, debian, alpine, etc. https://github.com/termux/termux-packages https://github.com/termux/termux-packages Termux doesn't get special privileges unless you root your device. It can't go messing with your phone data unless you granted it permission to do so (but even then it doesn't have access to everything). It's no worse than any other Android app IMHO.
- tester457 4y agoWhat do you use for encrypting files and batch renaming on termux? > Once you build up a collection of aliases / shell functions Could you share yours possibly?