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

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

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?

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/

Close a frozen ssh session
Public

Properly close a frozen ssh session

How to get image details like creation timestamp using MiniMagic
Public

How to get image details like creation date and tile using MiniMagic

How to drop a production database in Rails 5
Public

I encountered a problem when dropping a production database. Here's the solution

Style PDFs using metric units in CSS with wicked pdf
Public

Configure wicked_pdf with: ```ruby disable_smart_shrinking: true ``` Then you can accurately use `mm` and `cm` as units in your CSS

Line icons based on Font Awesome
Public

Replace Font Awesome with modern line icons with a single line of code.

https://icons8.com/line-awesome

Multiline method memoization in ruby
Public

Method memoization in ruby is easy when the method is one line long: ``` def something @something ||= # your calculations end ``` But when we hav...

Global payment/billing provider compatible with EU laws
Public

Recommended by https://pawelurbanek.com/profitable-slack-bot-rails

https://paddle.com/

Hello World in Slack
Public

See the link for setup instructions. Then in ruby: ```ruby conn = Faraday.new(your_slack_webhook_url) conn.post do |req| req.headers['Content-Type'] ...

https://api.slack.com/tutorials/slack-apps-hello-world

Transparent textures - a subtle backgrounds repository and generator
Public

Standing on the shoulders of Subtle Patterns. Built and maintained by mikehearn.

https://www.transparenttextures.com/

Free icon rainbow - big source of free icons
Public

Free icon rainbow - big source of free icons. Many sizes and 3 formats: png, jpg, svg

http://free-icon-rainbow.com/