Show HN: Useful scripts and environment setup for coding in VPS
1–10 of 31 posts
Re: Show HN: Useful scripts and environment setup for coding in VPS
#2khm
sudo sysctl vm.drop_caches=3Re: Show HN: Useful scripts and environment setup for coding in VPS
#3> echo "echo 3 > /proc/sys/vm/drop_caches" | sudo sh khm sudo sysctl vm.drop_caches=3
Re: Show HN: Useful scripts and environment setup for coding in VPS
#4:eyeroll:
What a horrible attitude. The point of coloring is precisely to help users focus on the output that matters, rather than forcing them to parse and reparse a chunk of stuff they don't care about. If the prompt is colored, my brain can filter it out much faster than if it isn't.
By all means disable color by default for backward-compatibility purposes or to err on the safe side, but don't lecture people with rubbish arguments...
Re: Show HN: Useful scripts and environment setup for coding in VPS
#5Then again, these scripts are clearly tailored for OP, since they contain their name and email, so it's... not like these would be usable as-is for anyone else.
(Also, why is this published on Npm?)
Re: Show HN: Useful scripts and environment setup for coding in VPS
#6> # uncomment for a colored prompt, if the terminal has the capability; turned off by default to not distract the user: the focus in a terminal window should be on the output of commands, not on the prompt :eyeroll: What a horrible attitude. The point of coloring is precisely to help users focus on the output that matters , rather than forcing them to parse and reparse a chunk of stuff they don't care about. If the p…
Big world out there. You can have people who like colors and those who don't. Neither have to be pretending they're all that and hate the other. :) Friends?
Please submit a PR with a better comment if you like. I honestly didn't think of that until now, but I think comments are important. Thanks for pointing out really. :)
Re: Show HN: Useful scripts and environment setup for coding in VPS
#7> # uncomment for a colored prompt, if the terminal has the capability; turned off by default to not distract the user: the focus in a terminal window should be on the output of commands, not on the prompt :eyeroll: What a horrible attitude. The point of coloring is precisely to help users focus on the output that matters , rather than forcing them to parse and reparse a chunk of stuff they don't care about. If the p…
I appreciate being able to turn off very colorful output if possible, as it does tend to distract me sometimes. The color schemes I pick/design for myself tend to be muted, while a lot of the tools out there in the world are way too colorful for me (and full of distracting emojis).
Re: Show HN: Useful scripts and environment setup for coding in VPS
#8The install scripts lack `set -e` (or `set -xeuo pipefail`, which is what I've memorized), so if a command fails, the scripts just keep on steamrolling forward. Then again, these scripts are clearly tailored for OP, since they contain their name and email, so it's... not like these would be usable as-is for anyone else. (Also, why is this published on Npm?)
It's surprising how many people have used these, so they are for others... Improving them makes sense. If your wanna submit some changes and ideas please do :)
I would really appreciate it, and whoever gets them from npm might too.
I think I pushed to npm because I mostly do node and I guess I figured it's an easy backup and way to distribute.:)
Re: Show HN: Useful scripts and environment setup for coding in VPS
#9Re: Show HN: Useful scripts and environment setup for coding in VPS
#10OP might want to look up NixOS, which would make this many times easier. Or consider setting up a pre-configured image.