- https://speakerdeck.com/willroth/50-laravel-tricks-in-50-minutes
- https://www.reddit.com/r/laravel/comments/3to60i/50_laravel_tricks/
- 1. Automatic Model Validation
[ | |
{ | |
"id": 1, | |
"country_name": "INDIA", | |
"country_code": "IN", | |
"state_name": "Andhra Pradesh", | |
"state_code": "AD", | |
"deleted_at": null, | |
"created_at": null, | |
"updated_at": null, |
**Chat ** | |
https://www.tidio.com/ | |
**Cookie Consent** | |
https://www.npmjs.com/package/cookieconsent | |
**Free Image, SVG ** | |
https://svgsilh.com/ | |
https://pexels.com/ |
/** | |
* Manage Width | |
*/ | |
.w-10 { | |
width: 10% !important; | |
} | |
.w-20 { | |
width: 20% !important; |
<div class="row"> | |
<div class="col s12"> | |
<div class="row"> | |
<div class="input-field col s12"> | |
<i class="material-icons prefix">textsms</i> | |
<input type="text" id="autocomplete-input" class="autocomplete"> | |
<label for="autocomplete-input">Autocomplete</label> | |
</div> | |
</div> | |
</div> |
Find the last commit that affected the given path. As the file isn't in the HEAD commit, this commit must have deleted it. | |
git rev-list -n 1 HEAD -- <file_path> | |
Then checkout the version at the commit before, using the caret (^) symbol: | |
git checkout <deleting_commit>^ -- <file_path> | |
Or in one command, if $file is the file in question. | |
git checkout $(git rev-list -n 1 HEAD -- "$file")^ -- "$file" |
Open Vs code extension and search for Live Saas Compiler | |
Install NPM if not installed, | |
Open VSCode and open the current working folder | |
-- > Install Bootstrap 4.3.1 with npm: | |
#npm install [email protected] | |
The following will be install - "bootstrap-sass" - folder into node_modules folder unser your laravel root directory |