Search This Blog

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

Thursday, December 24, 2020

AddEventListener for SELECT Element HTML5 JavaScript

If you are wondering would ADDEVENTLISTENER for SELECT ELEMENT, then check this

Thursday, November 26, 2020

FETCH an IMAGE with ASYNC and AWAIT in Javascript

I want to fetch an IMAGE from the application and display. Here is a simple code

Courtesy --- Full Youtube Video

More Excercises to play with TEXT & DATA are here

Friday, November 20, 2020

Bootstrap 4 login in form center of the screen

Bootstrap 4 login in form center of the screen

  • CONTAINER -- class="container-fluid h-100"
  • ROW --- class="row justify-content-center align-items-center h-100"
  • COL --- class="col col-sm-6 col-md-6 col-lg-4 col-xl-3"

Wednesday, November 18, 2020

Google Places Autocomplete 2-line styling CSS [SOLVED]

For almost a decade Google Places Autocomplete formatting has been a thorn in the bottom of every developer, so is mine. Here is how I solved it

formatting Google Map Places Autocomplete in two lines bcoz the entire address is not visible properly to elderly people and visually impaired. Here is the best practice

On pac-item-query &&& pac-item apply css DISPLAY:BLOCK and FONT-SIZE:20PX

Tuesday, November 17, 2020

How to prevent mobile keyboard from rising footer over the Input / Content [solved]

Very simple keep POSITION: RELATIVE

Sunday, November 15, 2020

This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled CORDOVA [SOLVED]

If you are getting these kind of errors like

Task :app:mergeDebugResources FAILED
What went wrong: Execution failed for task ':app:mergeDebugResources'.

This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled.
Set this property to true in the gradle.properties file and retry.
The following AndroidX dependencies are detected:

Try this

Update to cordova-android@9 which implicitly supports AndroidX:

cordova platform rm android && cordova platform add android@8

Add cordova-plugin-androidx to your Cordova project, which persistently sets the native AndroidX flags for cordova-android@8:

cordova plugin add cordova-plugin-androidx

cordova plugin add cordova-plugin-androidx-adapter

Task :app:processDebugGoogleServices FAILED [SOLVED]

REMOVE LINE form platforms/android/app/build.gradle --- apply plugin: 'com.google.gms.google-services'

Phone Number with Country Flag masking using GeoLocation or IP Address

Phone Number with Country Flag and Input Masking will help you to create better UX for Mobile based webpage

Saturday, November 7, 2020

Extract Scrape all EMail Address from a url using PHP

This is a simple PHP script will help you to scrape all email address on any given URL

Friday, October 30, 2020

background 100% center css

Very simple apply body or container div

Monday, October 26, 2020

Square Payment Form PHP -- Customer linked to Payment Order

After lot of bang bang. I could find a way to do 3 tasks with Square Payment Form in PHP

  1. Check from Square Customer Director if USER EXISTS based on PHONE number - If yes Get "CUSTOMER ID" and MAKE PAYMENT
  2. If Customer does not exists in Directory -- CREATE A NEW USER -- GO & GET --> find CUSTOMER ID --> & MAKE PAYMENT
  3. Get PAYMENT ID & SAVE IT IN MySQL Database

PS : This is very crud way of scripting (hahaha). Had to find a way to get this project done. I found out simple way by using GOTO statement. Hope it will help you of my 3 weeks of in between projects and delivered.

ENV file -- env (without extension -- plain text file)

Genarate Square Idempotency Key CLASS) - square-functions.php

HTML FORM - paynow.php

PROCESS PAYMENT Page --- process-payment.php

Thursday, October 22, 2020

Create a New Customer in Square Payment Gateway

This script helps you to Create a new customer for your references to do business with. Open in API

This script Requires ENV script file (without FILE EXTENSION) at root -- env
Please Change your API CREDENTIALS accordingly



Add New Customer Form Page -- new-customer.php



