Search This Blog

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.

Tuesday, November 20, 2018

Mac OSX adb command not found - SOLVED

Am sure you have not set your PATH to android PLATFORM-TOOLS

No Worries

Try this

Friday, October 26, 2018

PHP MySQL - Stored procedure with a Query SOLVED

1st Time in almost 19 years i tried this a I was building backend intensive application using PHP & MySQL, where I had to reuse queries in many pages and had to write SQL QUERY repetitively almost everywhere across tables

LIFE COULD HAVE BEEN THIS SIMPLE BEFORE had i used it.

SHIT HAPPENS!!!!

Tuesday, October 16, 2018

PHP Lakh and Million Number Format - solved

Its very simple till you learn

Saturday, October 6, 2018

How to Remove GoDaddy Tracker Script from Your Web page Footer - SOLVED

How to Remove GoDaddy Tracker Script from Your Web page Footer???

Login into your GoDaddy A/c
Hosting - MANAGE ALL
Below cPanel Button - see 3-Dotted button
Click on - HELP US
and click - OPT OUT

No Thanks Necessary, Ma'am...


Wednesday, September 12, 2018

Parse error: syntax error, unexpected 'use' (T_USE) in phpmailer - SOLVED

Yep!!! shit happens to everyone who use PHPMailer.


Friday, August 31, 2018

Javascript not Adding two values from dropdown and input element - solved

prepend "+" to value
use canary : (+waiting_charge + +ifare)
check the example


content-wide advt