I have been wanting to do this for some time now. You can either do this easy way with Homebrew or take your time to get the code from Github and load it manually. Install the following cask using Homebrew brew cask install qlstephen or brew cask install quicklook-json (view json highlighted with colors) or […]Read more "Mac – Use Finder Quicklook to view JSON files"
This bugged me for some time before I finally looked for the solution. Turns out it was pretty simple. Before pasting the text, do the following set :paste Once you have pasted your text set :nopaste I know this can get inconvenient if you do a lot of copy pasting (which probably you shouldn’t). This […]Read more "Disable auto indent feature when pasting text in vim"
Today I found a really helpful and intuitive resource that you can use to understand crontab syntax. This site clearly tells you when a particular command set in cron will be executed. https://crontab.guru/ Really handy! Isn’t it! Caio!Read more "Crontab – Understand cron syntax with this Interactive resource"
# Install go/golang with homebrew brew install go –cross-compile-common # Set following env variables in ~/.bashrc or ~/.zshrc export GOPATH=$HOME/golang export GOROOT=/usr/local/opt/go/libexec export GOBIN=$GOPATH/bin export PATH=$PATH:$GOPATH export PATH=$PATH:$GOROOT/binRead more "Mac OS – Install Golang with Homebrew"
It is not very often but I do try out PHP and static html sites on my mac. But every time I try running apache server with applications under Sites folder, one or more issues pop up. So I thought I would write down the steps to get it working as it might help me or […]Read more "Set up Apache, PHP and Sites folder on Mac"
Recently I created a Rails 4 application and deployed it to an Ubuntu system using Capistrano. As I had to make few tweaks and try couple of options, I thought I should document the process here so I could refer to it later when needed. This post is for providing pointers on deploying Rails 4 […]Read more "Deploying Rails 4 app with Passenger and Apache using Capistrano, Rbenv"
To help keep your Mac OSX desktop tidy, you may want to move your screenshots to a custom folder. Create a folder called Screenshots (or any name you like) in your desired location. For this article I am going to create Screenshots folder on the Desktop. Fire up a Terminal window and enter the following […]Read more "MacOSX – Change Default Save Location of Screenshots"