Here are some tips you should know when using Composer the dependency manager for PHP. 1. Update only one vendor You want to update only one specific library, without updating all your dependencies? That’s easy, just add the vendor name as argument to the updatecommand: $ composer update foo/bar This will only install or update… Read More 5 features to know about Composer PHP
You can generate an SSH key on Windows using the PuTTY SSH client. You can download PuTTY for free from this URL. To generate a key with PuTTY, you should: 1. Download and start the puttygen.exe generator. 2. In the “Parameters” section choose SSH2 DSA and press Generate. 3. Move your mouse randomly in the… Read More How to generate an SSH key on Windows using PuTTY?
Find JDK Installation Directory First you need to know the installation path for the Java Development Kit. Open the default installation path for the Java Development Kit C:\Program Files\Java There should be a subdirectory like C:\Program Files\Java\jdk1.6.0_10 Set the JAVA_HOME Variable Once you have the JDK installation path: Right-click the My Computer icon on your… Read More How to set java_home on Windows 7
Use the below command : rm -rf lampp It deletes all files and folders contained in the lampp directory. Add sudo at the beginning of the command : In case user doesn’t have the permission to delete the folder: sudo rm -rf folderName Otherwise, without sudo you will be returned permission denied. And it’s a… Read More How to delete a non-empty directory in Terminal?
Adding a remote To add a new remote, use the git remote add command on the terminal, in the directory your repository is stored at. The git remote add command takes two arguments: A remote name, for example, origin A remote URL, for example, https://github.com/user/repo.git For example: git remote add origin https://github.com/user/repo.git # Set a… Read More GIT Adding a remote
That’s easy! Just use radio buttons and targeted labels. Radio buttons have the (necessary) behavior of only allowing one to be selected at any one time—just like an image in our carousel. tl;dr important notes make sure at least one input(type=”radio”) is checked by default, or the whole carousel will be hidden. hide the input… Read More How can I make an image carousel with only CSS?
The only difference is that localStorage has a different expiration time, sessionStorage will only be accessible while and by the window that created it is open. localStorage lasts until you delete it or the user deletes it. Lets say that you wanted to save a login username and password you would want to use sessionStorageover… Read More HTML5 Local Storage vs Session Storage