bash Execute a Command in Every Directory with Bash TL;DR: Use a find-based loop The other day I was wondering how to execute a command in each sub-directory of a project. In python, you have os.walk. In C, I would've probably written myself something just for fun etc. In shell, I know you have find
bash Convert m4a to mp3 Using Ffmpeg on Windows (and Git Bash) Here's a simple command line to convert m4a files to MP3 on windows: for i in *.m4a; do ./ffmpeg.exe -i "$i" "${i%.m4a}".mp3; done HTH,
bash Use Git Bash as Integrated Terminal in VS Code TL;DR:: Install windows git to get bash and add "C:\\Program Files\\Git\\bin\\bash.exe" to "terminal.integrated.shell.windows" in VS Code's user settings. As I'm trying my hand at developing a node application today, I'm getting
amazon Generate Amazon Underground Launcher Icons TL;DR: Use (adapt) the script below to automatically generate the Amazon Underground application launcher icons. I was toying with the idea to build an Amazon Underground version of one of my applications. According to their rules, you need to: * Repackage your app * Name custom permissions (Lollipop) * Apply Amazon Underground