(MySql Php) Call to undefined function mysql_connect

Many programmers using php to connect to mysql face this error while writing/testing their code.

Fatal error: Uncaught Error: Call to undefined function mysql_connect()

Many websites and tutorials contains sample code containing mysql_connect which no longer works. This article provides details on why and what to do to fix this error.

...read more

(Fix) VT-x is disabled in the BIOS for both all CPU modes

While installing VirtualBox and trying to create a vm for the first time, many users face the problem

VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)

There are two ways to fix this.

Fixing VT-x is disabled in the BIOS for

Easiest way to solve this problem is to disable PAE/NX in the VM Settings.

To do that, go to VM Settings -> System -> ...

...read more

React Native KeyboardAvoidingView - Component hidden behind Keyboard during Text Input

'Input Field hidden behind keyboard' is one of the common problem faced by mobile app developers including react native. Basically, when your input field is positioned low on screen and you click on it and keyboard pops up right on top of the field blocking the view.

To fix this, the standard approach is to scroll the input field upwards automatically so that it is no longer hidden behind the ...

...read more

React Native Android - Unable to download JS bundle

One of the common error while trying to run your first react native project on android is the ubiquitous error about unable to download js bundle.

That is, when you run react-native run-android, you get following error:

Unable to download JS bundle. Did you forget to start the development server or connect your device?

...read more

React Native App how many threads? Execution Model explained

You are a react native developer and have mastered creating basic android and ios apps. And now looking to learn more about under the hood details of react native, then one of the most important thing to learn is the execution model or process model of a react native app. Understanding how a react native app executes and how many threads it use and for what will help you build more efficient apps and/or help debug performance problems.

...read more

Remove Password from PDF Document for Free in 2 Easy Steps

So you want to remove password from a pdf file or document you have received and save it as a normal pdf file. You are on the right place.

It is pretty common now-a-days to get password protected pdf from large number of companies - e.g., utility providers bills, credit card reports etc. Typically you want to save these pdf for future, but it is pain to remember passwords for individual pdf. ...

...read more

Google Adsense Earnings Insights 2017

Google adsense remains one of the best way to make money online in 2017. There are lot of people who report their rough adsense earnings and insights regularly. These insights give us an idea about potential of adsense and can serve as a motivation for people starting out with their own blogs and content sites.

Lot of people have been asking questions if Google adsense is still worth it in 2017 ...

...read more

Adsense PIN Verification 2017

Google adsense remains one of the best monetisation system for blogs and content websites. But it is not easy to get an adsense account approved and verified. Even if you have your adsense account approved, you need a PIN verification to verify your postal address.

...read more

React vs React Native - What's the difference?

Lot of us have been hearing about react javascript (js) for some time now as one of the best front end javascript library giving angular js a tough fight. But now there is a newer framework called react native and it is confusing what's the difference between react and react native. Both sound similar and are developed by facebook.

...read more

React Native ScrollView

Scrollview is a mobile app view where you can scroll by following standard scrolling behaviour on touchscreen. Scrollviews are standard view on both android and ios.

React native supports implementing scrollview where components can be wrapped with platform specific scrollview along with implementing required touch responders.

Please note that in React Native you can easily configure scrollview to either scroll vertically or horizontally depending on your need.

...read more