Skip to content

Instantly share code, notes, and snippets.

View cbolyard's full-sized avatar
💭
Thinking

Chris Bolyard cbolyard

💭
Thinking
View GitHub Profile
@cbolyard
cbolyard / duckdb_vscode_setttings.json
Created February 17, 2024 19:42
duckdb_vscode_setttings terminal profiles
"duckdb": {
"path": "${env:ProgramFiles}\\PowerShell\\7\\pwsh.exe",
"overrideName": true,
"name": "duckdb",
"color": "terminal.ansiGreen"
},
"duckdb-temp": {
"path": "${env:ProgramFiles}\\PowerShell\\7\\pwsh.exe",
"args": ["-NoExit", "-Command", "duckdb"],
"overrideName": true,
@cbolyard
cbolyard / duckdb_vscode_keybindings.json
Last active February 17, 2024 19:43
duckdb_vscode_keybindings select + enter to terminal
{
"key": "shift+enter",
"command": "workbench.action.terminal.runSelectedText",
"when": "editorLangId == 'sql' && resourceExtname == '.sql' && resourceFilename =~ /.*duckdb\\.sql$/"
}
@cbolyard
cbolyard / github_bitbucket_multiple_ssh_keys.md
Created February 10, 2020 00:27 — forked from yinzara/github_bitbucket_multiple_ssh_keys.md
Managing SSH keys and repo cloning using multiple accounts on GitHub and BitBucket

Why Multiple SSH keys?

There are numerous reasons you may need to use multiple SSH keys for accessing GitHub and BitBucket

You may use the same computer for work and personal development and need to separate your work.

When acting as a consultant, it is common to have multiple GitHub and/or BitBucket accounts depending on which client you may be working for.

You may have different projects you're working on where you would like to segregate your access.

@cbolyard
cbolyard / fixWindowsImage.ps1
Last active June 9, 2019 22:08
fix windows image
# https://answers.microsoft.com/en-us/windows/forum/all/windows-update-kb4494441-failed-with-error/6a31d0d9-68b9-40e8-b4c2-d6115604e7e6?auth=1
dism /Online /Cleanup-Image /CheckHealth
dism /Online /Cleanup-Image /ScanHealth
dism /Online /Cleanup-Image /RestoreHealth
# OR
DISM /Online /Cleanup-Image /RestoreHealth /Source:E\sources\install.wim /LimitAccess