Make RSpec shared examples easier to understand with this one trick!
Public

This guy makes his shared examples easier to understand. Overpaid consultants hate him!

When to use let, let! and before in RSpec
Public

When to use let, let! and before in RSpec.

Debugging Turbolinks 5
Public

```javascript document.addEventListener('turbolinks:click', () => console.log('turbolinks:click')) document.addEventListener('turbolinks:before-visit', () ...

Run RSpec without feature specs
Public

`rspec spec --tag ~@type:feature`

Autocomplete SSH hosts in Bash
Public

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

Local HTTP server using ruby
Public

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

Flush dns in macOS
Public

``` sudo killall -HUP mDNSResponder ```

De Morgan's laws in Ruby
Public

The negation of a disjunction is the conjunction of the negations and The negation of a conjunction is the disjunction of the negations.

How to simplify nested ifs
Public

If you have `if`s nested in this way: ``` if a if b 1 else 2 end else 3 end ``` You can flatten and simplify them into this: ...

Labelary - an online ZPL editor
Public

Labelary is an online ZPL (Zebra Programming Language) editor and viewer

http://labelary.com/viewer.html

Rubular - a Ruby regular expressions editor
Public

Rubular is an online tool to check regular expressions written in Ruby.

http://rubular.com/