docker
A simple list app
In the last few weeks I had to go to the house and measure humidity of a number of points. I used google keep with a checklist and just text an I thought: Wouldn't it be nice to have an app which I could define a list of
docker
In the last few weeks I had to go to the house and measure humidity of a number of points. I used google keep with a checklist and just text an I thought: Wouldn't it be nice to have an app which I could define a list of
docker
The other day I had to reboot one of my machines running docker. I've noticed that only a number of containers restarted on reboot. What's worse, is that my pihole container didn't. Oops. So I've decided to look into it and found
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
command
TL;DR: Use sh -c "command with arguments" I've tried to execute docker exec <container> du / in order to see the size used by a container's logs. Unfortunately, this resulted in an error along the lines: du: C:/Program Files/Git: No
command
If you find your machine running sluggish, it might be the case that you have too many things running and it's hitting the swap. You can check how bad (or good) things are with htop, but it won't tell you which process is sitting on swap.
command
TL;DR: In the main process use mainWindow.webContents.send('cmd') and in your Angular component (renderer process) bind it to a method with ipcRenderer.on('cmd', this.open.bind(this)) (where open() is a method). I need to make my angular app work when a
batch
I had to change the colour of some monochrome icons for a personal project, from black to something else (i.e. not black). I've tried in python with PIL. Unfortunately, my attempts to use ImageOps failed miserably, because I'm working with RGBA images, not RGB :(. Of