Search This Blog

Sunday, November 15, 2020

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

content-wide advt