Save New Customer to SQUARE -- new-customer.php

Sunday, October 18, 2020

SQUARE Paypement API -- is fucking stupid

Tell you what!!! Square SDK and APIs are so fucking stupid, do they even have working script example???

Nowadays we have many frameworks & CMS plugins --- if you keep popping "AUTHENTICATION_ERROR" -- how the fuck in your cunt are we gonna get it right & deliver product solution????

All SQUARE have for you is fucking WALK THROUGH in NODE???

can you host THIS NODE script on SHARED LINUX HOSTING???

who the fuck you think is kidding -- mother fuckers???

POST output -- all error

USUAL FUCKING SUSPECT --- which these fucking square developer section or ZERO CUSTOMER CARE never explains you where the fuck YOU HAVE GONE WRONG -- WHAT ARE THEY MOTHER FUCKERS AT SQUARE ARE ARROGANT ABOUT???.

Monday, September 21, 2020

Icon png image to black in css

If you want to convert icon png image to black using CSS just follow this

Friday, September 4, 2020

UL LI not applying css styling

If you are frustrated what did you do wrong & UL list not showing style, try this

Happy Coding, NOT A ROCKET SCIENCE

Tuesday, August 25, 2020

Disable nice-select on dropdown SELECT element

How to disable nice-select applied on SELECT element

Sunday, August 23, 2020

Windows Vs Mac OS, Why I love MacOS?

Why I love MacOS?

I have been Using Windows all my life since 1994 Windows 3.0, that was very cute and MacOS was ugly & was in its infancy stage of development. Always hated Mac for its PRICING & REVERSE KEYBOARD & Interface.

Reculently I bought 1st MacBook Air for Mobile development in 2019 after 25 years as developer.

What would I say? I HATE WINDOWS TODAY

  • No Nonsense Operating System (Except Reverse Keyboard)

Windows vs MacOS

Tuesday, August 18, 2020

Task Manager shows the disk to be at 100% utilization despite a light or no workload

If you are worried about 100% Harddisk utilization in Windows 10 possiblities are

  • unwanted programs running
  • unwanted network process
  • Windows Update or Chrome Update
  • Anti-Virus running all the time

How to optimize harddisk utilization

  • Stop all unnecessary programs running
  • stop all unnecessary windows services
  • Uninstall unwanted softwares
  • run disk defragmention once in a while
  • remove %TEMP File%

If all these dont work - SIMPLE WAY IS TO

  • Restart Your Laptop or Desktop
  • Leave you PC for 10 minutes till it load all utilities
  • open TASK MANAGER - END TASK all unwanted programs
  • LEAVE YOUR PC for ANOTHER 10 MINS & ENJOY A CUP OF COFFEE
  • and there you go, PC or Laptop runs below 10% HDD utilization till end of the day

Wednesday, August 12, 2020

MLM Hierarchical TreeView MySQL PHP [solved]

Multi-Level Marketing Members Hierarchical Tree View in MySQL and PHP for your references

MySQL Table Structure

PHP MLM Treeview Code Reference

Monday, August 10, 2020

Swiper Sliders Pure Javascript and jQuery for Web and Reach - FREE

This is mindblowing collection of API by Vladimir Kharlampidi for everyone who are looking for lightweight SLIDERS for Websites and ReactJS

SWIPER SLIDER

  • Library Agnostic
  • 1:1 Touch movement
  • Mutation Observer
  • Rich API
  • Full True RTL Support
  • Multi Row Slides Layout
  • Transition Effects
  • Two-way Control
  • Full Navigation Control
  • Flexbox Layout
  • Most Flexible Slides Layout Grid
  • Parallax Transitions
  • Images Lazy Loading
  • Virtual Slides

Friday, August 7, 2020

Paypal Mafia do not respect merchants - BOYCOTT PAYPAL

Merchants on Paypal who sold products and services made Paypal Founders filty billionaires. yet these mother fuckers DONT EVEN CARES THEIR MERCHANTS?

