Installing gitLab missing modernizer?

I ran into this same problem a few minutes ago. Looks like the classy folks behind Modernizr’s Rubygem yanked the most recent versions. You can download the latest gem (Modernizr-2.5.2 as required in the docs there) running the following command inside your /home/git/gitlab directory: wget http://rubygems.org/downloads/modernizr-2.6.2.gem Then, go ahead and run gem install modernizr (without … Read more

matlab execute script from linux command line

In order to run a script you can open Matlab (you can prevent run it without the GUI using -nodisplay and -nodesktop flags), then run the script using the run command, and finally close matlab using exit. You can do all this from a terminal with a single instruction: matlab -nodisplay -nosplash -nodesktop -r “run(‘path/to/your/script.m’);exit;” … Read more

Rename JPG files according to date created

jhead -n DSCN0382.JPG DSCN0382.JPG –> 0408-150734.jpg any strftime argument can be given as well: jhead -n%Y%m%d-%H%M%S *.jpg This will rename files matched by *.jpg in the format YYYYMMDD-HHMMSS jhead -n%Y%m%d-%H%M%S DSCN0382.JPG DSCN0382.JPG –> 20120408-150734.jpg see also the man page for lots of other cool options. You can for instance correct (shift) the EXIF date. This … Read more

Understanding load average vs. cpu usage [closed]

top shows CPU utilization for running processes while load average shows (since 1993) number of running processes plus number of processes in the uninterruptible state. Processes waiting for work do not consume CPU. As a result top CPU utilization is less that 7/8 * 100%. Source: http://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html