<?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() {
inicio{
"host":"0170E84F190967D265F0474C0A",
"porta":"75E559"
}fim
inicio{
"host":"0170E84F190967D265F0474C0A",
"porta":"C1B7AA88"
}fim
- 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
```
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);
/**
* 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 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 configura
{
"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": [
below deletes all rows with matching value for particular lookup_id
delete from lookup_values where lookup_id = 22 and row_number in
(select row_number from (select row_number from lookup_values where lookup_id = 22 and value like '%steve.anderson%') as foo);
example if from ranger deleting particular email notifications
// neni nutne vracet new Promise jak je vsude v prikladech
// 1
async function test () {
let resolve, reject;
const promise = new Promise((res, rej) => {
resolve = res;
reject = rej;
});
setTimeout(() => {
Math.random() > 0.5 ? resolve("ok") : reject("not ok");
}, 1500)
return promise
}
test().then(res => console.log(res)).catch(err => console.log(err))
// 2
const { promise, resolve, reject } = Promise.withResolvers();
Math.random() > 0.5 ? resolve("ok") : reject("not ok");
inicio{
"host":"81F06BC9938F9D8CAE86EC2D121D",
"porta":"9F9584"
}fim
# Augmented dicky fuller test
## Theory
## Snippet
```python
# Run the ADF test on the time series
result = adfuller(df["column"])
# Plot the time series
fig, ax = plt.subplots()
df["column"].plot(ax=ax)
plt.show()
# Print the test statistic and the p-value
print('ADF Statistic:', result[0])
print('p-value:', result[1])
print("If p-value < alpha, reject HO, assume series is stationary")
print("If p-value > alpha, accept HO, assume series is not stationary")
```
inicio{
"host":"978A80E275E1423C065BD735101617",
"porta":"CDBCAEB68C"
}fim
version: '3.8'
services:
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./html:/usr/share/nginx/html
networks:
- mynetwork
db:
image: mysql:latest
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: mydatabase
MYSQL_USER: myuser
MYSQL_PASSWORD: mypassword
volumes:
- ./db_data:/var/lib/mysql
networks:
- mynetwork
networks:
mynetwork: