External hard drive file system

Sometimes, we are confused with external hard drive file system selection, so decided to write this post for myself, let’s see options available are as below: External hard drive file system Compatibility : File System / OS Windows Ubuntu Mac NTFS Y Y Y -( Read-only ) to write need third party plugins like ntfs-3g FAT32 (4gb … Read more

fix npm permissions

After installing nodejs, we need to install npm packages to include module likes async, request, etc. We need to fix npm permissions for a current so he can have permissions to write to directories that npm will use to store global packages. You will get this permission error while installing npm packages globally without ‘sudo’. npm ERR! Error: EACCES, …. … Read more

WordPress custom post type endpoint

Requirement: If you want to add endpoint, let say “books” to  CPT author, and wants to change view in template. Solutions: No need to use “add_rewrite_endpoint” function because as of today, we can not add endpoint to CPT only ( we can add endpoints to either page or archives or all links, etc using  add_rewrite_endpoint function ) … Read more