Skip to content

Instantly share code, notes, and snippets.

{
//
// Editor
//
"editor.fontFamily": "'FiraCode Nerd Font', monospace",
"editor.fontSize": 14,
"editor.smoothScrolling": true,
"editor.cursorSmoothCaretAnimation": "on",
"editor.minimap.enabled": false,
"editor.formatOnSave": true,
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": "ctrl+shift+c"
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+f",
"command": "cursorRight",
"when": "terminalFocus"
},
{
"key": "ctrl+e",
"command": "workbench.action.quickOpen",
@codequokka
codequokka / json
Created January 31, 2024 06:37
vscode-settings.json
{
// Editor
"editor.fontFamily": "'FiraCode Nerd Font', monospace",
"extensions.experimental.affinity": {
"asvetliakov.vscode-neovim": 1
},
// Remote
"remote.SSH.remotePlatform": {
"dotfiles-rocky8-01": "linux"
},
@codequokka
codequokka / Vagrantfile
Created January 7, 2024 00:08
Vagrantfile for cndt2023 handson
vm_spec = {
name: "cndt2023-handson",
box: "generic/ubuntu2204",
cpu: 4,
mem: 16384,
private_ip: "192.168.3.101",
}
Vagrant.configure("2") do |config|
config.ssh.insert_key = false
@codequokka
codequokka / devcontainer.json
Created January 5, 2024 21:47
devcontainer for golang
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:1-1.21-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
@codequokka
codequokka / Vagrantfile
Last active January 13, 2024 21:16
Vagrantfile for dotfiles development
vm_spec = {
name: "dotfiles-rocky8-01",
box: "generic/rocky8",
cpu: 4,
mem: 8192,
private_ip: "192.168.3.11",
}
Vagrant.configure("2") do |config|
config.ssh.insert_key = false
ssh-keygen -t ed25519 -C "private"
@codequokka
codequokka / Vagrantfile
Created December 16, 2023 01:34
Vagrant file for deploying the rancher k8s cluster
vm_spec = [
{
name: "rancher-step-01",
cpu: 4,
memory: 8192,
private_ip: "192.168.3.11",
storage: "100GB"
},
{
name: "rancher-server-01",
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:1-1.21-bullseye",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],