git reset [--hard | --soft ] HEAD // will reset depending of flag index or staging or both
-
change iterm2 status bar to show git [https://www.iterm2.com/documentation-status-bar.html]
-
use magnet to position mac windows
-
adding the following will allow to Add comment in Slack to issue, create issue in Jira or add comment to pull requests among others
-
Bitbucket Cloud for Slack (Official)
-
Jira Cloud for Slack (Official)
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
{ | |
"trailingComma": "none", | |
"tabWidth": 4, | |
"semi": true, | |
"singleQuote": true, | |
"semicolons": true, | |
"printWidth": 150 | |
} |
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
-- code --list-extensions | % { "code --install-extension $_" } | |
-- output will be like | |
code --install-extension amazonwebservices.aws-toolkit-vscode | |
code --install-extension Angular.ng-template | |
code --install-extension Anjali.clipboard-history | |
code --install-extension anseki.vscode-color | |
code --install-extension burkeholland.simple-react-snippets | |
code --install-extension christian-kohler.npm-intellisense | |
code --install-extension cmstead.jsrefactor |
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
amazonwebservices.aws-toolkit-vscode | |
Angular.ng-template | |
Anjali.clipboard-history | |
anseki.vscode-color | |
burkeholland.simple-react-snippets | |
christian-kohler.npm-intellisense | |
cobeia.airbnb-react-snippets | |
cyrilletuzi.angular-schematics | |
DavidAnson.vscode-markdownlint | |
dbaeumer.vscode-eslint |
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
Cypress.Commands.add('iframe', { prevSubject: 'element' }, $iframe => { | |
return new Cypress.Promise(resolve => { | |
$iframe.on('load', () => { | |
resolve($iframe.contents().find('body')); | |
}); | |
}); | |
}); | |
// for <iframe id="foo" src="bar.html"></iframe> | |
cy.get('#foo').iframe().find('.bar').should('contain', 'Success!'); |
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
export default class AboutPage { | |
constructor() { | |
this.elements = { | |
navigation: () => cy.getSilent('a[href$=about]'), | |
paragraph: index => cy.getSilent('section.m-3 div p').eq(index), | |
}; | |
} | |
goTo() { | |
cy.visit('/'); |
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
npm config ls -l && npm install --progress=false --prefer-offline --no-audit |
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
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
npm v3.10 - ◾
If you are learning npm then i would suggest to go for yarn, dont waste your time in learning npm
npm install -g npm
# Downgrade to a specific version