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 which is capable of finding all directories (find (dir) […]

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 frustrated by the Terminate batch job (Y/N) every time I need to restart a script: Since previously I was developing on linux/macOS, I’m used […]

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 branding Migrate API (if necessary) Initially […]

Scroll to top