03 Apr 2022

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
git init
git add .
git commit -am "Lorem ipsum"
Ut vulputate tortor velit, at scelerisque risus ullamcorper et. Curabitur vel diam elementum, commodo mauris at, molestie elit. Donec commodo, turpis vitae malesuada rhoncus, tortor erat facilisis nunc, sit amet dignissim massa mauris quis eros. Quisque dignissim eros at libero tincidunt, sit amet tristique erat sollicitudin. Nam vitae nibh varius ipsum pellentesque blandit sit amet quis sapien. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nunc finibus at dolor a lacinia. Duis viverra lectus ut mauris rutrum fringilla.
02 Apr 2022
WARNING! Never execute these commands if you don’t want to nuke all the data in the database being served by Heroku!
To purge the content of a Postgresql database in Heroku
heroku pg:reset DATABASE_URL --confirm vs-acme-app
heroku run rake db:migrate
heroku run rake db:seed
29 Mar 2022
When you are working with a project that uses git, and for some reason you need to temporary modify one of the files being managed by git, and you don’t want to bother adding it to the .gitignore config file, one trick that I found was to use the following command
git update-index --assume-unchanged [path/to/file]
here’s an example of how to actually use it
vulcansmithy@auth-service ~ %> git update-index --assume-unchanged app/controller/susers_controller.rb
And once you’re good and wanted to revert back to the previous behavior, just use the command below to have git monitor again any changes for the file you specified
git update-index --no-assume-unchanged [path/tofile]
Here’s an actual example of how the above command could be used
vulcansmithy@auth-service ~ %> git update-index --no-assume-unchanged app/controller/susers_controller.rb
28 Mar 2022
This will be the inaugural first post for my Developer’s Journal blog. Mostly, the purpose of this blog is to have a central location where I can document some coding tips and tricks that I pickup along the way.