m.facebook.com##div.displayed.m:not(:nth-of-type(2)):not(:nth-of-type(3))
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 | |
| #install git | |
| sudo apt-get install git | |
| #configure git | |
| $ git config --global user.name "Your Name" | |
| $ git config --global user.email [email protected] | |
| #install curl - CLI server transfer protocol |
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 init | |
| $ git add . | |
| # Adds the files in the local repository and stages them for commit. To unstage a file, use 'git reset HEAD YOUR-FILE'. | |
| $ git commit -m "First commit" | |
| # Commits the tracked changes and prepares them to be pushed to a remote repository. To remove this commit and modify the file, use 'git reset --soft HEAD~1' and commit and add the file again. | |
| $ git remote add origin remote repository URL | |
| # Sets the new remote | |
| $ git remote -v | |
| # Verifies the new remote URL | |
| $ git push 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
| let text = "<h1>Winter is coming</h1>"; | |
| let myRegex = /<.*?>/; // Change this line | |
| let result = text.match(myRegex); | |
| // + is greedy | |
| // ? is lazy |