Matt Feenstra is an Architect and Developer, living and working in Palm Desert, CA
Tuesday, February 26, 2019
Best vim Color Mod
Put these files in your (unix) home directory:
~/.vim/autoload/palenight.vim
https://github.com/drewtempelmeyer/palenight.vim/blob/master/autoload/palenight.vim
~/.vim/colors/palenight.vim
https://github.com/drewtempelmeyer/palenight.vim/blob/master/colors/palenight.vim
Autoload? Add line this to your ~/.vimrc
colorscheme palenight
Super Easy Ruby ERB template
#!/opt/chef-workstation/embedded/bin/ruby -w
require 'erb'
#template = File.read('./mytemplate.txt.erb')
template = 'i want to put stuff ===> <%= "here" %> <==='
obj_out = ERB.new(template)
STDOUT.puts obj_out.result
Subscribe to:
Posts (Atom)