Sketch app on Mac has become one of the most popular ui/ux design tool for web and mobile apps, replacing photoshop and other alternatives far behind. There is a huge interest in sketch app now, but lot of people want to get started with a free version of sketch app - e.g., students who don't have enough money or people who want to try out the sketch app first before deciding.
So what all ...
Many times we need to insert a post in wordpress programmatically. For example, we may want to poll certain web api periodically and based on its response insert wordpress post automatically.
To insert a wordpress post, one can use the function wp_insert_post
wp_insert_post( array $postarr, bool $wp_error = false )
wordpress insert post example
Here is a rough example of ...
Google Adsense is the life line of typical wordpress blogs. To include adsesnse code snippets in the blog, typically a wordpress blog administrators uses one or other wordpress plugins. Though there are many of them and it is sometimes difficult to find the best one suited for your needs.
Here is a quick no nonsense guide to best google adsense plugins fo wordpress in 2018.
Over last few years, video has become the dominant method to consume content and thus has attracted a massive flow of money from advertisers that are interested in influencing audiences and promoting their product. Google was and remains the primary player in this space - it owns YouTube (the most popular video content site) as well as Adsense (the most popular advertisement network).
If you are...
Many times while surfing the internet on a browser like chrome we get the error - 'Server dns could not be found' and our internet stops working. What's the cause behind it and how to solve this problem?
First let us understand what is Server DNS. DNS full form is Domain name system and it the system used to convert a website name/address to its IP address. On Internet, every computer/device ...
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.
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 -> ...
'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 ...
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?
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.