# grep search the current directory
function lg() {
ls -alt | grep $1
}
# grep search the current directory
function lg() {
ls -alt | grep $1
}
Can anyone explain what this means to me like I’m 5?
I’ve found that one of the best things to do when making a library for something that is going to have a web interface is to first have it work in the terminal. You can much more quickly play around with the design and fix issues there instead of having to work with a more complex web interface.
You just create a simple menu system, like input("1: Feature A\n2: Feature B\n>")
and just start trying out all of the different scenarios and workflows.
I hate that it came to this, after so many Rust devs left, but all I can say is “Good.”
Oh, yeah, vim motions are wonderful. I started using them when I installed Linux on my Chromebook due to the lack of a good keyboard setup (I still don’t know where the Delete key is on that thing).
vim (or better yet vim bindings) is great. I’ll never go back.
Neovim. I tried to use it a year ago, but I felt like I was fighting it every time I just wanted to make progress on my project. VSCode doesn’t get in my way. I’m going to give it another shot in a few years.
# Copy pwd into clipboard using pbcopy alias cpwd="pwd | tr -d '\n' | pbcopy && echo 'pwd copied into clipboard'"