Skip to content

Instantly share code, notes, and snippets.

View duffney's full-sized avatar
⌨️
Coding

Josh Duffney duffney

⌨️
Coding
View GitHub Profile
@duffney
duffney / main.go
Created April 25, 2022 21:05
Azure Blob Cli using the flags package
package main
import (
"context"
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
@duffney
duffney / subcommands.go
Created April 25, 2022 21:07
Using the flags package in Go to create sub-commands
package subcommands
import (
"flag"
"fmt"
"os"
)
func main() {
uploadCmd := flag.NewFlagSet("upload", flag.ExitOnError)

zsh, oh-my-zsh, exa

sudo apt install zsh -y
chsh -s $(which zsh)

sudo apt install wget git
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

sudo apt install exa
@duffney
duffney / readingList.md
Last active December 3, 2023 22:54
Duffney's Reading List
@duffney
duffney / term-cheatsheet.md
Last active November 4, 2023 13:05
keyboard shortcuts for the terminal

tmux

Desc. keys
split panel vertical Ctrl+b %
split horizontal Ctrl+b "
navigate panes Ctrl+b arrow keys