I hereby claim:
- I am hosh on github.
- I am hosh (https://keybase.io/hosh) on keybase.
- I have a public key whose fingerprint is 4F16 11A6 0573 ACDB 6695 A803 C33D 336C 2601 19B8
To claim this, I am signing this object:
| require 'rlet/functional' | |
| module SomeApi | |
| module API | |
| class V1_0 < Intermodal::API | |
| using RLet::Functional | |
| self.default_per_page = 25 | |
| map_data do |
I hereby claim:
To claim this, I am signing this object:
| # Disable delay in escape so that spacemacs will work under here | |
| set -s escape-time 0 | |
| # utf-8 support | |
| setw -g utf8 on | |
| set -g status-utf8 on | |
| set -g default-terminal "screen-256color" | |
| set -g prefix C-z | |
| unbind-key C-b |
| # Matsuri.define will generate a custom class and registers it | |
| # Because it is a Ruby class, you can create mixins by creating a Ruby | |
| # module and `include` it in. | |
| # Everything is broken down into smaller `let()`. If you are not familiar | |
| # with it, it is taken from Rspec, and defines a memoized method. We can | |
| # then customize functionality by overriding any of the lets. In this case, | |
| # the base class of the pod definition defines the manifests: | |
| # https://github.com/matsuri-rb/matsuri/blob/master/lib/matsuri/kubernetes/pod.rb#L10 | |
| # Notice how I am overriding just enough to create a pod. However, I can override |
| defmodule Legalio.Plug.ConvertToPost do | |
| @moduledoc """ | |
| A Plug to convert a list of methods to POST so | |
| that body_params can be populated | |
| """ | |
| @behaviour Elixir.Plug | |
| alias Elixir.Plug.Conn |
| 'use strict'; | |
| /* This module handles shutdown procedures to ensure a graceful shutdown | |
| - Function to register a shutdown callbacks | |
| - Call shutdown callbacks on uncaught promise rejections and signals | |
| - Call the exported setup() at the top of the bootup, usually in main.ts | |
| */ | |
| // import your logging code here | |
| const log = (level, message) => { |