Linux shutdown on laptop lid close
The challenge
Using a laptop as a baby server, it had the behaviour of going in to standby when the lid close. The Operating system in this case is Proxmox.
Using a laptop as a baby server, it had the behaviour of going in to standby when the lid close. The Operating system in this case is Proxmox.
You have a local folder on your machine and a remote Git repo hosted by a provider (GitHub/GitLab/Bitbucket/etc.). You want the commands to push your folder to that repo.
Setting up SSH keys manually often involves jumping between the terminal, Windows Services, and web browsers. This PowerShell script streamlines the entire process into a single workflow.
Much like other mobile users, I have come to enjoy the feature referred to as moving photos. For those of you who might not be familiar, it is a feature which adds a short video to your photos as you take the photo. When viewing the photo, it gives you the option to also view the short video clip associated with that photo. The challenge I was facing was related to what happens to the video portion after the photos has been edited, or more specifically, how to get the video out of the photo before losing it.