- Common Loki Misconfigurations
- Iterating Through a List in Ink
- Debugging Misconfigured Container Networks
- Minimum Viable EC2 in Terraform
- Storylets in Ink
- Interactive Fiction Tooling Overview
- In-Place Resizing for Digitalocean Droplets
- Unity Demonstrates the Importance of FOSS
- Target Labels in Prometheus
- My View of AI is the Same
- Verify DNS Ownership with TXT Records
- Sane Droplet Defaults
- Editing Made Easy with Vim
- Gatsby Gotchas
- Concatinating Default AWS Tags in Terraform
- Easily Updating the Default Github Branch
- Lifetimes in Rust
- Checking for Bad Links
- Maybe TypeScript and React is Bad
- Static Asset Management in React
- Bundler Down Time
- Using React Context for Localization
- JS Implementation of a Sticky Footer
- Custom Aliases
- Trying Out the 7drl Challenge
- Trash Opinions
- Building Your First Program in Rust
- Fixing mongod reports errors related to opening a socket
- Improving Open Source Maintenance
- Technical Interviewing Tips
- Housekeeping Note
- Dynamic Programming Basics
- The Oddity of Naming Conventions in Programming Languages
- An Experiment Using Machine Learning, Part 3
- Debugging with grep
- An Experiment Using Machine Learning, Part 2
- An Experiment Using Machine Learning, Part 1
- The Value of while
- National Day of Civic Hacking
- OpenAI and the Future of Humanity
- Creating a Whiteboard App in Django
- Creating Meaningful, Organized Information
- Towards A Critique of Social Media Feeds
- Setting up Routes in Django
- Developing a Messaging Component for Code for SF
- Dream Stream 2.0
- Keyed Collections in Javascript: Maps and Sets
- Blog Soft Relaunch
- Scraping with Puppeteer
- Looking Ahead to Dream Stream 2.0
- Solving West of Loathing's Soupstock Lode Puzzle
- Installing Ubuntu
- Interview with David Jickling Evaluation
- Compare Text Evaluation
- Dream Stream Evaluation
Custom Aliases
There are a lot of blog posts out there about writing aliases as shortcuts for various git commands. That’s great, and totally something you should do. But I wanted to also list some other aliases I’ve found useful.
alias py='python3.6'
If you do a lot of work in Python, the odds are great that you have a bunch of versions of Python on your machine. Having to specify the version you’re using is a pain, so an alias is a great way to handle that. Relatedly,
alias activate='source env/bin/activate'
I am terrible at remembering any directory path I didn’t create myself, so this is another essential alias for me to simplify entering into a virtualenv. In general, I create a lot of aliases for reading files or going to paths in directories I didn’t create. Lets say something doesn’t seem to be working in Ubuntu, I’ll probably want to check the log on that:
alias log='vim /var/log/kern.log'
Because there is no way I am going to remember that something is in the var/
directory, much less the rest of the path. Speaking of Vim, since I often work with a lot of tabs open I can end up with a lot of unneeded swap files located in some obscure directory where they spend their days sending me annoying prompts when I try to open up a file I’m working on. I take great pleasure in using this alias:
alias killswap='rm -rf $HOME/.local/share/nvim/swap/'
As for anytime I need to write more aliases, that means I need to access my .bashrc
file, so of course I have an alias for that too:
alias config='vim $HOME/.bashrc'