nc
command Unix
nc -vz 192.0.1.1 -Port 3306
Test-NetConnection
command Windows
Test-NetConnection -ComputerName 192.0.1.1 -Port 3306
nc
command Unix
nc -vz 192.0.1.1 -Port 3306
Test-NetConnection
command Windows
Test-NetConnection -ComputerName 192.0.1.1 -Port 3306
Install googleapis
npm i googleapis
package main | |
import ( | |
"bytes" | |
"encoding/base64" | |
"errors" | |
"fmt" | |
"image" | |
"image/jpeg" | |
_ "image/png" |
<?xml version="1.0" encoding="UTF-8"?> | |
<transformation> | |
<info> | |
<name>enc_dec_password</name> | |
<description/> | |
<extended_description/> | |
<trans_version/> | |
<trans_type>Normal</trans_type> | |
<directory>/</directory> | |
<parameters> |
import os | |
import shutil | |
from minio import Minio | |
from minio.datatypes import Object | |
from minio.helpers import ObjectWriteResult | |
from zipfile import ZipFile | |
S3_ENDPOINT = 's3.ap-southeast-3.amazonaws.com' | |
S3_CLIENT_ID = 'ABC' | |
S3_CLIENT_SECRET = 'BBB' |
function calcOut(wh, padding, kernelSize, stride) { | |
return ((wh + 2*padding - kernelSize ) / stride) + 1; | |
} | |
// for image file 32x32 pixels | |
console.log(calcOut(32, 1, 3, 1)); // conv1 = 32 | |
console.log(calcOut(32, 1, 3, 1)); // conv2 = 32 | |
console.log(calcOut(32, 0, 2, 2)); // maxpool1 = 16 | |
console.log(16*16*32); // flattening result = 8192 | |
console.log("----------------"); |
package main | |
import ( | |
"encoding/base64" | |
"fmt" | |
"time" | |
"github.com/skip2/go-qrcode" | |
"github.com/xlzd/gotp" | |
) |