This file contains 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
/* jshint -W028 */ | |
// bookmarklets to summarize the shown webpage. | |
// replace XXXInsertAPIKeyHereXXX with your API key to use these bookmarklets. | |
// this summarizes the text on the page. (We might have to cut it down to 3000 words, because the API has a limit of 3000 words.) | |
javascript:(async () => { | |
var apikey = "XXXInsertAPIKeyHereXXX"; | |
const maxwordcount = 2500; | |
try { |
This file contains 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
module ActionController | |
class Parameters | |
private | |
def unpermitted_parameters!(params) | |
unpermitted_keys = unpermitted_keys(params) | |
if unpermitted_keys.any? | |
case self.class.action_on_unpermitted_parameters | |
when :log | |
name = "unpermitted_parameters.action_controller" |
This file contains 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
module ActiveLinkTo | |
extend ActiveSupport::Concern | |
included do | |
helper_method :active_link_to | |
def active_link_to(name = nil, options = nil, html_options = nil, &block) | |
html_options, options, name = options, name, block if block_given? | |
options ||= {} | |
html_options = convert_options_to_data_attributes(options, html_options) |
This file contains 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
```mermaid | |
sequenceDiagram | |
Docutech->>Maxwell: Document Distribution event | |
Maxwell->>Docutech: Success Response | |
Note right of Maxwell: Process event:<br>Create task<br>Send notifications | |
Maxwell->>Docutech: User click to sign (iframe) | |
Note left of Docutech: User completes<br>signing | |
Docutech->>Maxwell: Subsequent document event | |
Note right of Maxwell: Mark task as<br>complete/error | |
Maxwell->>Docutech: Request signed documents |
This file contains 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
# One of the steps, insert where you wish: | |
- run: | |
name: run rubocop | |
command: | | |
source /home/circleci/.rvm/scripts/rvm | |
rvm --default use 2.3.1 | |
bash bin/rubocop.sh | |
# Remove the RVM lines if not needed for your setup |