This file contains 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
<!-- delete branch from github and locally --> | |
git push origin --delete <branch-name> | |
git branch -d <branch-name> | |
<!-- add remote to current branch --> | |
git branch --set-upstream-to <remote-name> | |
<!-- Undo last commit --> | |
git reset HEAD~ |
This file contains 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
// ref: https://blog.pcrisk.com/mac/12377-how-to-find-out-your-ip-address-on-mac | |
ipconfig getifaddr en0 |
This file contains 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
find . -name '*.coffee' \ | |
-exec rm {} \; | |
// builk rename | |
// remove echo | |
for file in **/*.es6 | |
do | |
echo mv "$file" "${file/.es6/}.js" | |
done |
This file contains 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
[ | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.terminal.focus" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, |
This file contains 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
/* | |
Vatsal Joshi | |
https://vatz88.in | |
*/ | |
#include <iostream> | |
#include <math.h> | |
#include <string.h> | |
using namespace std; |
This file contains 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
atom-sync-settings |
This file contains 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
#include<iostream> | |
#include<conio.h> | |
#include<string> | |
#include<string.h> | |
#include<fstream> | |
#include<cstdlib> | |
using namespace std; | |
class passkey |