Prerequisite: Homebrew Essentially you can convert just about anything but this script is specific to FLAC to MP3 To convert from MP4 to MP3 the code below will work
Category: UNIX
GitLab – 502 Whoops, GitLab is taking too much time to respond
If you get the “502 Whoops, GitLab is taking too much time to respond” message, first thing to try is IF the restart doesn’t help then try Typically one of the two will fix the problem.
Mac OSX Terminal – Convert RAW Photos to JPG
If you’ve ever been stuck with a directory of .DNG or .RAW files this script will quickly convert the images for you. Adobe Products may give a better result but seem to be one at a time still… Reference: https://coderwall.com/p/nhp7mq/convert-raw-photos-to-jpg-in-the-mac-os-terminal
RedHat – Search/Join/Leave Microsoft Active Directory (AD)
This script will assist in searching for, joining or leaving a Microsoft Active Directory (AD). While this is specifically written and tested for Red Hat you should be able to do it with Fedora or CENTOS without changing anything. If you are on a different distro like Ubuntu it will…
UNIX Bash – Domain List Get Whois Info
If you manage a list of domains it’s sometimes helpful to have a script like this to check the information from time to time. I plan to clean this up in time but for now this works. First create a text file like below that has domains in it Then…
UNIX Bash – Create Date/Time File Name
When you need to create a log file or some dated archive The format can be modified slightly based on date formatting.
UNIX Bash – Website Monitor
Reference: http://unix.stackexchange.com/questions/84814/health-check-of-web-page-using-curl