The Linux Page

browser

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 ...

How do I force my viewport scale to 1.0?

I just spent hours trying to understand how the viewport functions. You can change it dynamically, but only once. That is. set it to a certain value and let the GUI take that new value in account. Then later you can change it again with another value, if you'd like.

What I was looking to do is reset the zoom back to 1.0 after a user clicked on an image and very likely zoomed in and out to better see the image. At the time the user is done, he clicks the image once and it comes back to the website. Only, the zoom remains the same by default. Which somewhat makes sense since the browser ...

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 ...

My Embedded YouTube Video Disappeared

Embedded videos from YouTube.com used to work just fine on my website.

Today, though, I just noticed that my video was not showing up on one of my pages. Looking into it, I found out that the problem was the protocol.

I'm not too sure whether it was my browser or YouTube,com (although I'm not too sure how YouTube.com would know...) but the fact is that the iframe source was using HTTP and the page I was viewing used HTTPS.

By editing the page and changing the YouTube.com video from HTTP to HTTPS resolved the issue. It is generally much better to always use encryption anyway.

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 ...

Convert XML tags and text to a String

Today I started testing a lot of my JavaScript / jQuery code from a website I am building for a customer. I got an error, at some point, saying:

SCRIPT5007: Unable to get property 'replace' of undefined or null reference

The error was in link with the 'replace' function being referenced on an innerHTML of an element. More specifically, one of those XML element (probably the top most one.)

The fact is that Internet Explorer does not support innerHTML in an XML document. Not to be too surprised about that, XML is not HTML so there is really no reason why innerHTML should be ...

My JavaScript code does not get the correct widget size, why?

As I am developing a set of pages for a customer, I ran in an intersting problem: my JavaScript function could not properly define the sizes of a box.

That box is heavily tweaked with the CSS assigned to it, as well as all of its neighbors. So I thought that may have something to do with it.

What I hadn't realized so far is that the ready() function of jQuery() is called once the script that includes it is ready (as in loaded) and not once the document as a whole is ready (done loading, i.e. onload event.)

With that knowledge it was easy to understand that I was actually finding myself ...

HTML background that fits the screen

You can actually define an image or a background (with CSS) that fits the area in which is it shown.

For a simple image use a width of 100%, then the browser computes the height for you.

  <div class="header"><img src="images/background.png" width="100%"></div>

This code will make the image width match the width of the <div> tag. Assuming the <div> tag fits the screen width, it will show in the full width, stretching as required.

When trying to do that with a background image in CSS, you want to use the background-size parameter ...

Useful online network tools

I'm starting this page and hope to think about it again at a later time when I find additional tools... but as I have network problems I often need these types of services to make sure I can get the information I need.

For more Network stuff, click on the Network tag!

What is your IP address?

Check your current IP address from your browser:

http://alexis.m2osw.com/nvg510/my-ip.php [Super clean version!]

https://www.whatismyip.com/ [More advance and with ads...]

What is my DNS?

This one is for people who setup a DNS to make sure that it can accessed from all over the world. It ...

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.