This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//OKAY | |
https://www.freeonlinetest.in/exam-start/programming-skill/laravel-question-online-test/1 | |
//OKAY | |
https://www.onlineinterviewquestions.com/laravel-mcq-multiple-choice-questions/ | |
//NICE | |
https://phpesperto.com/quiz/laravel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Model File Code Example */ | |
<?php | |
#Array | |
post::get()->toArray(); | |
#Object | |
post::all(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Git push error: Unable to unlink old (Permission denied) */ | |
/* aap ne w ki permission de di project m is lye error aaya ye 90% ye ho ho skta h */ | |
/* git push nhi ho rha tha */ | |
/* Git push not working */ | |
/* Solution from here : https://stackoverflow.com/questions/11774397/git-push-error-unable-to-unlink-old-permission-denied/26950991 */ | |
Solution is : run bellow command in your project folder | |
sudo chmod -R ug+w .; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Website copper mirror download without httrack in linux */ | |
wget -r http://winapp.com | |
/* External link with download */ | |
wget -p -k http://somewebsite.com | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Bootstrap snipit code website list, Bootstrap code bootstrap website list */ | |
1. https://www.bootdey.com | |
2. https://bootstrapcreative.com/pattern/ | |
3. https://freefrontend.com/ | |
4. https://www.bestjquery.com/ | |
5. https://bbbootstrap.com/snippets | |
6. https://propeller.in/frameworks/open-source very very best (sayd paid) | |
7. https://previews.customer.envatousercontent.com/files/279228227/index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Remove Slash from input box, slash remove from input box, shash , replace string in jquery replace slash in input box jquery javascript --> | |
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> | |
<input type="text" id='slug'> | |
<script> | |
$(document).mousemove(function(){ | |
var slug = $('#slug').val(); | |
var pureslug = slug.replace(/\//g, ''); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Online Image editor --> | |
https://pixlr.com/x/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The files/folder in your version control will not just delete themselves just because you added them to the .gitignore. They are already in the repository and you have to remove them. You can just do that with this: | |
(Remember to commit everything you've changed before you do this.) | |
This removes all files from the repository and adds them back (this time respecting the rules in your .gitignore). | |
git rm -rf --cached . | |
git add . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- git, Git clone, repository, git commit, git init, git add, git config, git basic commands, git status, git status show, git status get, git config show, show commit, git show commit, git clone repo, --> | |
git init | |
git status | |
git add -A or git add . | |
git commit -m "first commit" | |
git config --global user.name "sachin" | |
git config --global user.email "phpfact@gmail.com" | |
git remote add origin https://phpfact@bitbucket.org/phpfact/socialite.git | |
git push -u origin master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- git merge, git marge, marge git, merge git branch, branch git marge, master merge --> | |
/* List branch */ | |
git branch | |
/* create branch */ | |
git branch sachin | |