Implement .node-version file in Bash & NVM

This snippet will allow you to automatically load node version stored in `.node-version` while changing current directory.

jsPDF - JavaScript library for generating PDFs without using backend

Sometimes you wonder if there's a way to generate PDF without dealing with wk*topdf, puppeteer and other massive serverside tools - and there's one - jsPDF - which will generate a PDF for you in a moment, all client-side!

http://raw.githack.com/MrRio/jsPDF/master/

Open Source GUI macOS archiver with support for 7-Zip

This program will help you compress and extract 7-Zips (and other popular archive formats) without using command line.

https://www.keka.io/en/

How to hold Mac from going into sleep?

Every Mac owner knows how painful it is if their SSH session with a very important process just disconnects because of Mac going into sleep. Hopefully, there's a way to tell macOS that you don't want it to sleep - and here, you'll learn how to do it.

Fix bundler error "can't find gem bundler (>= 0.a) with executable bundle"

This error message seems to be related to network or Bundler issue, but it isn't - newer version of Bundler requires new version of RubyGems, which is not updated by default. Here, you'll see how to fix this issue.

Brakeman - An awesome gem that scans your app against vulnerabilities.

To use Brakeman, the only thing is to install the gem: ``` $ gem install brakeman ``` and then run the single command in Rails application's root dir...

https://github.com/presidentbeef/brakeman

Disable `Missing frozen string literal comment.` Rubocop warning

If you use a Rubocop-connected linter in your IDE, one thing that keeps driving you mad is `Missing frozen string literal comment.` warning. In this post, I'll show you how to disable it.

How to show macOS notification from Bash?

Sometimes some task takes a long time and you want to know when it finishes. The system can show you desktop notification with predefined (or added as variable) message.

NazwaPL SSL certificate chain

Here you can find SSL certificates needed to create SSL chain if you use certificate from NazwaPL.

Launching subprocessess in Ruby

This graph shows several ways to launch subprocess in Ruby.

Autocomplete SSH hosts in Bash

``` # ~/.bash_profile _complete_ssh_hosts () { COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" comp_ssh_hosts=`cat ~/.ssh/known_ho...

Local HTTP server using ruby

``` ruby -run -ehttpd . -p8000 ```

Flush dns in macOS

``` sudo killall -HUP mDNSResponder ```