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
% node | |
Welcome to Node.js v16.5.0. | |
Type ".help" for more information. | |
> var Romcal = require('romcal') | |
Uncaught ReferenceError: window is not defined | |
at Object.<anonymous> (.../node_modules/romcal/dist/esm/index.js:1:194) | |
at Module._compile (node:internal/modules/cjs/loader:1095:14) | |
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10) | |
at Module.load (node:internal/modules/cjs/loader:975:32) | |
at Function.Module._load (node:internal/modules/cjs/loader:816:12) |
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 TicGitNG | |
class NoRepoFound < StandardError;end | |
class Base | |
attr_reader :git, :logger | |
attr_reader :tic_working, :tic_index, :tic_dir | |
attr_reader :last_tickets, :current_ticket # saved in state | |
attr_reader :config | |
attr_reader :state, :config_file |
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
begin | |
User.transaction do | |
promo = user.active_promo | |
active_user_promo = user.active_user_promo | |
address = user.get_address | |
result = user.authorize_credit_card(address) | |
auth_response = result[:auth_response] | |
void_response = result[:void_response] | |
success = result[:success] |
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
begin | |
User.transaction do | |
promo = user.active_promo | |
active_user_promo = user.active_user_promo | |
address = user.get_address | |
result = user.authorize_credit_card(address) | |
auth_response = result[:auth_response] | |
void_response = result[:void_response] | |
success = result[:success] |
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
vv < < | |
2 | |
^ v< | |
v1<?>3v4 | |
^ ^ | |
> >?> ?>5^ | |
v v | |
v9<?>7v6 | |
v v< | |
8 |
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
r = {"row"=> | |
[{"field"=> | |
[{"name"=>"id", "content"=>"1000000001"}, | |
{"name"=>"name", "content"=>"Venue 1"}, | |
{"name"=>"url", "content"=>"venue-1"}, | |
{"name"=>"address_hint", "content"=>"MyString"}, | |
{"name"=>"address_id", "content"=>"1000000001"}, | |
{"name"=>"phone", "content"=>"(805) 555-1212"}, | |
{"name"=>"capacity", "content"=>"MyString"}, | |
{"name"=>"website", "content"=>"thewebsiteofawesome.com"}, |