ThisPersonDoesNotExist, A Website That Uses AI To Make Fake Human Faces
Public

https://thispersondoesnotexist.com/ the website has the capabilities of conjuring up an image using the GAN algorithm. The GAN works by splitting the ta...

https://thispersondoesnotexist.com/

How to be up to date with Ruby and Ruby On Rails releases
Public

Ruby releases: https://www.ruby-lang.org/en/downloads/releases/ Ruby On Rails releases: https://rubygems.org/gems/rails/versions

How to set maximum backup size in time machine
Public

To set maximum backup size run this command in shell...

Rails migration decimal precision scale
Public

Rails migration decimal precision scale explained quasi visually ``` 123.45678912345 <- scale -> <- precision -> ```

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

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.

How to remove deleted branch names from git suggestions?
Public

How to remove deleted branch names from git suggestions? It's as simple as that: ``` git fetch --prune --all ``` Or (thanks to @mus) you can add this...

How to install gem without documentation
Public

Hi, You've probably noticed that installation of gem documentation takes more time than installing gem itself. It can be annoying especially when you've alr...

How to use helper methods in mailer templates
Public

How to use helper methods in mailer templates? Instead of this "include YourHelper" use this "add_template_helper YourHelper" in YourMailer

Fix libv8 / therubyracer installing error
Public

Sometimes, something unexpected grabs our attention - libv8 or therubyracer extensions installation error - here's how to get rid of them!

Example tmux script for Rails
Public

Shell script that will start a tmux session with Rails console and server in side panes

Compiling ES6 syntax with Uglifier on
Public

When you try to compile ES6 syntax with Uglifier gem initialized you get this error: ``` Uglifier::Error: (...) To use ES6 syntax, harmony mode must be e...

How to restore deleted git branch
Public

Short and working solution to restore deleted git branch

How to add images (i.e. logo) to email messages while using Pony gem.
Public

Pony gem allows to easily send good looking and customizable emails, but it doesn't provide a way to include image in a way that it will be displayed in gma...

Puppeteer - good library for generating pdf's from html.
Public

Puppeteer is node library providing high level chromium api. One of it's key features is generating pdf from html using chromium web engine. This is great ad...

https://github.com/GoogleChrome/puppeteer

Prettier raw SQL in ruby
Public

Use this syntax to format raw SQL nicely in ruby code. In some editors it also enables SQL syntax highlighting.

Use React.Fragment to avoid creating useless divs
Public

This jsx ```react <React.Fragment> <h1>Hello World</h1> <p>This is paragraph</p> </React.Fragment> ``` Will be compiled into this html ```h...

How to clear sidekiq queue
Public

How to clear sidekiq queue in 4 steps?

How to inspect an element that disappears on click (in chrome)
Public

In chrome developer tools go to "Sources" find "Event Listener Breakpoints" and select "Mouse -> mousedown". Now each time the event is triggered, chrome wil...

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

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

Pundit Decorator
Public

Organize Pundit error messages and redirects in a decorator. Simplify reuse and maintenance

Amazing js library to manipulate rendered table - Tabulator.js
Public

Need filters, remote paginations, search field in table, selecting row and much more ... You will find everything in this library

http://tabulator.info/

Move last commit to a feature branch
Public

When you accidentally commit to master/staging and need to move the commit to a feature branch