Simple du command lists all folders with their corresponding size of disk plus to start with. DU – Disk Usage
Month: August 2019
Dropzone Child elements are not clickable for upload
When attaching the .dropzone() object via jQuery, generally it does not allow you to click child elements and open the upload dialog.
Using global constants and arrays in Laravel 5
Most of the time developers need to create common and global set of constants, variables and arrays which could be used anywhere in your application. There is a handy way to do it in Laravel 5.
Export and Import Mongodb commands
To restore earlier database mongorestore -d dbname -c users C:/mypath/to/old/dbname To export a collection mongoexport –db envyd –collection categories –out users_remote.json To import a collection mongoimport –db envyd –collection posts –file posts.json To Update Single or Multiple records Update single…
Bharat Matrimony Affiliate Program – Total Waste!
Like many bloggers I was looking to earn money online through affiliate marketing. Unfortunately I included Bharat Matrimony Affiliate Program as one of the affiliate partner. But eventually I was proved wrong. Why?
Export, Import MySQL db between different servers through Linux command line
You should have Database name, Database Username, Database Password and command line access to your server Export database to local file system, for example /var/www/html
Setting up ssh key-pair with different name than id_rsa
I have had got a id_rsa key in my local machine which I used to connect to github. Now I wanted another keypair so that I could connect to bitbucket repository and another one for the digitalocean vps server.
ReactJS check radio/checkbox buttons and scrolling of wrapper div to top – fixed
Issue: There is a long list of categories to select from. Since the list was long and it could not fit within the wrapper div the maximum height of the wrapper div had to be set and make the wrapper…