I was scammed by many of my clients -- who chargedback and got their money refuded by Paypl and also kept the websites delivered by me.

Who AM I -- Website Designer from India

  • I have been working with clients in United States for over 9 years now
  • I develop transportation websites nationwide North America
  • has over 1000 websites delivered in 9 years
  • using Paypal for over 7 years
  • NOW MOTHER FUCKING EGOISTIC PIGS of PAYPAL DEACTIVATED MY ACCOUNT
  • bcoz I abused them for refunding to my SCANDALOUS CLIENT who is ofcourse a African immigrant Muslim

what happened?

  • 2019 THANKSGIVING PROMOTION OFFER of $149 per Website Designing and Development
  • I delived 2-websites Limo MSP.com and Car Services Minneapolis.com for $298 + $30 Transaction Fee
  • Thankless motherfucker RAISED (ITEM NOT RECEIVED DISPUTE)
  • PAYPAL MAFIA gleefully REFUNDED this thankless motherfucker - WITHOUT TAKING MY CONSENT
  • and my client kept both websites FOR FREE -- and making good money out of it
  • RECENTLY he paid to a PAKISTANI to modify BOOKING FORM which I had blocked
  • BUT I DID NOT MAKE MONEY
  • Due to COVID-19 I did not make any order
  • EGOISTIC BASTARDS at PAYPAL DEACTIVATED MY A/C - bcoz I abused them over DISPUTE ISSUE

PAYPAL MAFIAS DO NOT RESPECT THEIR MERCHANTS

  • PAYPAL MAFIA rip us in FOREIGN EXCHANGE & CHARGE EXORBITANT TRANSACTION FEES
  • Paypal DO NOT RESPECT its MERCHANTS
  • paypal customer support is full of EGOISTIC PIGS
  • PAYPAL WONT LISTEN / TAKE CONSENT OF MERCHANTS before REFUNDING to our customers
  • We MERCHANTS made you mother fuckers FILTHY BILLIONAIRES

Paypal is full of EGOISTIC PIGS

and we MERCHANTS DESERVE SOME RESPECT AND PROTECTION

BOYCOTT PAYPAL

AJAX JSON response from PHP MySQL rows to html table

After lots of banging head and stackoverflow here is how to displaly AJAX JSON response from PHP MySQL to html table for your referenses

RESPONSE.PHP ---- get user query json response from PHP MySQL

AJAX Response Data Retrival Page

Saturday, July 25, 2020

Cannot read property 'manifest' of undefined Firebase Cordova

I was implementing Firebase Phone Auth on Cordova project and tring to add to config.xml -- confronted these errors. Here is how to solved it

Before that

Install Plugin in Cordova Project

1. Open File from

2. Replace the pathToManifest

3. replace with pathToManifest with platforms/android/app/src/main as below

4. test it on device

minSdkVersion 16 cannot be smaller than version 19 declared in library CORDOVA [SOLVED]

minSdkVersion 16 cannot be smaller than version 19 declared in library is a common error while building android app using cordova

Hope you like it. Say a thanks below

Wednesday, July 22, 2020

encode multiple rows to json in php mysql

how to encode multiple rows from mysql table to php encode_json?

very simple!

Tuesday, July 14, 2020

How to recover data from WannaCry Ransomware affected computers?

What is WannaCry?

WannaCry is a ransomware program targeting Microsoft’s Windows operating system. Ransomware is a kind of cyber-attack where hackers can take control of your computer, and keep you from using it or accessing your data until you make a payment to the hackers. If you don’t, they can even delete everything.

How does WannaCry affect my computer?

If you don’t, they can delete everything on your computer

How much is ransom paid to WannaCry?

The hackers demanded payments of $300 to $600 (roughly Rs. 19,000 and Rs. 38,000) which were to be paid using Bitcoins.

Who all infected by WannaCry Virus?

