npm install -g @stoplight/prism-cli
{
"openapi": "3.0.0",
"info": {
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" | |
) |
From: "User Name" <[email protected]> | |
To: "John Smith" <[email protected]> | |
Subject: This is a test | |
Hi John, | |
I’m sending this mail with curl thru my gmail account. | |
Bye! |
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<canvas id="myCanvas" width="800" height="400" style="border:1px solid #000000;"> | |
Your browser does not support the HTML canvas tag. | |
</canvas> |