Para negar o Regex se a palavra foo
é unica:
^(?!foo$).*
Para negar o Regex se a palavra foo
inicia a frase:
const xlsxFile = require('read-excel-file/node'); | |
const fs = require('fs'); | |
(async () => { | |
const xlsx = await xlsxFile('./file.xlsx'); | |
const data = xlsx.slice(1); | |
const nameTable = 'demo.tableX'; | |
save(`INSERT INTO ${nameTable} VALUES \n`); |
Para executar uma aplicação WebApi ASP.NET Core com o Ngrok, utilize o comando abaixo:
ngrok http https://localhost:5001
Abra o terminal, utilize o comando abaixo executar o laço de repetição (while):
while true; do echo "Hello, your date and hour $(date)"; sleep 4; done
Crie um arquivo laco.sh
e adicione o contéudo abaixo:
#!/bin/bash
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<h2>Status <span id="status">Offline</span></h2> | |
<!-- All of the Node.js APIs are available in this renderer process. --> |