The British NHS, international shipper FedEx, telecommunications company Telefonica and others were among the targets.

How to recover your data?

  • Turn off your computer
  • Create a Bootable USB from clean desktop or laptop
  • Change boot preferences to USB on your infected PC Bios
  • Boot from USB Pen-Drive
  • Take backup of all important data & let go videos & images
  • format your computer
  • REINSTALL WINDOWS

Sunday, July 12, 2020

Adding multiple input elements dynamically to a form

Simple Way to Add multiple input elements or formset to a html form when you need extra multiple formsets.

Thursday, July 9, 2020

PaisaBazaar.com Improve your credit score is a scam???

I dont know how they do it, i mean IMPROVE MY CREDIT SCORE by just paying Rs.1200 as am having little overdue BAD LOANS.

Once I paid Rs 1200 they disappeared on my. No buggar calls me or take my calls??? Wow!!! Thats Very Scary

.

CreditSudhar.com -- Scams

One of my friend had even bad experience with CreditSudhaar.com. These bastards are even very intelligent scamsters. They charged him some Rs. 3000 as fee & took all his details. Then left a remark of Rs.12000 as some fee or bad loan & screwed his CREDIT RATING --- and this bugger ended up paying Rs.22000 to resolve the issue with CREDIT SUDHAR.

waiting for alexgorbatchev.com [solved]

Very simple way to avoid "waiting for alexgorbatchev.com" is to CHANGE YOUR BLOGSPOT THEME to SIMPLER ONE

Thats it!!! Hope you like it

how to generate sha1 key in windows for Firebase & Android App

it is very simple to create SHA1 PrivateKeyEntry with Javascript Keytool for Firebase & Andriod App

1. keytool –keystore clientkeystore –genkey –alias client
2. keytool -exportcert -list -keystore clientkeystore

Sunday, July 5, 2020

How to Get Alexa Ranking for your Website for FREE???

It is very simple to get ALEXA RANKING for your website


      Install Google Chrome ALEXA TRAFFIC RANK extention
      Keep Hitting your website for a 7-10 days
      Even you can ask your friends to do he same

Voila!!! Your website will be placed somewhere btw 7 MILLION-th rank.
This shit I dont understand. How many websites are placed in 7th million ranking
Never mind. ALAXA RANKING IS IMPORTANT

Thursday, June 18, 2020

Alexa Ranking - Why it is fake and Scam?

Bcoz ALEXA RANKING IS PAID

IF YOU DONT PAY THEM - YOU WILL NOT BE GIVE alexa ranking

Thats greed of AMAZON & fakery, foolery of ALEXA


Insert Multiple Checkbox Values in MySQL column Using PHP

This is how you can save values of a set of checkbox to an one variable to store the collective values of all checkboxes to one mysql column

PHP setcookie for both localhost and domain

something it wasn't clear to me for a while was that domain names must contain at least two dots (.), hence 'localhost' is invalid and the browser will refuse to set the cookie! instead for localhost you should use false.

to make your code work on both localhost and a proper domain, you can do this:

Monday, June 15, 2020

Godaddy Hosting Renewal Scams - is true

GoDaddy induggles in Hosting Renewal Scams

It is well known fact that Godaddy fleece & squeeze & screw its customer who are its longtime clients with huge data & multiple website of various size portals & vortals including high networth eCommerce, corporate, Business websites and they leave none to fool & cheat their customers

GoDaddy Scam Modus Operandi

This is how GoDaddy trick you before suspending your hosting a/c as soon as it expires not a day extension. These days many customers have more than one domain with hosting and you never know what product has expired

