Easiest way to version your assets in laravel using elixir. in your gulp file gulpfile.js Create a php helper function to access version file you can now access asset version in your view files
Sometimes you are required to test your code in both php-5 and php-7. Here is how you can setup both php versions in your for testing. Setup both PHP versions in your server Switching between PHP Versions NOTE: Please refer to my PHP 7 detailed installation guide
include_once checks if the file was already included before and uses that one. include includes the file. If you include same file twice you will get an error, that’s why its recommended to use include_once so that you wont get error if you include same file multiple times. require and require_once has same behavior.
Install Ubuntu server 14.04 (64 Bit) in your server. Login as Root Update /etc/sysctl.conf Update Firewall Rules Update ubuntu after installation. Add repositories Update repositories Install important packages Setup Timezone You must setup timezone to your server’s location. Configure SSH Server Change default port to something else Disable SSH Banner Disable root login Add User for […]
CentOS in-place upgrade tool is broken, please don’t use this in your production server! DO NOT USE this tool. Warning: use of this tool is currently BROKEN as several system-critical packages are of a higher version number in CentOS 6.7 than they are in CentOS 7 so those do not get upgraded correctly. This renders […]
> sudo … We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.