Search the Wiki

Viewing 1 to 10 of 233 items

How to download the favicon from a website

This tip shows you how to download the favicon from a website. You can do this using the Google S2 converter. Here is the syntax: http://www.google.com/s2/favicons?domain=DomainName For example: http://www.google.com/s2/favicons?domain=sharingsolution.net

0

MacOS – Update password for root user of MySQL/MariaDB

For some reason, MySQL/MariaDB stopped giving access to the root user. Uninstalled and reinstalled with Homebrew. Fresh install, fresh tables but when you enter mysql -u root -p You get this error: Access denied for user ‘root’@’localhost’ (using password: NO). You reinstalled MySQL/MariaDB many times but it is still asking for a password. Here is  Full Article…

0

MacOS – Elasticsearch is not running

Elasticsearch Version 7.17.4 Installed Plugins No response Java Version bundled OS Version Mac OS X Ventura Problem Description I’m trying to install Elasticsearch using this guide. When I start Elasticsearch with the command brew services start elasticsearch-full I see this window alert: and in the log file I see this message: /opt/homebrew/Cellar/elasticsearch-full/7.17.4/libexec/bin/elasticsearch-env: line 83: 10827 Killed: 9 “$JAVA”  Full Article…

0

Copy/Extract HTML select options in plain textx

You want to copy HTML dropdown list options from a web page. You do right-click on the dropdown list. Oh my God !!! There is no option to do it. This article explains how to extract dropdown list options using Notepad++. Steps: 1. Open site. 2. Now you need to get the HTML source of  Full Article…

0

Make a link to cover an entire div

If you want a link to cover an entire div, an idea would be to create an empty <a> tag as the first child: <div class=”covered-div”> <a class=”cover-link” href=”/my-link”></a> <!– other content as usual –> </div> div.covered-div { position: relative; } a.cover-link { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } This  Full Article…

0

jQuery – Show and hide Div on scroll

If you have a div that sits at the bottom of a slideshow that you want to disappear when the user scrolls down, and then reappears when scrolls back to the top, you can follow the below example. <div> <div class=”a”> A </div> </div>​ $(window).scroll(function() { if ($(this).scrollTop() > 0) { $(‘.a’).fadeOut(); } else {  Full Article…

0

How to create X close button by using CSS

As a pure CSS solution for the close or ‘times’ symbol, you can use the ISO code with the content property. I often use this for :after or :before pseudo selectors. The content code is \00d7. Example div:after{ display: inline-block; content: “\00d7”; /* This will render the ‘X’ */ } You can then style and position  Full Article…

0

jQuery – How check or uncheck all checkbox

In this tutorial, we are going to see how to check or uncheck a group of checkboxes using jQuery. We can use this feature in various scenarios like selecting multiple records to perform database updates or delete. In this tutorial, we have a simple example with less code for obtaining this feature using jQuery. Form  Full Article…

0

Jquery – Get month text from date

You can use jQuery to generate the texts from date, month, or year. Here is an example: let date = new Date(2021, 06, 21); // 2021-06-21 let longMonth = date.toLocaleString(‘en-us’, { month: ‘long’ }); /* June */ let shortMonth = date.toLocaleString(‘en-us’, { month: ‘short’ }); /* Jun */ let narrowMonth = date.toLocaleString(‘en-us’, { month: ‘narrow’  Full Article…

0