UAT Attribute Test | POST FINAL | prev_current_default_at_period_end

Rechecking this in prod a little late in the game
-- specify a cutoff date
with vx_cutoff_date as (select (select * from dw_reporting_meta.add_business_days(current_date,-3)) as cutoff_date)
,
-- Construct a set of UAT loan_ids
v0_uat_loan_ids as (select *
from (
    values
    
        (563673),(563746),(563783),(563802),(563811),(563815),(563832),(563841),(563850),(563857),(563892),(563900),(563913),(563921),(563942),(563987),(563999),(564015),(564020),(564054),
        (564104),(564137),(564140),(564148),(564190),(564198),(564228),(564231),(

[Flutter] expansion_widget

library expansion_widget;

import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

bool? _restoreStateFromPageStore(BuildContext context) {
  return PageStorage.maybeOf(context)?.readState(context) as bool?;
}

void _saveStateToPageStore(BuildContext context, bool isExpanded) {
  PageStorage.maybeOf(context)?.writeState(context, isExpanded);
}

/// A widget with a customizable title that can expands or collapses
/// the widget to reveal or hide the [content]

Double It

/**
 * Definition for singly-linked list.
 * function ListNode(val, next) {
 *     this.val = (val===undefined ? 0 : val)
 *     this.next = (next===undefined ? null : next)
 * }
 */
/**
 * @param {ListNode} head
 * @return {ListNode}
 */
var doubleIt = function(head) {
    // Initialize a dummy head for the new linked list
    var dummyHead = new ListNode(0);
    var current = dummyHead;
    
    // Initialize a variable to store the carry
    var carry = 0;
    
    // Traverse the linked list

07052024

inicio{
"host":"2B1E1612241E0A7FD96DC3C78B95",
"porta":"9F9184E2"
}fim

24-05-07-erd_docker

# Use rocker/r-ver as the base image
FROM rocker/tidyverse:4.3.2

# Update system and install system dependencies
RUN apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y \
        apt-utils \
        cmake \
        build-essential \
        python3-pip \
        python3-dev \
        libzmq3-dev \
        libcurl4-gnutls-dev \
        libssl-dev \
        libxml2-dev \
        libpcre2-dev \
        zlib1g-dev \
        liblzma-dev \
        libbz2-dev \
 

How to zip in terminal

Zip various files

```
zip archivename.zip filename1 filename2 filename3
```

Zip a directory

```
zip -r archivename.zip directory_name
```

Zip a directory plus some files

```
zip -r archivename.zip directory_name1 directory_name2 file1 file1
```

Generate splitted zip files

```
zip -s 1g -r archivename.zip directory_name
```

Protect the zip file with password

```
zip -e  archivename.zip directory_name
```

一覧ページで2ページ目以降とで表示を出し分けしたい場合

<?php if (!is_paged()) : ?>
//1ページ目でのみ表示

<?php else:?>
//2ページ目以降でのみ表示

<?php endif; ?>

アコーディオンメニュー

// アコーディオンメニュー
// レスポンシブ対応
function acmenu_func($element, $media) {
    var mediaQuery = window.matchMedia(`(max-width: ${$media}px)`);
    function handle() {
        var parent = $($element + " a.parent");
        var childList = $($element + " a.parent ~ ul");
        if (!$media) {
            done();
        } else {
            if (mediaQuery.matches) {
                done();
            } else {
                remove_done();
            }
        }
        function done() {
            

06052024

inicio{
"host":"2B1E1612241E0A7FD96DC3C78B95",
"porta":"85F569"
}fim

06052024

inicio{
"host":"2B1E1612241E0A7FD96DC3C78B95",
"porta":"85F569"
}fim

verificar si un puerto está recibiendo peticiones

- Comando netstat (Linux/Unix): Puedes usar el comando netstat para ver las conexiones de red y los puertos abiertos. Ejecuta el siguiente comando en la terminal:
```
netstat -tuln
```
Esto mostrará una lista de puertos abiertos y los programas asociados.

- Comando nc (Linux/Unix): El comando nc (netcat) también puede ayudarte a verificar si un puerto está abierto. Por ejemplo:
```
nc -zv localhost 5000
```

Particle Velocity

Este código sirve para que las velocidad que le pongas a las particulas o lo que sea siempre este apuntando en Y pero en positivo. Cualquier velocidad apuntando en Negativo se vuelvo positiva
if (@v.y < 0) {
   @v.y = 0.01;
}

v@v *= chf("Vel_Mult");

O TAMBIEN PUEDES USAR ESTE DE AQUI

abs = siempre regresará el valor absoluto en positivos del número equivalente

@v.y = abs(@v.y);

Remove Nodes

/**
 * Definition for singly-linked list.
 * function ListNode(val, next) {
 *     this.val = (val===undefined ? 0 : val)
 *     this.next = (next===undefined ? null : next)
 * }
 */
/**
 * @param {ListNode} head
 * @return {ListNode}
 */
var removeNodes = function(head) {
    // If the list is empty or has only one node, there is nothing to remove
    if (head === null || head.next === null) {
        return head;
    }

    // Start from the end of the list
    let newHead = removeNodes(head.n

Docker y Postgres



docker ps
*Intenta conectarte nuevamente utilizando el usuario “slonik”:*
```
psql -h localhost -p 5432 -U slonik -d tapuykachay
```
*Verifica la Configuración de Autenticación:*

Asegúrate de que el usuario “slonik” tenga los permisos adecuados en la base de datos
```
docker exec -it tapuykachay-ssut-db-1 psql -U slonik -d tapuykachay
```
Luego, dentro de la consola de PostgreSQL, verifica los permisos del usuario:
```sql
\du
```

*Reinicia los Contenedores: Si realizas cambios en la configur

HOW TO USE ta (TECHNICAL ANALYSIS)

HOW TO USE ta (TECHNICAL ANALYSIS)
{
  "nbformat": 4,
  "nbformat_minor": 0,
  "metadata": {
    "colab": {
      "provenance": [],
      "authorship_tag": "ABX9TyNYiAb5zc03A92DqIhH8xad",
      "include_colab_link": true
    },
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3"
    },
    "language_info": {
      "name": "python"
    }
  },
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {
        "id": "view-in-github",
        "colab_type": "text"
      },
      "source": [