- 
        bash script to resize multiple filesThis is a small bash script to decrease resolution of JPG photo or other image files. It searches all .JPGfiles recursively from the current directory.and the converts them to1200pixel wide. It uses ImageMagick’s convert tool, so you will needimagemagickpackage to execute this command. By changing the search pattern and the expected resolution you can customize it to you needs…
- 
        mosquitto_sub with timestampmosquitto_sub is an MQTT version 3.1 client for subscribing to topics. 
- 
        Value was either too large or too small for a UINT32Visual Studio 2015 with GIT source control plugin shows Value was either too large or too small for a UINT32error message, when unsaved items are in the commit list. Click toSave Alland try to commit again.
- 
        Vim automatically set paste modeVim automatically tires to indent pasted text when running inside a terminal. To avoid this ‘paste’ mode can be set and unset before and after the paste operation, by the following commands: 
- 
        Automatic backup with tarThe Internet is full with backup scripts, using tar and create a backup file, but most of them just creates the archive and that’s all. I also wanted to keep only a limited number of archives in my backup folder. And also the ability to handle archives from the file system and from other sources such as database backups. 
- 
        Angular service vs provider vs factoryThe difference between angular service, factory and provider when declaring as an injectable argument. 
- 
        ScreenI am using Linux for several years, but just started with Screen. From my personal view, this is a magical tool to: 
- 
        jquery: Checking if an element is hiddenChecking if an element is hidden: 
- 
        Delete a Git branch both locally and remotelyTo delete a branch locally: 
- 
        Audit log with entity frameworkThe EntytyFramework’s context has the list of the created, changed, deleted entities, so it is not so hard to create an audit log using these values. 
  RSS Feed