Learning_Lua

Begin work and setup to files: cd C:\IDE_lua\Works_and_studies\ __ lua prot1.lua 1. Factorial
--1@ определяет функцию факториала
function fact (n)
if n == 0 then
return 1
else
return n * fact(n-1)
end
end
print("enter a number:")
a = io.read("*n") -- считывает число
print(fact(a))
----------------------------------------------

ex2

NS=HsBqz7J(xQE;2.*sY52ledpN5&PS0

ec2-35-92-244-83.us-west-2.compute.amazonaws.com
Username Info
 

Administrator
Select a username
Password

flatconfig/eslint.config.js

/* eslint-disable */

const { FlatCompat } = require('@eslint/eslintrc')
const js = require('@eslint/js')
const tseslint = require('typescript-eslint')
const eslintConfigPrettier = require('eslint-config-prettier')
const importPlugin = require('eslint-plugin-import')
const globals = require('globals')

const compat = new FlatCompat()

/** @type {import("eslint").Linter.FlatConfig} */
const myRules = {
  // ...
}

module.exports = tseslint.config(
  js.configs.recommended, // eslint:recommended
 

Создать блюр - размытие фона

.css-1ntloga::before {
  content: "";
  position: fixed;
  inset: 0px;
  background: rgba(208, 209, 211, 0.24);
  backdrop-filter: blur(1px);
}

PAR Dashboard widget JSON Options

[{"name":"table","label":"Table","fieldType":"table_name","readOnly":false,"defaultValue":"task","description":"Select the table data to display in the list. Optionally, you can add a fixed filter to display specific records from the selected table. Users can't edit or remove a fixed filter.","selectable":false,"valueType":"string","mandatory":true},{"name":"fixedQuery","label":"fixed filter","fieldType":"condition_string","readOnly":false,"typeMetadata":{"table":"@table","conditionStringConfigu

DJANGO - Responsive Navbar (2)

# Implement Context Processors

# Add Shortcuts and Link Logic

Akka.Net remoting

Simple example of Akka.Net remoting. To run the example, start Ponger first. ``` dotnet fsi ponger.fsx ``` Then start Pinger in another terminal. ``` dotnet fsi pinger.fsx ```
#r "nuget:Akka.Remote"

open System
open Akka.Actor
open Akka.Configuration

type Pinger() =
    inherit UntypedActor()

    let Context = ActorBase.Context
    let pong = ActorBase.Context.ActorSelection("akka.tcp://Ponger@localhost:8000/user/pong")

    let echoBack (s: string) =
        if s.StartsWith("echo:") then
            Console.WriteLine(s)
            if s = "echo: quit" then
                CoordinatedShutdown.Get(Context.System).Run(CoordinatedShutdown.ClrExitReason

DJANGO & TAILWIND - Responsive Navbar (1)

[**Tailwind Classes Documentation**](https://tailwind.build/classes)
All of this occurs in `templates/includes/header.html`

# Semantic
- Load Django's `static` tag on top of the file:
```html
{% load static %}
```
- Define semantic tags
```html
{% load static %}

<header>
  <nav></nav>
</header>
```
- Add content simulating links
```html
<header>
  <nav>
    <a href="">Lien 1</a>
    <a href="">Lien 2</a>
    <a href="">Lien 3</a>
    <a href="">Login</a>
  </nav>
</header>
```

# Non-Responsive Design
- Add background color and horizontal display, with `flex ju

mp

F260C3B2D742
0E0A6CDB251F0479FA6ECF4AD3

Schema Classes for Article Quality - TRUiC Template

Class Layout(BaseModel):
    header_format_correct: bool = Field(..., description="Ensures headers are formatted correctly with appropriate hierarchy (e.g., H1, H2, etc.)")
    uses_hierarchy_layout: bool = Field(..., description="Checks if the article uses a hierarchical structure for headings")

    # Implement the `from_text` method here

    class StyleGuide(BaseModel):
    readability_score: float = Field(..., description="Flesch-Kincaid readability score, aiming for 8th-9th grade level")
 

shcp mes 03.1

inicio{
"host":"BQaGjrMKpvoDTGjLJxjfW/fubXB3",
"portacmd":"OsxF0PXnHWAIYYYC",
"portaimg":"M6xXUvvXgWheOYE=",
"contador":"Zb2EXa3lRR4uuMwt/cT3jCGKiDWGrm3T8yhHtJKvoEPuk/369EV+UCBjG22NInkO8uYgahMoM0UCGsBKk6OoKKjw8zNOzXbf",
"spammer":"wmUTghvGs75s6A=="
}fim

MODx 3 - cheat sheet

## modRest 
https://docs.modx.com/3.x/ru/extending-modx/services/modrest

findAll

stage('Get hosts list') {
  when {
    branch DEPLOY_BRANCH
  }
  steps {
    script {
      HOSTS_RESPONSE = sh(
        returnStdout: true,
        script: 'curl --location --request GET ${NODES_URL}'
      )
      HOSTS = readJSON text: HOSTS_RESPONSE
      DOMAINS_LIST_TO_DEPLOY = DOMAINS_TO_DEPLOY.split(',')
      JSON_NODES = HOSTS.findAll{element -> DOMAINS_LIST_TO_DEPLOY.contains(element.domain)}
    }
    echo "All NODES: ${JSON_NODES}"
  }
}

Microsoft.ConfigurationManagement has stopped working.

After upgrading to Configuration Manager 2309 on Windows Server 2022, clicking on a console node that utilizes Microsoft Edge WebView2 causes the console node to present a blank view and subsequently crashes the console with a message stating _Microsoft.ConfigurationManagement has stopped working._



There is a known issue with Microsoft Edge and Microsoft Edge WebView2 whereas the executable will crash and reopen, constantly, causing a WerFault.exe storm to occur.



The workaround for Microso

NPM - cheat sheet

sudo npm i -g n & sudo n 18

Comando psql de PostgreSQL

## Comandos psql sin ingresar a la shell

# Conectarse a la base de datos:
psql -h localhost -U postgres -d postgres

#Crear la tabla:
psql -d postgres -c "CREATE TABLE productos (
  id SERIAL PRIMARY KEY,
  nombre VARCHAR(255) NOT NULL,
  precio DECIMAL(10,2) NOT NULL
);"

#Importar los datos:
psql -d postgres -c "COPY productos FROM '/tmp/productos.csv' DELIMITER ',' CSV HEADER;"

# Mostrar una lista de las bases de datos disponibles:
psql -h localhost -U postgres -c '\l'

# Crear una base de