What happens when GoDaddy suspends your hosting a/c?

  • Customers buy MULTIPLE DOMAINS & do not want to RENEW DOMAINS that they bought on GoDaddy and let it go
  • GoDaddy SUSPEND these unsuspected CUSTOMERS A/C without intimating that YOUR HOSTING EXPIRING
  • GoDaddy Suspends you Hosting A/c and never intimate THRU mail IN SUBJECT LINE it is that your HOSTING is EXPIRING and not DOMAIN
  • Suspension of Hosting means you lost all data - your website files, backend database and E-Mail A/c will be deleted at once
  • Supension of Hosting means YOU LOOSE EVERYTHING - Website, valuable database and E-mails

How Godaddy Fleece its Customer

  • Godaddy charge you $1000 to restore hosting from its backup - that is outrageous
  • and also they charge you exorbitant HOSTING RENEWAL CHARGES $240 per year + TAX
  • and include WORKSPACE EMAIL that customers DID NOT BUY - ADDITIONAL CHARGES
  • E-Mail & Office will be RENEWED - ADDITIONAL CHARGES
  • and many more services which you did not subscribe
  • If you have SSL for your multiple domains will go add up to $300 + TAX per year for each obsolete & inferior SSL Certificates that is not of Security Standards
  • BUT ONCE YOU PAID ALL THESE & UNKNOWN CHARGES - your website comes alive in let then a MINUTE

Osolete Services of GoDaddy

GoDaddy SERVERS has 93.4% UPTIME its E-mail headers are INSECURED & all most all WebMail Servers lables emails from GoDaddy E-mail server as SPAM. Many a times godaddy your website content disappears DUE TO CHANGED SERVER SETTINGS & MISCONFIGURATION by stupid systems engineers of Godaddy.

Finally, GoDaddy is only 70% RELIABLE
10% SCAMS
10% MISCONFIGURATION
10% unreliable & culmination of obsolete technology & new technology might make you happy & cheated as well

How Much Godaddy Fleeced Me & my clients

All my clients and my business websites were deleted by Godaddy without intimation . My Hosting A/c on GoDaddy was for 7 years with more than 140+ website of my clients hosted were SUSPENDED BY GODADDY and tried to fleece me INR 63,000 ($1000 2 years ago) + GST + HOSTING RENEWAL. Fortunately I had backups and regularly backup mine and clients websites & backend data. and I decided to buy DEDICATED SERVER from another reputed hosting company in US

December 2019 my client in South Dakota was suspended by Godaddy & charged $300 to restore + Hosting Renewal and I had to call immediatly godaddy to cancel unwanted services like Workspace Email that Godaddy sold to my client after renewal

Today in New Jersey, my client had 18 websites hosted & had hosted for over 17 years was SUSPENDED & fleeced $1200 + $380 Hosting Renewal + TAX

and I do not recommend GODADDY but go with Google or Amazon Cloud Servcies but choose what & how much technology you are looking for to run your business or you can go with Dedicated Server that comes at renewal cost of GODADDY's ULTIMATE LINUX HOSTING

Thursday, May 28, 2020

PHP Server-Side CORS Header for Cordova PhoneGap Ionic


PHP Server-side CORS header for Cordova, PhoneGap and Ionic

Sunday, May 17, 2020

Background Image resized when Soft keyboard is shown in Android iOS Ionic Cordova

After lot of bang bang finally I found solution to Make full screen CSS background image appear behind a mobile soft keyboard activated on Browser of Anroid Phone or Ionic or Cordova app background


BACKGROUND-SIZE : 100% AUTO -- does the magic


Thursday, April 30, 2020

Show Hide DIV using Bootstrap without Javascript

This neat & clean way to SHOW/HIDE DIV without JAVASCRIPT but only BOOTSTRAP CLASS



Visit my website Taxi Website Designerscom

Get Device Current Position without Button Click - Geolocation HTML5

This is strictly for BEGINNERS & pros can refer it too.

Get User / Device Current Position Lattitude & Longitude without clicking button using HTML5 GEOLOCATION


Saturday, April 25, 2020

How to Store an Array in LocalStorage - [SOLVED]

localStorage only supports strings. Use JSON.stringify() and JSON.parse().

