// Added in 5.1.11:http://laravel.com/docs/5.1/authorization#creating-policies
php artisan make:policy PostPolicy
// Displays help for a given command
Get latest changes from master to branch
git checkout piash # gets you "on branch piash"
git fetch origin # gets you up to date with origin
git merge origin/master
Merge detached head to origin/master
git checkout master && git merge [ref of HEAD] # ref of HEAD = latest hash of detached head
Just add this binding to your Preferences > "Key Bindings - User" file:
{"keys": ["alt+shift+f"], "command": "reindent", "args": {"single_line": false}}
- On your dash bar, type disks and lunch the program
- Select the disk or drive you want to format
- Press CTRL+F
- Click format.
After formatting, the disk or drive would be unallocated, therefore you'll have to create a partition by using the plus button on the screen.. Then insert the name you'll like to use as the drive or disk name then click on create. Enjoy....
Solution#1
Run composer global self-update
Solution#2
Update laravel installer version first. To do this, change the version required in ~/config/composer/composer.json from ^1.3 to dev-master, then run composer update laravel/installer
.
{ | |
"line_padding_bottom": 5, | |
"line_padding_top": 5, | |
"fade_fold_buttons": false, | |
"bold_folder_labels": true | |
} |
The clock that is managed by Linux kernel is not the same as the hardware clock. Hardware clock runs even when you shutdown your system. Hardware clock is also called as BIOS clock. You can change the date and time of the hardware clock from the BIOS. However, when the system is up and running, you can still view and set the hardware date and time using Linux hwclock command as explained in this tutorial.
Just type hwclock, which will display the date and time of your system’s hardware clock. This is the same date and time that you’ll see from the BIOS screen. You can also use option -r, or –show to display the date and time.
# hwclock
{ | |
"data":{ | |
"কুমিল্লা":null, | |
"ফেনী":null, | |
"ব্রাহ্মণবাড়িয়া":null, | |
"রাঙ্গামাটি":null, | |
"নোয়াখালী":null, | |
"চাঁদপুর":null, | |
"লক্ষ্মীপুর":null, | |
"চট্টগ্রাম":null, |