Search This Blog

Saturday, March 16, 2024

JPG to AVIF - PHP HTML Script Function

These php functions will help you to show AVIF images on your pages

AVIF as BACKGROUND IMAGE



AVIF Image in IMG tag

Friday, December 23, 2022

Convert JPG PNG GIF to WebP Image in PHP

It is very simple steps to convert your JPG PNG GIF to WebP formation using PHP and ImageMagik



Monday, November 28, 2022

How Enable RIGHT CLICK contextmenu when it is disabled on HTML PAGES USING jQuery

Enable RIGHT CLICK contextmenu when it is disabled on HTML PAGES USING jQuery

Goto main javascript file and search for CONTEXTMENU -- and delete this code block

Sunday, January 2, 2022

MySQL multiple NOT LIKE query

Here is multiple NOT LIKE MySQL query with webmail services email ids are excluded

Thursday, August 19, 2021

Installing Photoshop 2021 from Adobe ZII TNT on Mac

0. Disconnect the Internet, then execute .dmg file
1. Copy "Extra" Folder to Desktop [NEED TO DO]
2. Right Click on Install, then select Open Package Content
3. Go to Content >> MACOS
4. Double Click on Install file

Hi all. I was having the same problem as practically everyone else with PS launching, immediately quitting with a send error report appearing. I *finally* managed to find the fix - at least for me. I'm on a mid-2021 and really can't say with certainty that this will work on the new M1s.

STEP 1: Disconnect from internet.
STEP 2: Install Photoshop using the TNT installer but don't start Photoshop and if it automatically does start up - stop it.
STEP 3: Right-click on the Zii app, “Show the package contents” and go to the Contents > Resources folder.
STEP 4: Copy the file “vcontrol.bundle” to your Desktop and rename the file “AdobeBIB.framework” (without quotation marks) and select “Use .framework” when prompted.
STEP 5: Now go to the newly installed Photoshop folder, right-click on the Photoshop app, select “Show the package contents” and locate the Contents > Frameworks folder.
STEP 6: Drag the file “AdobeBIB.framework” you’ve just renamed to the Contents > Frameworks folder and replace the existing AdobeBIB.framework.
And that's that. It's working perfectly for me and I hope it does for you as well. Again, I can't say whether or not it will work on the M1s
. Best of luck.

Monday, April 12, 2021

Huge Collections of Musical Instrument codes in Javascript

Huge collections of MIDI sequeners & instruments javascript codes for your references

Check Here




Keyborad, Organ, Acostic Guitar, EDM Javascript Code

Hey I found this code for all javascript nerds for Keyboard, Organ, Acostic Guita and EDM script Created by Keith William Horwood for your here

Javascript Code for Muslical Instruments



Tuesday, March 30, 2021

XAMPP MySQL Blocked Port [SOLVED]

Deleting this file is like playing a Russian roulette with your databases, it could work and restablish everything, but also, probably could leave unusable every database you have.

Instead, first try using the MySQL backup folder which is included with XAMPP. So do the next:

  • Rename the folder mysql/data to mysql/data_old (you can use any name)
  • Create a new folder mysql/data
  • Copy the content that resides in mysql/backup to the new mysql/data folder
  • Copy all your database folders that are in mysql/data_old to mysql/data (skipping the mysql, performance_schema, and phpmyadmin folders from data_old)
  • Finally copy the ibdata1 file from mysql/data_old and replace it inside mysql/data folder
  • Start MySQL from XAMPP control panel

And, voilĂ !

Friday, February 26, 2021

DJ Deck Controller using JAVASCRIPT, CSS, HTML

this is complete working script for DJ Controller on browser that allows you to select 2 tracks for DJing

Check this link in CODE PEN --- DJ Controller


Friday, January 29, 2021

gyp: No Xcode or CLT version detected!

Did you recently update your macOS Catalina to version 10.15.2? If you did, then you probably in the same boat too. What I immediately noticed from my terminal is this new shiny error about gyp: No Xcode or CLT version detected any time I ran either yarn install or npm install

gyp: No Xcode or CLT version detected!

Just Do It -- in terminal

sudo xcode-select --reset

Monday, January 18, 2021

Free Public STUN TURN Servers for WebRTC hosting

Actually there is no need to setup your own STUN or TURN servers, because there are a lot of public/semipublic servers. STUN from Google not always works very well.

This is my latest verified list (don't forget stun:/turn: scheme in URL):

you can always test your STUN/TURN/TRICKLE ICE at TEST WebRTC Server Service

Wednesday, January 13, 2021

onchecked Multiple checkbox elements adding / deducting to total amount in plain javascript

This is a very simple example of how to deal when you have MULTIPLE CHECKBOX with an AMOUNT to be ADDED to the GRAND TOTAL. Also to be displayed on right table rows

There is a CATCH --> users might CHECK & UN-CHECK in such case there is a need to ADD & SUBSTRACT functionality as well as updating TABLE on-the-right with description.

HTML Code

JAVASCRIPT - CODE

Saturday, January 9, 2021

Apply Flaticon SIZE and COLOR

Here is how to change Flaticon font color & size or you can EDIT "flaticon.css" directly

Monday, January 4, 2021

CSS ROOT styling color schemes

How to Cater to People's Color Preferences>

The prefers-color-scheme media feature can be queried to serve up your user’s color scheme of choice. The light option is the go-to version if no active preference is set, and it has decent support across modern browsers.

Additionally, users reading on certain devices can also set light and dark color themes based on a schedule. For example, my phone uses light colors throughout its UI during the daytime, and dark colors at night. You can make your website follow suit.

Avoid repeating a lot of CSS by setting custom properties for your color themes on your :root pseudo-class. Create a version for each theme you wish to support. Here’s a quick example you can build on:

Tuesday, December 29, 2020

Youtube Timeline Direct Link HREF [SOLVED]

Add {ampersend}t={seconds} to Youtube Video link

https://www.youtube.com/watch?v=iumclau5_eI&t=3966s

content-wide advt