- install npm package:
npm i strapi-provider-upload-ts-minio
- add upload module in
plugins.js
module.exports = ({env}) => ({ upload: { config: { provider: "strapi-provider-upload-ts-minio", providerOptions: {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.truenas.com/community/threads/windows-cant-connect-to-smb-share.102736/post-706964 | |
Use “Start->Run” and type in “gpedit.msc” in the “Run” dialog box. A “Group Policy” window will open. | |
Click down to “Local Computer Policy -> Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options. | |
Find the policy “Network Security: LAN Manager authentication level”. | |
Right click on this policy and choose “Properties”. | |
Choose “Send NTLMv2 response only/refuse LM & NTLM”. | |
Click OK and confirm the setting change. | |
Close the “Group Policy” window. | |
You are done configuring Windows! Now configure your browser(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import smtpd | |
import asyncore | |
import smtplib | |
from email.message import EmailMessage | |
from email.parser import Parser, BytesParser | |
from email.policy import default | |
from base64 import b64decode | |
# Configuration for the real SMTP server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install rawpy imageio | |
# python converter.py | |
import os | |
import rawpy | |
import imageio | |
def convert_arw_to_jpeg(input_file, output_file): | |
with rawpy.imread(input_file) as raw: | |
rgb_image = raw.postprocess() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Under directory 'templates' */ | |
<html> | |
<head> | |
<title>RTSP web streaming</title> | |
</head> | |
<body> | |
<h1>RTSP web streaming</h1> | |
<h3>XND-6080RV (ip:192.168.2.196)</h3> | |
<h4>python webstreaming.py --ip <host ip> --port <host port></h4> | |
<img src="{{ url_for('video_feed') }}"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let JS_TIMES = | |
[ | |
"-------------JAN-------------------------------", | |
"01-01~~~~~06:26|08:29|12:28|13:59|16:18|18:07", | |
"01-02~~~~~06:26|08:29|12:29|14:00|16:19|18:08", | |
"01-03~~~~~06:26|08:29|12:29|14:01|16:20|18:09", | |
"01-04~~~~~06:26|08:28|12:30|14:02|16:21|18:10", | |
"01-05~~~~~06:25|08:28|12:30|14:03|16:22|18:11", | |
"01-06~~~~~06:25|08:28|12:31|14:04|16:24|18:12", | |
"01-07~~~~~06:25|08:27|12:31|14:05|16:25|18:13", |