Renzo

/Renzo

About Renzo

This author has not yet filled in any details.
So far Renzo has created 21 blog entries.

Remove unnecessary packages from Raspbian Stretch

Hi there, Here is the apt remove command to delete all unneeded packages from the Raspbian Streach distro on the Raspberry Pi. Free up alot of space on your SD-card As root: (sudo -s) apt remove --purge scratch2 minecraft-pi wolfram-engine sonic-pi dillo libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk libreoffice-gtk2 libreoffice-impress libreoffice-java-common [...]

By |2018-08-28T20:13:29+00:00August 28th, 2018|Linux, Uncategorized|Comments Off on Remove unnecessary packages from Raspbian Stretch

Ultimate guide to install PHP 7.2 MS SQL drivers on Ubuntu

Hi There, It seems to me that there is not a definitive guide to install MS SQL (Microsoft's PHP MS SQL drivers) on Ubuntu, so here is the 20 steps: Install Ubuntu (tested on 16.04 LTS) sudo -s curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list apt-get update ACCEPT_EULA=Y apt-get install msodbcsql17 apt-get [...]

By |2018-05-08T22:55:48+00:00May 8th, 2018|Apache, Linux|0 Comments

Linux: Get CPU Usage in percent

Hi there, Here is how to get the linux CPU usage taken on a weighed across all CPU's.   top -b2 -n2 -p 1 | fgrep "Cpu(s)" | tail -1 | awk -F'id,' -v prefix="$prefix" '{ split($1, vs, ","); v=vs[length(vs)]; sub("%", "", v); printf "%s%.1f%%\n", prefix, 100 - v }'   /Renzo  

By |2017-03-20T11:58:00+00:00March 20th, 2017|Linux|Comments Off on Linux: Get CPU Usage in percent

Fix to remove whitespace while typing into a input text field

This has been haunting me for a while now. While one might think that is a easy thing to do, just listen to the keydown og keyup event, og even using jquery's keypress event and adding a preventdefault on the event, or returning false - then youre done. :-) But hey - NOT working on the [...]

By |2018-01-06T01:52:20+00:00September 8th, 2016|Coding|Comments Off on Fix to remove whitespace while typing into a input text field

Aptana 3.6.0 – GIT not working after upgrade

A new version of Aptana (3.6.0) is out, and its now based on Eclipse 4.3. Great news. If you encounter that you suddenly after upgrading git cannot connect to your repos either github, gitlab etc. is probably because git cannot find you key. It could come with a dialog prompting you to write a HTTP password. [...]

By |2018-01-06T01:52:20+00:00August 7th, 2014|Coding|Comments Off on Aptana 3.6.0 – GIT not working after upgrade

What is mpeg ts files?

MPEG TS is used primarily to broadcast digital transmitted TV (DVB, ATSC, DTMB, SMB, ISBN, etc.) as MPEG-TS is designed to be very robust and can easily "survive" bigger outages in the signal.

By |2018-01-06T01:52:20+00:00February 8th, 2012|Dreambox|1 Comment