Rails 5, Paperclip and CloudFront

Paperclip has excellent documentation, but there is lack of information about running it with CloudFront. I will show you how to configure it + money-saving bonus!

Hide changed files from commit by accident

Sometimes we need to hide some files already added before to a repository from accidental commit to Git. I will show you, how you can do this.