Yii2 – Custom Action Button GridView

Yii2 – Custom Action Button in GridView  

   

Welcome to the Gutenberg Editor

The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of pieces of content—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you’ll notice the different blocks light up with outlines and arrows. Press the Read More

Setting ANDROID_HOME Enviromental Variable on Ubuntu

  Setting ANDROID_HOME Enviromental Variable on Ubuntu Open your terminal. To open it with shortcut keyboard just hold CTRL + ALT + T. Now, we’ll create a new file .bash_profile with text editor nano. Type code below in terminal nano ~/.bash_profile Add code below :

  Check it for ensure the script is working. Read More

How to change a remote’s URL GIT

How to change a remote’s URL GIT   The git remote set-url command changes an existing remote repository URL. Tip: For information on the difference between HTTPS and SSH URLs, see “Which remote URL should I use?“ The git remote set-url command takes two arguments: An existing remote name. For example, origin or upstream are two common choices. A new URL for the remote. Read More

How to Compress and Extract Files Command on Linux Using Tar

How to Compress and Extract Files Command on Linux Using Tar The tar command on Linux is often used to create .tar.gz or .tgz archive files, also called “tarballs.” This command has a large number of options, but you just need to remember a few letters to quickly create archives with tar. The tar command can extract the Read More

Remove Excess Whitespace From Within a String

Remove Excess Whitespace From Within a String   There is have two conditions : If you are just dealing with excess whitespace on the beginning or end of the string you can use  trim() The trim() function removes whitespace and other predefined characters from both sides of a string. ltrim() Removes whitespace or other predefined characters from the left Read More