Search This Blog

Wednesday, December 18, 2019

how to install ADB on MACBOOK or Mac OS - SOLVED

It is very simple. follow the steps
  • 1. INSTALL HOMEBREW (if not installed) -- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • INSTALL ADB --- brew cask install android-platform-tools
  • TEST --- adb devices

Wednesday, November 13, 2019

htaccess REWRITE URL with multiple Query String

.htaccess REWRITE URL with multiple Query String



Visit my website : Taxi Website Designers.com

Sunday, November 3, 2019

PHP FIX has been blocked by CORS policy: No 'Access-Control-Allow-Origin' - SOLVED

PHP FIX has been blocked by CORS policy: No 'Access-Control-Allow-Origin'

In the PHP code above, I am telling the browser that site-a.com has permission to make cross-domain requests to my website. The second parameter of PHP’s header function has been set to FALSE so that it is not overwritten by any other Access-Control-Allow-Origin headers that we may add in the future.

Note that you may also come across examples like this on the web:


Friday, November 1, 2019

PHP MySQL multiple rows to JSON

Simple to store PHP MySQL to JSON with multiple rows result


Thursday, October 31, 2019

how to create Keystore apk signing in command line cmd

Find KEYSTORE.EXE from your android studio / java installation drive on windows
Set Path to folder for easy access of keystore.exe


Wednesday, October 30, 2019

HASH Algorithm in MySQL PHP Query - SOLVED

MySQL Query of HASH SHA2 Type of SHA384

PHP CONVERSION into HASH SHA2 Type of SHA384



List of universal HASH types for your references and MD5 is most common used - which can be easily DECODE by hash machines in seconds.


Tuesday, October 29, 2019

Cordova Screen Orientation Portrait - Solved

Cordova Screen Orientation Portrait in INDEX.JS inside "onDeviceReady: function()"

Friday, October 25, 2019

UK Credit Card - HTML Dropdown

This html dropdown for you with all creditcard types available in United Kingdom developers


Thursday, October 24, 2019

Paypal PayNow BuyNow Button Script - Solved

Hey check this Paypal "Pay Now" or "Buy Now" button script



Thats it

100% Body Background Image - Solved

Just check this

Saturday, October 19, 2019

Wait for 5 Seconds and Redirect Page - Javascript or PHP

Piece of Cake. Here is how you can REDIRECT PAGE after waiting for 5 Seconds in PHP or Javascript

Redirect after 5 seconds in Javascript

Redirect after 5 seconds in PHP


Tuesday, October 15, 2019

Cordova MySQL PHP Remote Database functionalities -- SOLVED

After bang bang & kickass searches and tens of pages & trial and error -- here come simplest solution for CORDOVA - MYSQL - PHP REMOTE SERVER DATABASE CONNECTIVITY for you. Hope you dont have to PULL YOUR HAIR & GO BALD (as am already bald & getting married on 12th December 2019)

CORDOVA -- CRUD FORM / RESULT PAGE



REMOTE CRUD PHP PAGE



I would like to thank Code Sundar and Yogesh Sharma --- thank you nerds.

HOPE YOU WILL ENJOY IT!!! PEACE-V


Friday, July 26, 2019

WILDCARD SSL redirect http to https thru .HTACCESS - SOLVED

Redirect your website and subdomains with .HTACCESS


Thursday, June 6, 2019

CSS Height by percentage - CSS Tricks [SOLVED]

if you have 2 DIV & want it different height in percentage


Sunday, June 2, 2019

Android' webview doesn't show google maps

In MainActivity.java under
webView=findViewById(R.id.webviewid);

Add :
webView.getSettings().setJavaScriptEnabled(true);

Sunday, March 31, 2019

City - Autocomplete JQuery Bootstrap4

City.php

Search.php


Tuesday, March 19, 2019

Remove PostCSS warning IONIC

Try this

find sass.js file. under /node_modules/@ionic/app-scripts/dist/sass.js
find var postcssOptions and add from: undefined,

Finally should be like this:
var postcssOptions = {
from: undefined,
to: path_1.basename(sassConfig.outFile),
map: autoPrefixerMapOptions
};

Ionic Cordova - spawn EACCES [SOLVED]

While building ionic app I was struck here

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/HomeError:
spawn EACCES


and solution is simple

This is the command that finally fixed it for MY configuration
sudo chmod 777 “/Applications/Android Studio.app/Contents/gradle/gradle-4.1/bin/gradle”
Note the space in 'Android Studio'

What is the root problem? I don't know. I do know that I recently downloaded the new android studio 3 and then this started being a problem. It probably is something to do with the 'gradle-4.1'.

On a lot of other threads that contain this same issue there is someone strongly advising against just 'chmod'ing random folders, and I see his point, but I tried everything else.

OSX JAVA_HOME openjdk-11.0.2.jdk Error Requirements check failed for JDK 1.8 or greater

1.Remove all the Java related packages (Sun, Oracle, OpenJDK, IcedTea plugins, GIJ):



2.Purge config files (careful. This command removed libsgutils2-2 and virtualbox config files too):


3.Remove Java config and cache directory:



4.Remove manually installed JVMs:



5.Remove Java entries, if there is still any, from the alternatives:



done

6.Search for possible remaining Java directories:



7.Install JAVA-8-SDK



8.Open





Try to run your ionic app again :) Njoy!

Sunday, February 17, 2019

How to cast Amazon Prime on Google ChromeCast TV [solved]

It is very simple, you dont have to buy an Amazon FireStick to cast it on Google Chromecast or Mira Cast devices.
  • Log in Amazon Prime or Any Online Video Website
  • Select Video & Play
  • On Google Chrome Browser ---> Settings --> Cast --> Select Device from Popup
  • Thats IT!!!!

PS : ---> Do Not Close Chrome Browser TAB / Shutdown your System
---> If you are on laptop do not close it to sleep mode while movie is on in your TV

This is not just for Google Chrome Cast but any SmartTVs that has Miracast or screen casting features your can always enjoy this tips.


Thursday, January 24, 2019

How to Hide White Splash Screen in Ionic 3 - SOLVED

By default, the splash screen is hidden after 3 seconds (see https://github.com/apache/cordova-plugin-splashscreen#configxml). But it could be that at this moment your app is not ready.

Therefore I add always the following preference to my config.xml:



Instead, I hide it manually, as soon as the app is ready:



This is working on iOS as well as on Android.

content-wide advt