Skip to content

Instantly share code, notes, and snippets.

@lchanmann
lchanmann / data.txt
Created April 19, 2026 04:08
Populate MCQA2
// normalized transaction (daily transaction)
{
"class" : "com.paytic.dispute.NormalizedTransaction",
"id" : 3,
"sourceTransactionDAOKey" : "cardFinancialDAO",
"sourceTransactionId" : -12730,
"status" : 1,
"clientId" : "233551684",
"arn" : "85249925082511700230342",
"referenceNumber" : "m:NTVBBUDRQITL",
# tmux plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# vim mode switching delay issue (http://superuser.com/a/252717/65504)
set -s escape-time 10
set -g mouse on
import foam.mlang.MLang;
import foam.nanos.auth.LifecycleState;
import foam.nanos.auth.User;
import foam.nanos.crunch.UserCapabilityJunction;
import foam.nanos.crunch.CapabilityJunctionStatus;
import foam.nanos.logger.PrefixLogger;
import net.nanopay.admin.model.ComplianceStatus;
/*
* Run configs
//
// Support re-triggering LEV onboarding on BusinessDetailData update
// https://github.com/nanoPayinc/NANOPAY/pull/14670
//
/* Vars */
DRY_RUN = true;
RULES_TO_UPDATE = new String[] {
"expanded-onboarding-securefact-business-lookup",
"expanded-onboarding-securefact-business-lookup-sync"
Index: src/foam/nanos/crunch/ui/UCJView.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/foam/nanos/crunch/ui/UCJView.js b/src/foam/nanos/crunch/ui/UCJView.js
--- a/src/foam/nanos/crunch/ui/UCJView.js (revision 3cd0783ae2b1bb4649d671479f07aea9112a9e66)
+++ b/src/foam/nanos/crunch/ui/UCJView.js (revision 7204d43446b32459e7d62a4c27a61d0bc24bf868)
@@ -122,7 +122,8 @@
controllerMode:
diff --git a/postman.json b/postman.json
index 47077f6e43..1131a730fa 100644
--- a/postman.json
+++ b/postman.json
@@ -1,7 +1,7 @@
{
"info":{
- "_postman_id":"26b2f067-9e25-4197-ade4-06298580580b",
- "name":"Intuit-CI-Collection-07",
+ "_postman_id":"e3ed1a3e-49a6-4478-b662-557d0c2c27a2",
@lchanmann
lchanmann / postal-codes.json
Created November 12, 2021 15:00 — forked from jamesbar2/postal-codes.json
Global postal codes regex formats
[{
"Note": "The first two digits (ranging from 10–43) correspond to the province, while the last two digits correspond either to the city/delivery zone (range 01–50) or to the district/delivery zone (range 51–99). Afghanistan Postal code lookup",
"Country": "Afghanistan",
"ISO": "AF",
"Format": "NNNN",
"Regex": "^\\d{4}$"
}, {
"Note": "With Finland, first two numbers are 22.",
"Country": "Åland Islands",
"ISO": "AX",
diff --git a/src/foam/nanos/ruler/Rule.js b/src/foam/nanos/ruler/Rule.js
index cb01c8599..acb7bbe93 100644
--- a/src/foam/nanos/ruler/Rule.js
+++ b/src/foam/nanos/ruler/Rule.js
@@ -480,7 +480,16 @@
Subclasses of Rule should override "getUser" method to return the
appropriate user for which the permission is checked.
`,
- javaCode: 'return null;'
+ javaCode: `
Start server - development branch
> ./build.sh -wcdj -Jbr,treviso
Configure credentials
- services
- dowJones
- secureFact
- IDM
- Kotak
- afexCredentials
diff --git a/nanopay/src/net/nanopay/bank/BankHolidayService.js b/nanopay/src/net/nanopay/bank/BankHolidayService.js
index c3ee295550..87302738ae 100644
--- a/nanopay/src/net/nanopay/bank/BankHolidayService.js
+++ b/nanopay/src/net/nanopay/bank/BankHolidayService.js
@@ -28,7 +28,8 @@ foam.CLASS({
'java.time.ZoneId',
'java.time.ZoneOffset',
'java.util.Date',
- 'java.util.List',
+ 'java.util.HashSet',