Valgrind 3.16.0 for MacOS Mojave 10.14.6

After many unstable versions and unsuccessful tries found a working but still experimental solution for MacOS Mojave 1.14.6 using homebrew. This solution also working with Qt5.14.1 using QtCreator 4.11.2 on Mojave 10.14.6.

My conclusion after carry out some analysis on some of my cross platform projects, simple and more complicated once. This solution works on simple projects, however as the complexity increases the results are totally unpredictable.

I’d like to emphasise that after comparing my results, I still NOT recommend to rely on results running Valgrind on MacOS, found fairly high number of critical errors and false positives. My results based on comparing the two following development environments:

– MacOS Mojave 10.14.6, Valgrind 3.16.0, Qt5, gcc, clang
– Ubuntu 18.04, Valgrind 3.16.0, Qt5, gcc, clang

If you choose to protect yourself against tracking, surveillance, and censorship our onion mirror is live

Dear visitor, you can also find our blog on the Tor network at http://goyyh6reeibixtlo.onion/. A free software Tor Browser will be required to access onion sites. Some people asked me about why I don’t have an onion mirror of my blog. I did not feel the need of it, but as it sounded like a request here it is, from now you can protect yourself against tracking, surveillance, and censorship.
Thanks for visiting my site.

vnStat – a brilliant open source console-based network traffic monitor for Linux

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s).
Features:
Quick and simple to install and get running.
Gathered statistics persists through system reboots.
Can monitor multiple interfaces at the same time.
Several output options.
Summary, 5 minute, hourly, daily, monthly, weekly, yearly, top days.
Optional png image output (using libgd).
Data retention duration is fully user configurable on the fly.
Months can be configured to follow billing period.
Light, minimal resource usage.
Same low cpu usage regardless of traffic.
Can be used without root permissions.
Online color configuration editor.
humdi.net/vnstat/

Hardware Probe Tool for Linux

This project really deserves a post, just came across with it and will definitively use it. The HW PROBE project aim to collect hardware details of Linux-powered computers over the world and help Linux users and developers to collaboratively debug hardware related issues.
github.com/linuxhw/hw-probe

There are other very useful tools on their main git repository, if you need to collect more specific hardware details, these tools will come very useful.
github.com/linuxhw

How to clear your DNS cache on OSX 10.10.4 or above

MacOS® 10.10.4 and above
To clear your DNS cache if you use MacOS X version 10.10.4 or above, perform the following steps:

Click Applications.
Click Utilities.
Click Terminal.
Run the following command:

Or on Microsoft Windows version 7, 8, 10 type the following command to the command prompt:

 

[PHP] How to return IP address of a host / domain

Here is a quick solution written in php that you can use to determine the current IP address of a given webhost/domain.

[Linux] Install WordPress on Ubuntu Server with add-on features as HTTPS support, SSL certificate and HTTP2 supports

Enable HTTPS supports:

Create a ssl-params.conf file and add the following definition below to it, then save it.

Next thing to do is create a backup of the original default-ssl.conf file.

Then modify it accordingly, we are deploying a wordpress site in this particular example we use the following adjustments.

Enable HTTP2 supports:

It is also recommended adding strong ciphers for Apache to increase SSL Security on the server.
Part of my Best Practices to deploy a secure webserver, virtual personal server or database serve is to add the recommended ciphers from Cipherli.st.

Install Oracle Java 12 on Ubuntu

You need to add the PPA. (Surce: “Linux Uprising” team)
Install:

For multiple java versions, install [or uninstall] oracle-java12-set-default package to set [or not] Java 12 as default.
Verify:

Remove it: … use the following command if you need to uninstall it: