Software development, photography, jokes, ....

noyb-logo

Sites by me

 
sds82-logo
tas-logoTransportation Administration System
snoezelkussen-logo-kleinstSnoezelen Pillows for Dementia
ikzoekeenbegeleider-logoBegeleiders voor gehandicapten
Laat uw hond het jaarlijkse vuurwerk overwinnen
Betuweroute en Kunst
logo 50x50Hey Vos! Je eigen naam@vos.net emailadres?
Kunst in huis? Nicole Karrèr maakt echt bijzonder mooie dingen
nettylogo2Kunst in huis? Netty Franssen maakt ook bijzonder mooie dingen

Hosting Favorites

 
ANU Internet Services
Netim
GoDaddy
XEL Media

Blogroll

 
Bomenstichting
Google Translate
PHP
MySQL
jQuery
jQuery UI
YourHead Stacks API
Favicon Generator.
Password Generator.
Check HTTPS problems


Categories

Archives
 Oct 2024 (3)
 Sep 2024 (1)
 Jul 2024 (1)
 Jun 2024 (1)
 Apr 2024 (2)
 Mar 2024 (5)
 Feb 2024 (3)
 Jan 2024 (4)
 Sep 2023 (1)
 Aug 2023 (1)
 Jul 2023 (3)
 May 2023 (2)
 Apr 2023 (2)
 Mar 2023 (2)
 Feb 2023 (1)
 Jan 2023 (2)
 Oct 2022 (2)
 Sep 2022 (2)
 May 2022 (3)
 Mar 2022 (1)
 Feb 2022 (2)
 Jan 2022 (2)
 Nov 2021 (3)
 Oct 2021 (1)
 Sep 2021 (2)
 Aug 2021 (1)
 Jul 2021 (1)
 Jun 2021 (2)
 May 2021 (3)
 Apr 2021 (1)
 Mar 2021 (1)
 Feb 2021 (2)
 Jan 2021 (2)
 Dec 2020 (2)
 Oct 2020 (1)
 Sep 2020 (2)
 Aug 2020 (3)
 Jul 2020 (2)
 May 2020 (3)
 Apr 2020 (1)
 Mar 2020 (2)
 Feb 2020 (1)
 Jan 2020 (3)
 Dec 2019 (1)
 Nov 2019 (1)
 Oct 2019 (2)
 Aug 2019 (2)
 Jun 2019 (2)
 May 2019 (2)
 Apr 2019 (5)
 Feb 2019 (6)
 Dec 2018 (2)
 Nov 2018 (1)
 Oct 2018 (1)
 Sep 2018 (5)
 Aug 2018 (1)
 Jul 2018 (6)
 Jun 2018 (4)
 May 2018 (2)
 Apr 2018 (3)
 Mar 2018 (10)
 Feb 2018 (8)
 Jan 2018 (2)
 Dec 2017 (3)
 Nov 2017 (4)
 Oct 2017 (3)
 Sep 2017 (2)
 Aug 2017 (2)
 Jul 2017 (1)
 Jun 2017 (2)
 May 2017 (4)
 Apr 2017 (4)
 Mar 2017 (2)
 Feb 2017 (2)
 Jan 2017 (5)
 Dec 2016 (5)
 Nov 2016 (5)
 Oct 2016 (2)
 Sep 2016 (4)
 Aug 2016 (2)
 Jul 2016 (4)
 Jun 2016 (2)
 May 2016 (3)
 Apr 2016 (6)
 Mar 2016 (3)
 Feb 2016 (1)
 Jan 2016 (3)
 Dec 2015 (3)
 Nov 2015 (4)
 Oct 2015 (4)
 Sep 2015 (3)
 Aug 2015 (3)
 Jul 2015 (1)
 Jun 2015 (1)
 May 2015 (3)
 Apr 2015 (2)
 Feb 2015 (3)
 Jan 2015 (3)
 Dec 2014 (4)
 Nov 2014 (2)
 Oct 2014 (5)
 Sep 2014 (4)
 Aug 2014 (5)
 Jul 2014 (2)
 Jun 2014 (2)
 May 2014 (5)
 Apr 2014 (2)
 Feb 2014 (1)
 Jan 2014 (2)
 Dec 2013 (2)
 Nov 2013 (3)
 Oct 2013 (3)
 Sep 2013 (2)
 Aug 2013 (1)
 Jul 2013 (3)
 Jun 2013 (2)
 May 2013 (3)
 Apr 2013 (3)
 Mar 2013 (6)
 Feb 2013 (3)
 Jan 2013 (4)
 Dec 2012 (5)
 Nov 2012 (3)
 Oct 2012 (3)
 Sep 2012 (6)
 Aug 2012 (4)
 Jun 2012 (5)
 May 2012 (7)
 Apr 2012 (4)
 Mar 2012 (1)
 Feb 2012 (5)
 Jan 2012 (5)
 Dec 2011 (5)
 Nov 2011 (7)
 Oct 2011 (4)
 Sep 2011 (6)
 Aug 2011 (3)
 Jul 2011 (7)
 Jun 2011 (9)
 May 2011 (3)
 Apr 2011 (8)
 Mar 2011 (7)
 Feb 2011 (2)
 Jan 2011 (3)
 Dec 2010 (6)
 Nov 2010 (10)
 Oct 2010 (4)
 Sep 2010 (3)
 Aug 2010 (10)
 Jul 2010 (10)
 Jun 2010 (1)
 May 2010 (1)
 Apr 2010 (2)
 Mar 2010 (2)
 Feb 2010 (5)
 Jan 2010 (1)
 Dec 2009 (6)
 Nov 2009 (6)
 Oct 2009 (4)
 Sep 2009 (2)
 Jul 2009 (1)

