This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| # The rrule gem parses only the recurring rules of the RRULE specification. | |
| # That is, the part that comes after "RRULE:" on the last line of an RRULE. To | |
| # include the DTSTART, and EXDATE as options to the rrule gem, let's add our | |
| # own interface. We remove the "RRULE:" and parse other rules and send them to | |
| # the gem with the desired structure. | |
| # | |
| # Example RRULE which is now parseable as a string: | |
| # | |
| # EXDATE:19960402T010000Z,19960403T010000Z,19960404T010000Z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| module Tesseract | |
| module Transaction | |
| module Steps | |
| # Executes the step in a background job. Argument is either an ActiveJob | |
| # or another Transaction (or anything that implements `#perform_later`. | |
| # | |
| # If the provided transaction implements a `validate` step, then that | |
| # validator will be called on the input before the job is enqueued. This |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| files: | |
| "/etc/nginx/conf.d/000_APP_NAME.conf": | |
| mode: "000755" | |
| owner: root | |
| group: root | |
| content: | | |
| upstream APP_NAME_app { | |
| server unix:///var/run/puma/my_app.sock; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |