Open Telegram and search for @BotFather user and message them the following:
You
/newbot
BotFather
import base64 | |
import hashlib | |
from Cryptodome.Cipher import AES # from pycryptodomex v-3.10.4 | |
from Cryptodome.Random import get_random_bytes | |
HASH_NAME = "SHA256" | |
IV_LENGTH = 16 | |
ITERATION_COUNT = 65536 | |
KEY_LENGTH = 32 |
$.ajax({ | |
url: "http://api.yoursite.com", | |
data: data, | |
type: "POST" | |
}).done(function(result) { | |
var link = document.createElement("a"); | |
document.body.appendChild(link); | |
link.setAttribute("type", "hidden"); | |
link.href = "data:text/plain;base64," + result; | |
link.download = "data.zip"; |
If you want to install a package like Docker Community Edition on OEL, you'll have to add the CentOS Extras repo, which as of release 7 is built-in to CentOS and not added on later like EPEL is. As a result, instructions for adding it to EL7 are hard to find. This should work for any build of Enterprise Linux that does not already include the CentOS Extras repo. I have absolutely no idea if it's apporpriate to use this repo on a build of Linux other than CentOS, but it should be.
This was tested on Oracle Enterprise Linux 7, but should be copy-pastable on any version or EL build assuming things don't change too much.
# Get OS Release number
<!DOCTYPE html> | |
<head> | |
<title>Untitled-2</title> | |
<link rel="icon" type="image/x-icon" href="./assets/favicon.ico" /> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.css"> | |
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.21/css/dataTables.bootstrap4.min.css"> |
# docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=postgres -tid postgres:12.0 | |
# docker run -v C:\Users\Datasoft\Desktop\py:/script --rm python:3.7 bash -c "pip install psycopg2 && python /script/app.py" | |
import psycopg2 | |
try: | |
connection = psycopg2.connect(user = "postgres", | |
password = "postgres", | |
host = "192.168.1.40", | |
port = "5432", | |
database = "postgres") |
/** | |
Instalar libreria mux para perticiones http | |
$> go get github.com/gorilla/mux | |
Para ejecutar como script | |
$> go run demo-api.go | |
Para compilar Windows: | |
$> go build -o demo-api.exe demo-api.go |
To create a Table
create table risk_clos_rank(
id_num int IDENTITY(1,1) NOT NULL,
username nvarchar(100),
datetime_of_decision DATETIME
);
CREATE TABLE TheNameOfYourTable (
ID INT NOT NULL IDENTITY(1,1),