3 ms·
The implementation of this - a single, huge bash script - is actually a pretty neat thing to browse through if you want to improve your knowledge of bash. I pa
by simonw 5y ago
The implementation of this - a single, huge bash script - is actually a pretty neat thing to browse through if you want to improve your knowledge of bash.
I particularly enjoyed this function that returns the ASCII-art logo for the current platform: https://github.com/dylanaraps/neofetch/blob/017aa041d86340f2b4f82c765ba84aaa096136ec/neofetch#L5514 https://github.com/dylanaraps/neofetch/blob/017aa041d86340f2...
- woodruffw 5y ago> I particularly enjoyed this function that returns the ASCII-art logo for the current platform I wonder how much of it is copied from screenfetch[1], which (I believe) is the "grandfather" for a lot of these kinds of information viewers. I wrote my own version of screenfetch[2] a very long time ago, and I'm pretty sure I just ripped their ASCII-art directly :-) [1]: https://github.com/KittyKatt/screenFetch/blob/c3a47890441166888030c1164e13447558105771/screenfetch-dev#L3062 https://github.com/KittyKatt/screenFetch/blob/c3a47890441166... [2]: https://github.com/woodruffw/screenfetch-c https://github.com/woodruffw/screenfetch-c
- forgotpwd16 5y agoRelevant, Dylan had written a piece[0] on why he created Neofetch rather attempting to improve Screenfetch. It seems he later blanked the page, I guess due to being a bit heated. [0]: https://github.com/dylanaraps/neofetch/wiki/Neofetch-vs.-Screenfetch/6091040f89b2282e40151a71e603ce3628b34637 https://github.com/dylanaraps/neofetch/wiki/Neofetch-vs.-Scr...
- gexla 5y agoGitHub Copilot strikes again.
- linspace 5y agoAnd it's actually developed as a single file. I do wonder if they have considered a solution like the sqlite amalgamation https://www.sqlite.org/amalgamation.html https://www.sqlite.org/amalgamation.html