Heroku | The datasource configuration “default” was not found in database.php

| By Webner

Heroku throwing ERROR: “The datasource configuration “default” was not found in database.php” with database configuration already present for cakephp app. In one of our cakephp projects hosted on Heroku we used PostgreSql database. For configuring the database to connect to

How to convert an object into Json String in Unity3D Script (C#)

| By Webner

How to convert an object into JSON String in Unity3D Script (C#)? Let’s say I have a class: class User { String firstName; String lastName; String userName; } User obj = new User { firstName = “Shalini”, lastName = “Vashist”,

How to install .box extension Virtual Machine

| By Webner

To install and use .box extension machine we have to follow these steps: 1.  Installing Virtualbox: $ sudo  apt-get install virtualbox $ sudo apt-get install virtualbox-dkms 2.   Installing vagrant: Please don’t install the repository version, because this is very old and

NetSuite API | operator undefined for search

| By Webner

On filtering contacts coming from Netsuite CRM based on last modified date, gives error “operator undefined for search”: Below is the code that retrieves all the contacts from Netsuite CRM: ContactSearch custSearch = new ContactSearch(); ContactSearchBasic custSearchBasic = new ContactSearchBasic();

CSS3 Viewport units vh, vw, vmin and vmax explained

| By Webner

CSS3 Viewport units vh, vw, vmin and vmax explained Sometimes we need to fit our webpage content into viewport (visible browser window). Some developers achieve this using Javascript by checking the size of viewport and then they resize the content

How to install and use command line tools in Heroku

| By Webner

What is Heroku Command Line: The heroku command-line tool is an interface to the Heroku Platform API and includes support for things like creating/renaming apps, running one-off dynos, taking backups, and configuring add-ons. It is generally installed in your local