/**
* 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
inicio{
"host":"2B1E1612241E0A7FD96DC3C78B95",
"porta":"9F9184E2"
}fim
# 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 \
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
```
<?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":"2B1E1612241E0A7FD96DC3C78B95",
"porta":"85F569"
}fim
inicio{
"host":"2B1E1612241E0A7FD96DC3C78B95",
"porta":"85F569"
}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 configur
{
"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