If you’re running low on disk space or simply want to move the data this script will help. Of course modify the path as needed. First double check your paths
Category: UNIX Shell Scripts
GitLab – Uninstall
If you’ve ran into a problem with GitLab and need to remove all pieces of it to install fresh this may help. DISCLAIMER: BACKUP YOUR DATA FIRST
GitLab – Site looks funky – CSS Issue
It’s rare with the latest updates but sometimes the CSS doesn’t seem to load, this code may help if/when you run into the problem
GitLab – Folder Permissions Fix
If you’ve ran into a directory permissions problem with GitLab before this may be helpful. The code below is mostly based on GitLab documentation – https://docs.gitlab.com/omnibus/settings/configuration.html
Mac OSX Terminal – Add User to Remote Management (VNC)
Replace “-users admin” with the username you need to grant access to.
UNIX SED – Convert Vertical List to Horizontal CSV
If you’ve had to take a vertical list to horizontal list before you know how difficult it can be. You may have a different setup than my example but the code provided below should help in most cases. The code below is still a work in progress but does what…
Mac OS X – Terminal – FFMPEG – Convert Music Files FLAC to MP3 or MP4 to MP3
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
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