Marc's Place


 

Powered by the Blogspot.stack

Install CentOS 8 / Stream in Parallels Desktop #centos #parallels #macos

 Permalink

I wrote a short how-to on how to create CentOS 8 VM in Parallels Desktop for Mac, for local development and testing.
 Comments

Use HTTPS with 'localhost' on macOS Big Sur #macos #ssl #https #localhost

 Permalink
I needed local HTTPS for app-development, because 'Cleartext HTTP traffic to localuser not permitted'.
My local website development domain is called 'localuser' instead of using 'localhost'.

So I wrote down what to do and made it into a webpage: Use HTTPS with localhost on macOS 11.6 Big Sur or higher

When you've followed the steps, you get this:
https://localuser/
 Comments

Oracle Instant Client + oci8 for PHP and Apache on macOS Mojave #oracle #oci8 #php #macos

 Permalink

I was totally new to using Oracle Instant Client on macOS Mojave, so I had to spend days to figure out and try out on how to get it installed (easy) and how to get the oci8 shared library installed (the hard and most time-consuming part) for use with PHP at both the CLI and in Apache. I have been on many, many websites and read many, many instructions, and I want to thank everyone who put so much effort in clarifying something that actually should be very simple nowadays. After having read and tried so many tips and tricks, I ended up summarizing what worked for me, which I wrote down on Oracle Instant Client + OCI8 on Macos Mojave for PHP .
 Comments

Setup your local macOS X web server #apache #macos #macosx #webserver #localhost #webdevelopment

 Permalink
I've put together a page where I describe how you can setup a web development environment with two or more Apple Macs.

If you are a web developer working on Apple Macs, you sure do want to use the macOS X built-in web server, Apache, on all your Macs. And you want to be able to access your Sites folder, local web documents folder and your other Mac via HTTP.

I'll describe how to set it up on macOS High Sierra (10.13.5). If you're on a previous version of macOS X, not to worry, the steps to take are practically identical. Read on ...
 Comments

The Blogspot Stack 1.1.4 for Stacks with RapidWeaver

 Permalink


