The Linux Page


Desktop Google Calendar now defaults to Agenda because I have it on my Android...

Since I got my Android phone earlier this year, I got a huge problem with Google Calendar.

I use the calendar mainly on my Desktop. Big screen, easy to read and use. But on the Android, the format is Agenda to make it possible to use at all.

Somehow that has a really bad side effect: the display is now always forced to Agenda on my Desktop too. Really annoying!

Tere is actually a very easy fix! It took me months the discover it and it's actually very easy.

I have the Calendar link bookmarked so I can just click one button to get it open.

All I had to do is add the following anchor at ...

Add or subtract to a Time field in LibreOffice

Today I was working on a spreadsheet where I added a time for a calendar type of sheet.

What I wanted to do is have a column where time increases without having to type each time manually.

So I needed to add 15 or 30 minutes to the first time.

Say my first time is 7am, it appears as 07:00:00 AM.

In the next row (B4), I wanted to do something like:

=B3+"15 minutes"

The fact is that LibreOffice saves time and date as a double number where 1.0 represents 1 day.

So to add just 15 minutes, you need to divide your number by the number of minutes in a day:


Or if ...

Wordpress 2017 -- how do you get a summary in your Category and other lists?

I now also work on a Worpress website with theme 2017 (twentyseventeen) and I noticed that when I go to the Caegories or some other list of posts, I get the full posts.

Looking into it, I could not really see anything about it on the Internet. Strange.

The fact is that all you have to do is go back to each post (yeah, a tad bit tedious if you have hundreds already) and add the "Read more mark". The fact is that Wordpress does not seem to automatically add a feature to automatically calculte the summary of your posts. Maybe I missed it or I would need to install yet another plugin.. ...

REST hook trigger needs a polling url (ZSE007)

As I'm working on a Zap application (see Zapier). I got this error about my triggers:

REST hook trigger needs a polling url (ZSE007)

So... I understand that they want to have a URL to do a poll and they even have documentation that explains why they want to poll in case of a REST hook Zap: Whenever the user wants to test the Zap, the application will get some data using the polling method. That way they can get that data specifically for one test and not force you to generate an trigger. One problem with testing with an actual trigger is that any other Zap listening to the same trigger ...

tar: .../public_html/wp-content: file changed as we read it

I created a little script to generate a daily tarball as a backup of a customer website.

Everyday, though, I would get the following error:

tar: .../public_html/wp-content: file changed as we read it

As you can see, the website is using Wordpress.

The error, though, I could not replicate when I would run the tar command by hand. What gives?

Looking closer into it, I noticed that my crontab setup would actually run the cron.php at the same time as the backup would run:

# m h  dom mon dow   command
  0 3  *   *   *     /.../backups/

*/10 * *   *   *     cd /.../public_html ...

Running a specific version of Node.js

The Node.js environment is a backend server-side JavaScript environment which is being used more and more.

Under Ubuntu, we generally get pretty far behind on a TLS version. Ubuntu 16.04 offers a version 4.x when we now have 8.x avaiable! There are many reason for that problem, but that's not the point of this post...

So, I wanted to write a Zapier App. They only run your Zap tests if you have version 6.10.2. Any other version will break their test system because you cannot hope that a test will work perfectly between versions.

Therefore, I had to install the correct version. I found ...

SugarCRM Community Edition for Ubuntu 16.04 with PHP 7

As I wanted to use SugarCRM on my new server, I looked into the Community Edition and apparently the company is not willing to convert their code so it works under PHP 7.

So that would not work on a newer system because the code uses quite a few forbidden mechanism (wrong class definitions, old defunct functions...) and that prevents to even instal the system on your machine.

Now, I have looked closer into it and I am getting a version that works pretty darn well already. I still have some issues here and there, but I think you can already make use of that version. Except for one thing which ...

Error trying to upgrade software on an Ubuntu system

Today I got a really strange error. Part of the message was:

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/<some name>
E: The package lists or status file could not be parsed or opened.

That seemed really bizarre. I had never seen such an error before...

So I searched for it and one thing to know is that the files under that directory are temporary, so you can actually delete them. apt-get knows how to regenerate them.

So in other words you can do something like this:

sudo rm /var/lib/apt/lists/<some file>
# or ...

Writing a Shell Script from cmake

In cmake, you have a cool feature which allows you to create a file.

First you use a WRITE, then you use the APPEND to add more lines to the file.

That file may be a shell script, though. In that case, you run in a problem whenever you want to write a variable which uses the curly brackets (as in ${TEST}), because cmake sees those as its own variables.

There is an example of script that we use in our Snap! development.

file( WRITE  ${lint_script} "#!${BASH}\n"                                                            )
file( APPEND ${lint_script} "if test \${3##*.} = ...

Why would Windows 10 Wifi say "Limited" instead of "Connected"?

When I installed Flash, it automatically installed McAfee, the anti-virus, and really, I have not seen an option to NOT install that wonderful free tool which annoys me (and probably many others) a lot...

Not knowing, I then searched for a little while, why is it that my Wifi connection says "Limited" instead of "Connected". This is because McAfee replaces the MS-Windows firewall with their own stuff. That stuff limits the connections and everything will not go through, hence the Limited information on my Wifi connection.

Since I removed McAfee, my connection remains and ...

Syndicate content Syndicate content

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.


Terms of Site Index

Find the page/content you are looking for with our index.