Skip to content

Instantly share code, notes, and snippets.

View kbilsted's full-sized avatar
💭
AFK most of the time...

Kasper B. Graversen kbilsted

💭
AFK most of the time...
View GitHub Profile
@kbilsted
kbilsted / PullOrCloneAll
Last active June 11, 2022 14:51
Clone or pull all repo's of a user - only repos with no changes and on "master" branch are updated
# remember to change the $gitHubApiKey
# remember to change the $uri username
$git="C:\Program Files\Git\bin\git.exe"
$gitHubApiKey = convertto-securestring "ghp_sdafsdfsdaf..." -asplaintext -force
function PullOrCloneAll($path="c:\src")
{
cd $path
@kbilsted
kbilsted / .vsvimrc
Created December 27, 2024 14:00 — forked from h2m730131/.vsvimrc
Visual Studio 2022 + VsVim + ReSharper + PeasyMotion + im-select
" [ReSharper Documentation](https://www.jetbrains.com/help/resharper/)
" 避免 key mapping 覆蓋 `"` 與 `/` 暫存器, 分別採用 `z` 與 `s` 暫存器替代
" Not support InsertLeave autocmd 自動切換回英文輸入法
"autocmd InsertLeave * !%USERPROFILE%\\.vscode\\extensions\\im-select.exe 1033
inoremap <Esc> <Esc>:!%USERPROFILE%\\.vscode\\extensions\\im-select.exe 1033<CR>