sudo zcat /var/log/apache2/access-advstats.*.gz | sudo goaccess /var/log/apache2/access-advstats.log -o report.html --log-format=COMBINED
Replace $abc$ with $`abc`$: \$([^$]*)\$ \$`\1`\$
Replace 4. 5 with 4.5
(\d)[.]\s+(\d) $1.$2 ([a-zA-Z])[.]([a-zA-Z]) $1. $2
Install SSL for Godaddy web hosting through cpanel.
wget https://dl.eff.org/certbot-auto chmod a+x certbot-auto
./certbot-auto certonly --manual
To control the site wide option, use
The home path (Rhome) can be found using
R.home(component = "home")
On Ubuntu, it is often /usr/lib/R.
In the Rprofile.site, input
will change the default output to svg instead of pdf.
The YouTube DASH audio might not be played by some audio players. If you have multiple files with such format, you can convert them using the following command on Windows.
FOR %i IN (*) DO C:\Users\Downloads\ffmpeg-20160725-fb91850-win64-static\ffmpeg-20160725-fb91850-win64-static\bin\ffmpeg -i "%i" -vn -acodec copy "new\%i"
Note that you need to download ffmpeg first from here: https://ffmpeg.org/. Remember where you save the ffmpeg file (the directory to it).
Then open the command line window and navigate to the folder with the files to convert. From there issue the above command. Note that the converted files will be saved into the folder “new”.
Note. Everything on this blog only reflects my personal view which may or may not be true and is not related to any organization or institute.