docker run --name surrealdb -d -p 8000:8000 surrealdb/surrealdb:latest start --user root --pass root
DATA="INFO FOR DB;"
curl --request POST \
--header "Content-Type: application/json" \
/** | |
* @example HTTP1.1 via undici | |
* @description Before using script. Please insert apiKey before run this script. | |
*/ | |
// Dependency Section | |
import { request } from "undici" | |
/** | |
* @function isValidJSONString |
~/loadnvm.sh | |
``` | |
#!/bin/zsh | |
#delete the aliases | |
unalias nvm | |
unalias npm | |
unalias node | |
#(this is the loader code nvm put in my .bashrc) |
~/loadnvm.sh | |
``` | |
#!/bin/zsh | |
#delete the aliases | |
unalias nvm | |
unalias npm | |
unalias node | |
#(this is the loader code nvm put in my .bashrc) |
#!/bin/bash | |
index=1 | |
while [ $index -le 100 ] | |
do | |
node index.js $index | |
index=$(( $index + 1 )) | |
done |
node --max-old-space-size=10240 index.js
node --max-old-space-size=4086 index.js