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
let mapleader="\<space>" | |
set clipboard=unnamed | |
nnoremap <leader>j :vsc Window.PreviousTab<CR> | |
nnoremap <leader>k :vsc Window.NextTab<CR> | |
nnoremap <leader>r :vsc Resharper.Resharper_GotoRecentFiles<CR> | |
nnoremap <leader>e :vsc Resharper.Resharper_GotoType<CR> | |
nnoremap <leader>f :vsc Resharper.Resharper_GotoFile<CR> | |
nnoremap <leader>d :vsc File.Close<CR> |
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
Get-Process -Id (Get-NetTCPConnection -LocalPort 5050).OwningProcess |
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
let mapleader=" " | |
nnoremap <Leader>ve :e c:\users\mohit.thakral\.ideavimrc<CR> | |
nnoremap <Leader>vl :source c:\users\mohit.thakral\.ideavimrc<CR> | |
set clipboard=unnamedplus,unnamed | |
set nu | |
set rnu | |
set is | |
" | |
nmap <Leader>f :action GotoFile<CR> | |
nmap <Leader>s :action FileStructurePopup<CR> |
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
displayplacer "id:0E0042C0-B227-4AD6-015B-5AF8116D137F res:1920x1080 hz:60 color_depth:4 scaling:off origin:(0,0) degree:0" "id:17E22855-A931-833E-8314-5CE8FFA63380 res:1920x1080 hz:60 color_depth:4 scaling:off origin:(0,-1080) degree:0" "id:D9534633-F47D-42FF-FA84-857343474BE8 res:1920x1080 hz:60 color_depth:4 scaling:off origin:(-1920,0) degree:0" "id:2131DD01-FB84-952C-5F7B-02BEEF31621F res:1920x1080 hz:60 color_depth:4 scaling:off origin:(-1920,-1080) degree:0" |
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
Set-Location “C:\Windows\Temp” | |
Remove-Item * -recurse -force | |
Set-Location “C:\Windows\Prefetch” | |
Remove-Item * -recurse -force | |
Set-Location “C:\Documents and Settings” | |
Remove-Item “.\*\Local Settings\temp\*” -recurse -force | |
Set-Location “C:\Users” |
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
let mapleader=" " | |
nnoremap <Leader>ve :e ~/.ideavimrc<CR> | |
nnoremap <Leader>vl :source ~/.ideavimrc<CR> | |
set clipboard=unnamedplus,unnamed | |
set nu | |
set rnu | |
set is | |
" | |
nmap <Leader>f :action GotoFile<CR> | |
nmap <Leader>s :action FileStructurePopup<CR> |
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
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb | |
$SelectAll <M-A> | |
$Undo <M-Z> |
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
, | |
headers: { | |
"Access-Control-Allow-Origin": "*", | |
"Access-Control-Allow-Methods": | |
"GET, POST, PUT, DELETE, PATCH, OPTIONS", | |
"Access-Control-Allow-Headers": | |
"X-Requested-With, content-type, Authorization" | |
} |
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
export SENDGRID_API_KEY='YOUR_API_KEY' | |
curl --request POST \ | |
--url https://api.sendgrid.com/v3/mail/send \ | |
--header "Authorization: Bearer $SENDGRID_API_KEY" \ | |
--header 'Content-Type: application/json' \ | |
--data '{"personalizations": [{"to": [{"email": "[email protected]"}]}],"from": {"email": "[email protected]"},"subject": "Sending with SendGrid is Fun","content": [{"type": "text/plain", "value": "and easy to do anywhere, even with cURL"}]}' |
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
Set-NetConnectionProfile -interfacealias "vEthernet (Default Switch)" -NetworkCategory Private | |
Enable-PSRemoting -Force |