This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const API_URL = "https://api.evacenter.com/graphql/"; | |
function getCookieValue(name) { | |
let matches = document.cookie.match(new RegExp( | |
"(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" | |
)); | |
return matches ? decodeURIComponent(matches[1]) : undefined; | |
} | |
async function fetchAPI(url, headers, body) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script updates system configurations for a PACS DCM Sync application. | |
while true; do | |
echo -n "¿Deseas actualizar los paquetes del sistema? (y/n): " | |
read update_choice | |
# Validate the user's choice for updating system packages. | |
case $update_choice in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo bash -c "$(curl -fsSL https://teleport.aguacate.link/scripts/8c97c05fb34ca51bb3798ba2c0e50702/install-node.sh)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] | |
"RealTimeIsUniversal"=dword:00000001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RADIX DEC ; SET DECIMAL AS DEFAULT BASE | |
PROCESSOR 18F45K50 ; SET PROCESSOR TYPE | |
#INCLUDE <P18F45K50.INC> | |
; | |
; *** ONLY NEEDED FOR SOFTWARE SIMULATION *** | |
; | |
ORG 0 ; RESET VECTOR | |
GOTO 0X1000 | |
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RADIX DEC ; SET DECIMAL AS DEFAULT BASE | |
PROCESSOR 18F45K50 ; SET PROCESSOR TYPE | |
#INCLUDE <P18F45K50.INC> | |
; *** ONLY NEEDED FOR SOFTWARE SIMULATION *** | |
; | |
ORG 0 ; RESET VECTOR | |
GOTO 0X1000 | |
; | |
ORG 0X08 ; HIGH INTERRUPT VECTOR | |
GOTO 0X1008 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RADIX DEC ; SET DECIMAL AS DEFAULT BASE | |
PROCESSOR 18F45K50 ; SET PROCESSOR TYPE | |
#INCLUDE <P18F45K50.INC> | |
; | |
; | |
; VARIABLE'S DEFINITION SECTION | |
; | |
; | |
; *** ONLY NEEDED FOR SOFTWARE SIMULATION *** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RADIX DEC ; SET DECIMAL AS DEFAULT BASE | |
PROCESSOR 18F45K50 ; SET PROCESSOR TYPE | |
#INCLUDE <P18F45K50.INC> | |
; | |
; | |
; VARIABLE'S DEFINITION SECTION | |
; | |
VAR1 EQU 200 | |
VAR2 EQU 60 | |
VALUE3 EQU 50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Vector{ | |
private: | |
double *pArr; | |
int iN; | |
public: | |
/* | |
* Description: Constructor with size 2 | |
* Inputs: | |
* Output: | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#################################### | |
# | |
# Backup to NFS mount script. | |
# | |
#################################### | |
# What to backup. | |
backup_files="/var/www" |
NewerOlder