- Color Highlight
- EditorConfig
- ESLint
- Gitlens
- Copilot
- Python
- PowerShell
- Prettier
- Sourcery
- XML
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
#!/usr/bin/env sh | |
cd /tmp | |
echo https://github.com/neovim/neovim/releases/download/stable/nvim.appimage | |
curl -OL https://github.com/neovim/neovim/releases/download/stable/nvim.appimage | |
chmod u+x nvim.appimage | |
./nvim.appimage --appimage-extract | |
mkdir -p ~/bin/nvim | |
mv /tmp/squashfs-root ~/bin/nvim | |
rm nvim.appimage |
- Black (microsoft)
- Color Highlight
- EditorConfig
- ESLint
- Gitlens
- Python
- Prettier
- PowerShell
- Sourcery
- AWS Toolkit
- EditorConfig
- JsPrettier
- LSP
- LSP-pylsp
- LSP-typescript
- LSP-eslint
- Pretty JSON
- Pretty YAML
- Sidebar Enhancements
- Tabnine
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
;; Maximize GUI on launch | |
(add-hook 'window-setup-hook 'toggle-frame-maximized t) | |
(setq package-enable-at-startup nil) | |
(defun clear-welcome-buffer () | |
"Blank welcome buffer." | |
(with-current-buffer (get-buffer-create "*Welcome*") | |
(setq truncate-lines t) |
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
-- Use :imap :nmap :vmap to view the current keybindings | |
-- clear search selection | |
vim.keymap.set('n', '<C-/>', ':let @/ = ""<CR>', {noremap = true, silent = true}) | |
-- Map <Leader> to backslash | |
vim.g.mapleader = "\\" | |
-- shortcuts to copy/paste to/from clipboard | |
vim.keymap.set('n', '<leader>y', '"+y', {noremap = true, silent = true}) |
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
LAMBDA_REPO=$(mktemp) && \ | |
wget -O${LAMBDA_REPO} https://lambdalabs.com/static/misc/lambda-stack-repo.deb && \ | |
sudo dpkg -i ${LAMBDA_REPO} && rm -f ${LAMBDA_REPO} && \ | |
sudo apt-get update && sudo apt-get install -y lambda-stack-cuda &&\ | |
sudo apt-get install docker.io nvidia-container-toolkit |
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
#!/usr/bin/env sh | |
## https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c | |
get_latest_release() { | |
curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
grep '"tag_name":' | # Get tag line | |
sed -E 's/.*"([^"]+)".*/\1/' | # Pluck JSON value | |
tr -d 'v' # Remove v | |
} |
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
#!/usr/bin/env bash | |
cd /tmp | |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | |
curl -o awscliv2.sig https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip.sig | |
gpg --verify awscliv2.sig awscliv2.zip | |
if [ $? -eq 0 ]; then | |
unzip awscliv2.zip | |
./aws/install --update -i $HOME/aws -b $HOME/bin |
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
# | |
# This script configures SQL Server on Windows to listen for connections | |
# from the network adapter connected to WSL2 | |
# | |
# Assumptions: | |
# 1) There is only a single SQL Server instance | |
# 2) SQL Server should only listen for local and WSL2 connections | |
# 3) The network adapter connected to WSL2 has the phrase "(WSL)" in the name | |
# | |
# Requirement: |
NewerOlder