nyhackr-cli-dev-env
nyhackr-cli-dev-env copied to clipboard
Reference notes for the Creating a Command Line Driven Development Environment talk.
References
Reference notes for the Creating a Command Line Driven Development Environment talk.
Here's a direct link to download the slides.
This talk was given twice for 2 different meetups, here's the videos:
- The nyhackr video is available on YouTube (recorded on Sep. 29th 2020)
- The Data Umbrella video is available on YouTube (recorded on Jan. 12th 2021)
Thanks again for having me!
Table of Contents
- Nick's Sites
- Parsing Data on the Command Line
- Terminal
- Open Source Projects
- Tmux and Vim
- Dotfiles
Nick's Sites
Blog / Podcast
Twitter / YouTube
Courses
Parsing Data on the Command Line
The CSV file and command examples are in this directory.
Terminal
Emulators
Feel free to pick a different emulator if you don't like any of the ones below.
- https://github.com/microsoft/terminal (Windows)
- https://invisible-island.net/xterm/ (Linux)
- https://github.com/gnachman/iTerm2 (macOS)
- https://github.com/alacritty/alacritty (Cross platform)
Shells
I prefer using Bash but here's a few alternative options to explore.
Prompt / Colors
I'm all for a minimal prompt that focuses on the commands being run and their output.
- https://starship.rs/ (batteries included prompt if you prefer this instead)
- https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html
- https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
Open Source Projects
Here's a few open source tools I created. Feel free to use them as references.
Shell Scripts
- https://github.com/nickjj/latest-releases
- https://github.com/nickjj/wait-until
- https://github.com/nickjj/invoice
- https://github.com/nickjj/notes
Python Scripts
- https://github.com/nickjj/webserver
- https://github.com/nickjj/title-case-converter
- https://github.com/nickjj/verdiff
Tmux and Vim
Dotfiles
The README file in my dotfiles repo contains installation instructions for all of the tools that I use on the command line. It's catered towards native Linux (Debian / Ubuntu) and WSL but there's macOS instructions too.
This link leads to the master branch of my dotfiles:
Here's a list of specific config files as they were at the time of this talk:
Notable Tools
In case something crazy happens with my dotfiles repo in the future, here's a list of command line tools mentioned and demonstrated in the talk:
- https://github.com/tmux/tmux
- https://github.com/vim/vim
- https://github.com/junegunn/fzf
- https://github.com/BurntSushi/ripgrep
Getting set up with WSL 2
This video goes over my entire WSL 2 set up and also includes non-command line tools that I use on Windows. It's basically a 30 minute drive-by of everything I use and how I have everything configured.
- https://nickjanetakis.com/blog/a-linux-dev-environment-on-windows-with-wsl-2-docker-desktop-and-more
Also, here's a a complete list of all of the tools I use on Windows in text form.
Dotfiles Management
If you don't want to use symlinks, there are dedicated tools such as https://yadm.io/ and many others.
Also, check out the XDG Base Directory Specification to learn more about where user specific files should go.