place array inside onDeviceReady and asign the json array to localStorage

On Page parse values stored in localStorage array into another json array for implimentation


Monday, April 20, 2020

Warning: getimagesize(): Filename cannot be empty -- SOLVED

If you are experiencing this issue while trying to FIND SIZE OF IMAGE for RESIZING and you are getting this error means --- FAULTY CAMERA APP

I have both Samsung M30 & LG Q7+ ---- both IMAGE CREATION APPS are FAULTY
and i believe other phones too has these issues of IMAGE FILE CREATION issue

What a shame Samsung / LG --- am not big fan of Chinese Phone

How to Upload Images again???

Convert your Photos to JPG using photoshop and Upload again. IT WORKS!!!!

Sorry We Have no other ways to convert & upload thru PHP

---- OR ----
DISABLE "GEO LOCATION" feature in your camera -- IT WORKS


Sunday, April 19, 2020

Extract Geocoding Latitude Longitude from Image / Photo using PHP with Google MAP API [SOLVED]

Extract Latittude and Longitude from an photo shot using GPS Enabled device either Smartphone or Digital Camera using PHP & show the location on Google MAP with Marker.

I tried using EXIF.JS & jQuery but failed. PHP is simple and works great.


Wednesday, April 1, 2020

Find Date of Next Sunday in PHP

This is best & beautiful PHP syntax and it surprised me today when i needed this function:


Thursday, March 19, 2020

Date as Header Row in PHP MySQL [solved]

After long bang bang and stackflow here is what i found to :
Date as Row Header
Daily Report Table in Using MySQL & PHP

How You will love it


Friday, March 6, 2020

How to Install Laravel on Mac OSX

If you're facing this issue with macOS Catalina, I recommend these steps:

[PS: do not waste your time installing apt-get or yum ]

-- Just Install Homebrew (if you haven't already done so): head over to brew.sh or simply run this command: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

-- Run brew install php@7.3


Update your $PATH variable to include the newly installed version of php:
>>> echo 'export PATH="/usr/local/opt/php@7.3/bin:$PATH"' >> ~/.zshrc
-- Also --
>>>>>> echo 'export PATH="/usr/local/opt/php@7.3/sbin:$PATH"' >> ~/.zshrc

-- Reload your shell preferences script $ source ~/.zshrc or source ~/.bashrc

Finally, install laravel: composer global require laravel/installer

Tuesday, February 25, 2020

CSS Clip-PathMaker - live code



If you are looking for CSS CLIP-PATH example code for polygon, hexagon, triangle or square or custom shape for your webiste - just check here for instant size & point co-ordinates --- Clip-Path Maker

Wednesday, February 19, 2020

Dot Leaders in Receipt Design CSS HTML

Dot leaders btw Description and Rate in HTML CSS



CSS Code


HTML Cide


Taxi Website Designers.com

Tuesday, February 18, 2020

MYSQL - Group by date and Sum by Everyday

If want to calculate sum of everyday here is simple ways to do it

Sum of Everyday Descending Order in MySQL



Sum of A Day in Mysql


Wednesday, February 5, 2020

Removing white space non-numeric characters parenthesis spaces hyphens of Phone Number formatting in MySQL Query Statement

This is God of All Small Things.

You have phone number with too many formattting like
(444) 444-4444
(555)555-5555
800-123-4567
877 987-4563

and you want to QUERY it in MySQL like "4085439351" --- you will have to write a trigger and use it as function in your MYSQL QUERY STATEMENT

STEP#1 -- WRITE A QUERY


MYSQL QUERY STATEMENT

SIMPLE - ISN'T IT???


Thursday, January 23, 2020

Video Background Header Plain CSS - SOLVED

This is Plain CSS Video Background Header optimized for Desktop & Mobile Phone working great. Enjoy!!!


Saturday, January 18, 2020

Dropdown of 50 States of United States

Here is Dropdown of 50 States of United States for you


content-wide advt