# Copy pwd into clipboard using pbcopy
alias cpwd="pwd | tr -d '\n' | pbcopy && echo 'pwd copied into clipboard'"
- 0 Posts
- 17 Comments
# grep search the current directory function lg() { ls -alt | grep $1 }
livingcoder@programming.devto Linux@lemmy.ml•Ubuntu 25.10 drops support for GNOME on Xorg6·3 months agoCan anyone explain what this means to me like I’m 5?
When I learned Python I thought that not having a statically typed language was the way to go, but then it just became an issue when I was trying to ensure that everything was at least something like what I was expecting. Going back to statically typed languages even harder with Rust has been a dream. I love it.
livingcoder@programming.devto Linux@lemmy.ml•Christoph Hellwig steps down from maintaining DMA202·7 months agoI hate that it came to this, after so many Rust devs left, but all I can say is “Good.”
I save “template” SQL queries in a special directory so that I don’t have to google how to do specific things. It’s basically my own personal “examples” folder.
Who is writing SQL in the terminal?
livingcoder@programming.devto Programmer Humor@lemmy.ml•Popular Programming Book "Clean Code" is being rewritten16·1 year agoThe bit of Clean Code that I read was unimpressive, but Clean Architecture was amazing. I view that book as required reading for anyone who wants to write code professionally. If Uncle Bob hasn’t realized that his coding style is worse than alternatives, I do not see how a second version of the same bad ideas is going to do well.
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.
livingcoder@programming.devto Programmer Humor@lemmy.ml•Microsoft to Copyright Pi, Found to Contain Entire Arial Font1·1 year agoWhat if instead we utilized an algorithm, some code, that would ultimately generate the file? I could imagine a program that generates a number which ultimately is more dense than the program. For example, if we just-so-happened to need a million digits of Pi the program would be shorter than the number. Is there a way to tailor an algorithm to collapse down to any number? As an example, what if we needed a million digits of Pi but the last 10 digits need to be all 9s?
livingcoder@programming.devto Programmer Humor@lemmy.ml•Microsoft to Copyright Pi, Found to Contain Entire Arial Font4·1 year agoDo you happen to know of any good algorithms or numbers? Pi gets harder to calculate with each digit, so it’s not a great candidate.
livingcoder@programming.devto Programmer Humor@lemmy.ml•After a particularly annoying update today2·1 year ago“Cleaning up…”
livingcoder@programming.devto Programmer Humor@lemmy.ml•Microsoft to Copyright Pi, Found to Contain Entire Arial Font17·1 year agoIs there an algorithm or number such that we could basically pirate data from it by saying “start digit 9,031,643,679 with length 5,345,109 is an MP4 of Shrek”? Something that we could calculate in a day or less?
livingcoder@programming.devto Programmer Humor@lemmy.ml•If C++ has undefined behavior, Rust has childish behavior1·2 years agoAs someone who learned a lot from C++ and that now loves Rust, this annoys me.
I can’t even install Rust…