buttonを非活性にする

<button disabled></button>

REGEX - Cheat sheet

## Найти крайнюю (последнюю) цифру в строке (javascript) 
```js
let str = "+7 (123) ___-__-__"
let pos = str.search(/.(?=[^\d]*$)/)
// pos === 6
```



## Regex на валидность пароля (javascript) 
```js
if (/^(?=.*?[A-Z]|.*?[А-ЯЁ])(?=.*?[a-z]|.*?[а-яё])(?=.*?[0-9])(?=.*?[~`!@#$%^&*\(\)\-_+=|\\[\]\{\}"':;?\/<>,.№]).{3,}$/.test(value)) {
  return true
} 
else return 'Пароль должен содержать минимум 8 символов, среди которых должна быть маленькая буква, большая буква, цифра и символ: ~`@#$%^&*\(\)\-

Tuckshop Sales reporting class

package howells;

import java.io.*;
import java.util.*;

public class FileAccess {
    private String arrTime[] = new String[38];
    private String arrItem[] = new String[38];
    private int arrQuantity[] = new int[38];
    private double arrCost[] = new double[38];
    
    public void readCSVData(String fn, String delChar){
        try{
            FileReader fh = new FileReader(fn);
            Scanner inFile = new Scanner(fh);
            
            int i = 0;
          

hoverが可能なデバイスかどうかで:hoverを制限する

@media (any-hover: hover) {
  .hoge:hover {
    
  }
}

UAT Loan Discrepancies: dw_core.fact_installment vs. dw_reporting_views.fact_installment

num_loan_ids	amount_discrepancy	amount_cred_discrepancy	amount_cred_to_period_discrepancy	amount_interest_paid_discrepancy	amount_interest_paid_to_period_discrepancy	amount_owed_to_period_discrepancy	amount_paid_discrepancy	amount_paid_to_period_discrepancy	amount_principal_paid_discrepancy	amount_principal_paid_to_period_discrepancy	contract_date_discrepancy	current_default_discrepancy	datecreated_discrepancy	default_15_days_discrepancy	default_30_days_discrepancy	default_35_days_discrepancy	de

refinance_payoff_cumulative


loan_id,installment_number,period_start,period_end,new_refinance_payoff_cumulative,cur_refinance_payoff_cumulative
651895,2,2024-03-02,2024-04-01,0,<nil>
651895,3,2024-04-02,2024-05-01,0,<nil>
651895,4,2024-05-02,2024-06-01,0,<nil>
651895,5,2024-06-02,2024-07-01,0,<nil>
651895,6,2024-07-02,2024-08-01,0,<nil>
651895,7,2024-08-02,2024-09-01,0,<nil>
651895,8,2024-09-02,2024-10-01,0,<nil>
651895,9,2024-10-02,2024-11-01,0,<nil>
651895,10,2024-11-02,2024-12-01,0,<nil>
651895,11,2024-12-02,2025-01-01,

hover指定はany-hoverを使用する

.button {
  transition: background-color 0.3s;
}

/*キーボード操作でもスタイル適用する為*/
.button:focus-visible {
  background-color: var(--background-hover);
}

@media (any-hover: hover) {
  .button:hover {
    background-color: var(--background-hover);
  }
}

refinance_payoff


loan_id,installment_number,period_start,period_end,new_refinance_payoff,cur_refinance_payoff
651857,3,2024-03-09,2024-03-22,<nil>,0
651857,4,2024-03-23,2024-04-05,<nil>,0
651857,5,2024-04-06,2024-04-19,<nil>,0
651857,6,2024-04-20,2024-05-03,<nil>,0
651857,7,2024-05-04,2024-05-17,<nil>,0
651857,8,2024-05-18,2024-05-31,<nil>,0
651857,9,2024-06-01,2024-06-14,<nil>,0
651857,10,2024-06-15,2024-06-28,<nil>,0
651857,11,2024-06-29,2024-07-12,<nil>,0
651857,12,2024-07-13,2024-07-26,<nil>,0
651857,13,202

prev_initial_default_or_payoff


loan_id,installment_number,period_start,period_end,new_prev_initial_default_or_payoff,cur_prev_initial_default_or_payoff
651895,3,2024-04-02,2024-05-01,0,<nil>
651895,4,2024-05-02,2024-06-01,0,<nil>
651895,5,2024-06-02,2024-07-01,0,<nil>
651895,6,2024-07-02,2024-08-01,0,<nil>
651895,7,2024-08-02,2024-09-01,0,<nil>
651895,8,2024-09-02,2024-10-01,0,<nil>
651895,9,2024-10-02,2024-11-01,0,<nil>
651895,10,2024-11-02,2024-12-01,0,<nil>
651895,11,2024-12-02,2025-01-01,0,<nil>
651895,12,2025-01-02,2025

loan_current_at_period_start


loan_id,installment_number,period_start,period_end,new_loan_current_at_period_start,cur_loan_current_at_period_start
651872,3,2024-03-16,2024-03-29,<nil>,1
651857,3,2024-03-09,2024-03-22,<nil>,1
651845,3,2024-03-16,2024-03-29,<nil>,1
651834,3,2024-03-16,2024-03-31,<nil>,1
651823,3,2024-03-16,2024-03-31,<nil>,1
651536,3,2024-03-16,2024-03-29,<nil>,1
651534,2,2024-02-24,2024-03-08,<nil>,1
651534,3,2024-03-09,2024-03-22,<nil>,1
651447,2,2024-03-05,2024-03-18,<nil>,1
651417,3,2024-03-09,2024-03-22,

installment_paid_off_date


loan_id,installment_number,period_start,period_end,new_installment_paid_off_date,cur_installment_paid_off_date
651857,14,2024-08-10,2024-08-23,2024-02-27,<nil>
651857,15,2024-08-24,2024-09-06,2024-02-27,<nil>
651857,16,2024-09-07,2024-09-20,2024-02-27,<nil>
651857,17,2024-09-21,2024-10-04,2024-02-27,<nil>
651857,18,2024-10-05,2024-10-18,2024-02-27,<nil>
651857,19,2024-10-19,2024-11-01,2024-02-27,<nil>
651857,20,2024-11-02,2024-11-15,2024-02-27,<nil>
651857,21,2024-11-16,2024-11-29,2024-02-27,<n

initial_default_cumulative


loan_id,installment_number,period_start,period_end,new_initial_default_cumulative,cur_initial_default_cumulative
651895,2,2024-03-02,2024-04-01,0,<nil>
651895,3,2024-04-02,2024-05-01,0,<nil>
651895,4,2024-05-02,2024-06-01,0,<nil>
651895,5,2024-06-02,2024-07-01,0,<nil>
651895,6,2024-07-02,2024-08-01,0,<nil>
651895,7,2024-08-02,2024-09-01,0,<nil>
651895,8,2024-09-02,2024-10-01,0,<nil>
651895,9,2024-10-02,2024-11-01,0,<nil>
651895,10,2024-11-02,2024-12-01,0,<nil>
651895,11,2024-12-02,2025-01-01,0,

initial_default


loan_id,installment_number,period_start,period_end,new_initial_default,cur_initial_default
651624,2,2024-03-01,2024-03-14,0,<nil>
651534,2,2024-02-24,2024-03-08,<nil>,0
651157,2,2024-03-01,2024-03-14,0,<nil>
650959,3,2024-03-01,2024-03-14,0,<nil>
650643,3,2024-03-01,2024-03-14,0,<nil>
650541,3,2024-03-01,2024-03-14,1,<nil>
650513,3,2024-03-01,2024-03-14,0,<nil>
650492,3,2024-03-01,2024-03-14,0,<nil>
650485,3,2024-03-01,2024-03-14,0,<nil>
650297,3,2024-02-29,2024-03-13,<nil>,0
650054,2,2024-02-1

early_payoff_cumulative


loan_id,installment_number,period_start,period_end,new_early_payoff_cumulative,cur_early_payoff_cumulative
651895,2,2024-03-02,2024-04-01,0,<nil>
651895,3,2024-04-02,2024-05-01,0,<nil>
651895,4,2024-05-02,2024-06-01,0,<nil>
651895,5,2024-06-02,2024-07-01,0,<nil>
651895,6,2024-07-02,2024-08-01,0,<nil>
651895,7,2024-08-02,2024-09-01,0,<nil>
651895,8,2024-09-02,2024-10-01,0,<nil>
651895,9,2024-10-02,2024-11-01,0,<nil>
651895,10,2024-11-02,2024-12-01,0,<nil>
651895,11,2024-12-02,2025-01-01,0,<nil>

early_payoff


loan_id,installment_number,period_start,period_end,new_early_payoff,cur_early_payoff
651857,3,2024-03-09,2024-03-22,<nil>,0
651857,4,2024-03-23,2024-04-05,<nil>,0
651857,5,2024-04-06,2024-04-19,<nil>,0
651857,6,2024-04-20,2024-05-03,<nil>,0
651857,7,2024-05-04,2024-05-17,<nil>,0
651857,8,2024-05-18,2024-05-31,<nil>,0
651857,9,2024-06-01,2024-06-14,<nil>,0
651857,10,2024-06-15,2024-06-28,<nil>,0
651857,11,2024-06-29,2024-07-12,<nil>,0
651857,12,2024-07-13,2024-07-26,<nil>,0
651857,13,2024-07-27,

default_7_days


loan_id,installment_number,period_start,period_end,new_default_7_days,cur_default_7_days
651885,2,2024-02-23,2024-03-07,1,<nil>
651849,2,2024-02-23,2024-03-07,0,<nil>
651809,2,2024-02-23,2024-03-07,0,<nil>
651573,2,2024-02-23,2024-03-07,0,<nil>
650054,2,2024-02-17,2024-03-01,<nil>,0
650007,3,2024-02-23,2024-03-07,0,<nil>
649976,3,2024-02-23,2024-03-07,0,<nil>
649752,3,2024-02-23,2024-03-07,0,<nil>
649733,3,2024-02-22,2024-03-06,1,0
649643,3,2024-02-23,2024-03-07,0,<nil>
648828,3,2024-02-17,2024