Skip to content

Instantly share code, notes, and snippets.

View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
nachozt / payments_endpont.js
Last active Jun 19, 2020
unit test sample medium
View payments_endpont.js
function create_payment(args) {
return payment;
View Ruby Version

Ruby Version Manager

  • RVM: which is the most established, but also the most intrusive in terms of shell modifications. It manages gemsets and installs different ruby versions. Most of that functionality has been surpassed by Bundler.
  • rbenv: which is lower impact. Does not install ruby versions. It only manages different ruby versions. But it also do things like overriding cd so that it can switch rubies “magically”. They also install shims of commands like gem, ruby, and others that dynamically look up the available Rubies.
  • chruby: even lighter than rbenv.


nachozt /
Last active Oct 24, 2020
Bootstrap to Rails 6 with webpacker

Step 1:

Add bootstrap and its dependencies:

yarn add bootstrap jquery popper.js

Step 2:

in config/webpack/environment.js add the following:

You can’t perform that action at this time.