The Linux Page

Help other users realize that everything is possible, especially avoiding Windows for their own personal use.

Welcome to The Linux Page


Fox Trot by Bill Amend. Click to enlarge.
Click to enlarge

This site is a collection of my own work with Linux. Certain things are easy, others take time to decipher and if I ever need to repeat the work (which usually happens!), then I need to remember everything by memory or... have a site with all the steps taken and to take again.

The following are my most recent posts:

Train Wreck, meaning that the driver is now in timeout!

Today I had to work with a customer who decided to use GoDaddy to host their WordPress website. It's not a bad platform, they actually include quite a bit of integration between the WordPress installation on your server and your GoDaddy account. It gives you access to various functions and keeps track of necessary upgrades.

The account for the Hosting also includes information about sFTP. You can connect to your server using the SSH (Secure SHell) server and use that to send FTP commands to handle file transfers securely.

Your account may also have an FTP, I did not try. Just ...

Black board with various math formulae

LibreOffice offers a Math editor which is very powerful and allows you to write complex Math Formulae. Unfortunately, it's not one to one compatible with LaTeX (in case you learned that Math Language) and so far I've not found pages that would explain all the different cases I often would like to use in my formulae.

Learn everything you need to know about LibreOffice Math
Get the book and learn everything that you need to know about LibreOffice Math. (Note: I'm an Amazon Affiliate.)

Indeed, a few things are not self explanatory (and even certain things have weird side effects, like using additional ...

A meteorite flying in Earth atmosphere, ready to smash the ground and kill 95% of the animals on the entire planet.

As per the following page:

https://www.drupal.org/SA-CORE-2018-002

Drupal 6.x is also at risk from this issue. You can download Drupal 7 or 8 and compare and find out what is different between both versions.

The only difference between 7.57 and 7.58, which makes a difference, is a class used to remove any parameter that starts with a hash (#). Drupal defines arrays with keys. To distinguish between regular values and keys, Drupal uses words that start with a hash (#) for those keys.

Here are two lines of code that show that '#...' key usage:

$form['#pre_render'][] = ...

Row of jars with hot peppers in olive oil and delicious herbs.

As I have been looking around for various tools to help me determine what is happening whenever I have a reader on my blog, I found this tool which offers quite a few features for free which is called: HotJar.

One step in the process of using HotJar is to download a small JavaScript and add it to your website header. This script includes your website identification and allows for tracking your customers and see what they are doing on your website. Pretty nice to get a better idea of what's happening.

The hit with the "hjVerifyInstall" parameter happens whenever you click the ...

My Jetson TX2 see from the top, the area with the heat sink and the fan is the actual Jetson card.
(click on image to see 4K version in new window)

Introduction

I just received my Jetson TX2 so I had to test it!

First I needed to setup the network since by default it wants DHCP which I don't allow by default on my server.

Since it's running Ubuntu, I thought it would be dead easy, but I ran in two interesting settings I hadn't seen before.

Stop Eth0

When you are about to edit an interface, you probably want to first bring it down. If you forget to do this step first, you may have to reboot to get the status back to normal. So run this one:

sudo ifdown eth0

You ...

Whenever you create a page, you at times notice that your text goes bye bye without telling you anything about the reason why it would do that.

The fact is that there are many reasons why this can happen. The following is here to remind me of the various possibilities that I've bumped into over time.

Text Color

The first one that got me many times is the color of the text. If that color is set to transparent or the same color as the background, then you won't see the text.

What I do to test that quickly is go to the block where the text is expected to appear and change the ...

As I was checking some logs, I found the laundry list of a robot checking out one of my websites: 54 hits. As we can see, it checks many paths, some of which it checked 2 or 3 times (the first number in my list is a count).

3 /apple-app-site-association
1 /cache/iph.php
1 /dbss.php
1 /ecss.php
1 /function-sync.php
1 /inlos.php
1 /sph.php
1 /tip.php
3 /.well-known/apple-app-site-association
3 /.well-known/assetlinks.json
1 /wp-content/plugins/another-wordpress-classifieds-plugin/AWPCP.po
1 /wp-content/plugins/auto-attachments/a-a.css
1 ...

Long Exposure Photograph Showing Start Rotation

Bad Documentation (if you ask me)

When you looks at the document of logrotate, the first page about the settings shows an example as follow:

/var/log/news/* {
    monthly
    rotate 2
    olddir /var/log/news/old
    missingok
    postrotate
        kill -HUP `cat /var/run/inn.pid`
    endscript
    nocompress
}

Making your think that it's okay to have an asterisk in this way, right? PLAINLY WRONG!

The logrotate utility actually has no heuristic to detect whether a file was already rotated or compressed so with an asterisk, it will discover all the files in a folder and ...

Today I spent hours trying to find out why one of my find_library() would fail.

I fixed the search implementation, to make it cleaner as a result, which is not a bad thing, but the problem was a -D on a cmake call that would define the value ahead of time. That is...

There is the search I used:

find_library( ADVGETOPT_LIBRARY advgetopt
            PATHS ${ADVGETOPT_LIBRARY_DIR} ENV ADVGETOPT_LIBRARY
         )

This looks just fine and it should work, easy. I even added a test in my main CMakeLists.txt to see what would happen:

find_library( TEST_LIBRARY advgetopt
            PATHS ...

Today I needed to check a zone file to see why the IP address was wrong on one of my servers.

Sure enough, the IP was the old one (We switch servers about 9 months ago). Although once in a while I would get the right IP, the second name server still had the old IP. I thought the cache would be renewed more often than that, but I guess this is well optimized!

The error I made is not change the time info which means that the second name server never saw the change. This is just a domain name I redirect so I never noticed the problem before.

To check the cached file, though, I needed a way to ...

Thank you for visiting my website.