Version 1.1.4 is out with the following changes:
Version 1.1.4
Released on 27 feb 2018.
  • Known issues with deprecated, removed and changed PHP calls from PHP v5.4 through v7.1 : fixed
  • Some other bugs fixed.
  • Added a checkbox 'Display errors on', which shows possible PHP warnings. Use it on your local machine and on your live site and then please report any warnings and errors you see (Deprecated: , Warning:, Notice:, Fatal error:), to me, with screen-shots. Then switch it of again.
  • Added YEAR-only option to archives. When selected, archive-links are shown as 1 link per year, and when 'Show archive count' is checked, with the number of posts per year.
  • Removed 'Show author' checkbox - you can swicth it on or off in the 'Alternate ordering'-settings.
  • Added the option to leave out blogpost-sections inside 'Alternate ordering'. If you don't want a certain section in your blogposts, check 'Alternate ordering' and choose the 'blank' option for that section.
  • Added the RSS feed link as a stack. Instead of being always on top of the blog, you can now place it anywhere you prefer, or use this code snippet: <?php renderRSSlink(); ?>
  • Included FontAwesome via Stacks API.
  • Cosmetic changes.
  • If you purchased this stack, you can re-download the installer via your Paddle account.
    If not, you can read more about it here .
     Comments

    The Blogspot Stack 1.1.3 for Stacks with RapidWeaver

     Permalink


    Version 1.1.3 is out with the following changes:
    Version 1.1.2
    Released on 23 feb 2018.
    Bug fixed when viewing a permalink.
    Permalinks now have the Google SEO name added to their URLs.
    Version 1.1.3
    Released on 23 feb 2018.
    You may now also enter the complete domain, like myblog.blogspot.nl, if you feel more comfortable about it.
    Domain check: if the domain you entered, doesn't exist, an error is displayed at the top of the page. In Preview and real-time mode.
    Some PHP4 code removed.
    Fixed E_STRICT and E_DEPRECATED errors. Not by simply switching error-reporting off, but really fixing the code!
    If you purchased this stack, you can re-download the installer via your Paddle account.
    If not, you can read more about it here .
     Comments

    The Blogspot Stack 1.1.1 for Stacks with RapidWeaver

     Permalink


    Version 1.1.1 is out with the following changes:
    Version 1.1.0
    Released on 21 feb 2018.
    Added 'In blog-entry footer (default)' to the Interblog-settings.
    Version 1.1.1
    Released on 22 feb 2018.
    Bug fixed in XML parser.
    Code improvements.
    If you purchased this stack, you can re-download the installer via your Paddle account.
    If not, you can read more about it here .

    After installing the update, you have to mark the page as changed and re-publish it, so the updated code files get uploaded to your server:



     Comments

    The Blogspot Stack for Stacks with RapidWeaver

     Permalink


    As a replacement for the old RapidBlog from Loghound , I created a replacement, named Blogspot.

    Although RapidBlog was a page-plugin for Realmac's RapidWeaver , my replacement is a stack, for use with YourHead's Stacks-plugin .

    Read all about it here

    The advantage now, is that:
    • You don't have to add new posts inside RapidWeaver. Blogger is much better for that purpose.
    • It's mobile-friendly
    • By using Stacks, you can place a Blogger-blog anywhere in the content-area of the page.
    • It's fast
    • No usernames and passwords required to login to Blogger.
    • Blogspot.stack displays any public accessible Blogspot-domain.

     Comments

    Copy DOM content to the clipboard with pure Javascript

     Permalink
    Of all the tips on the internet on how to copy data from a DOM element to the clipboard, I compiled my own function(s).

    The examples below are to copy the 'href'-part of  a link to an RSS feed to the clipboard.

    1. By class name, use the first found element
    function copyToClipboardCN(element, attr) {
     x = document.getElementsByClassName(element);
     if(x !== undefined && x !== null && x[0] !== undefined) {
      var textarea = document.createElement("textarea");
      document.body.appendChild(textarea);
      textarea.value = x[0][attr];
      textarea.select();
      var status = document.execCommand('copy');
      textarea.remove();
     }
    }
    

    2. By id
    function copyToClipboardID(element, attr) {
     x = document.getElementById(element);
     if(x !== undefined && x !== null) {
      var textarea = document.createElement("textarea");
      document.body.appendChild(textarea);
      textarea.value = x[attr];
      textarea.select();
      var status = document.execCommand('copy');
      textarea.remove();
     }
    }
    

    RSS feed link example with a class and an ID, using FontAwesome icons :

    <a class="blog-rss-link" href="https://macvos.blogspot.com/feeds/posts/default" rel="alternate" target="_blank" title="RSS Feed" type="application/rss+xml"><i class="fa fa-rss"> RSS Feed <i class="fa fa-copy" onclick="copyToClipboardCN('blog-rss-link', 'href')" style="cursor: pointer;" title="Copy RSS link to clipboard">

    <a id="blog-rss-link" href="https://macvos.blogspot.com/feeds/posts/default" rel="alternate" target="_blank" title="RSS Feed" type="application/rss+xml"><i class="fa fa-rss"> RSS Feed <i class="fa fa-copy" onclick="copyToClipboardID('blog-rss-link', 'href')" style="cursor: pointer;" title="Copy RSS link to clipboard">

    I have thought about combining the two functions into one, but i find that dangerous. In case you don't, here it is:
    function copyToClipboard(element, attr) {
     var x = document.getElementById(element);
     if(x === undefined || x === null) {
      x = document.getElementsByClassName(element);
      if(x !== undefined && x !== null && x[0] !== undefined) {
       x = x[0];
      }
      else {
       x = undefined;
      }
     }
     if(x !== undefined) {
      var textarea = document.createElement("textarea");
      document.body.appendChild(textarea);
      textarea.value = x[attr];
      textarea.select();
      var status = document.execCommand('copy');
      textarea.remove();
     }
    }
    
     Comments

    [Repair] MySQL Upgrade on Mac OS X

     Permalink
    Some time ago I did a MySQL upgrade without thinking ... that was not funny. So I retraced what I did to get the new version up and running and wrote it down as a sequence of steps to follow, when I need to upgrade to the next higher version.

    I published these steps on the page [Repair] MySQL Upgrade (Mac OS X) , so they might be of help to you too.
     Comments
    © 1997- Marc Vos (and others)   -   Privacy Statement   -    Contact Me

    On this website, Google Analytics is used to track visitor statistics. These are anonymised data about the number of visitors, which pages they visit on this site, from which regions they visit, which web browsers they use, etc.. You will also see non-personalised ads via Google AdSense. Cookies from Paddle or Paypal are placed when you click on a 'Buy now!' or 'Donate!' button, and possible cookies from Disqus when you use that system to comment on one or more blogposts.
    Privacy Statement