Matt Feenstra is an Architect and Developer, living and working in Palm Desert, CA
Sunday, April 28, 2019
Friday, April 12, 2019
An even better PS1
\[\033[38;5;201m\]\u\[\033[38;5;51m\]@\[\033[38;5;183m\]\h\[\033[1;34m\]:\[\033[1;32m\]\w\[\033[1;31m\]\$\[\033[00m\]
Ruby: Best way to boolean grep for a string contained in a file
File.readlines('./mystuff.txt').grep(/Word123/).any?
Subscribe to:
Posts (Atom)