iOS 11 中 wkwebview 中 使用
constant(safe-area-inset-top)
env(safe-area-inset-top)
会导致被设置区域闪动,一种被异步/延时设置了样式的感觉
// The frame is written by GPT, and I perfect the details | |
const fs = require("fs"); | |
const path = require("path"); | |
const dayjs = require('dayjs'); | |
const folderPath = "path/to/folder"; | |
fs.readdir(folderPath, (err, files) => { | |
if (err) { | |
console.error(err); |
iOS 11 中 wkwebview 中 使用
constant(safe-area-inset-top)
env(safe-area-inset-top)
会导致被设置区域闪动,一种被异步/延时设置了样式的感觉
<meta name="viewport" content="width=device-width, initial-scale=1"> |
<meta name="renderer" content="webkit"> | |
//360 6.X 以上可识别 | |
<meta name="force-rendering" content="webkit"> | |
//其他双核可识别 | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> | |
//对于没有自带 IE7 内核的浏览器 强制使用用户已安装的最高版本浏览器渲染, 有Chrome框架的优先使用 |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>随机密码生成器</title> | |
<meta name="viewport" content="width=device-width"> | |
</head> | |
<body> |
Netatalk - Unix file and print services for Apple clients.
Netatalk 是一个免费开源的AppleTalk 通信协议的实现,Linux 或者BSD 系统通过它可以充当Mac 的文件服务器(AppleShare File Server, 网络协议是AFP)、AppleTalk 路由、打印服务器等。
Netatalk 网址 http://netatalk.sourceforge.net/ 本文撰写时最新版本是 3.1.11
从github获取netatalk最新源代码到server上
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<canvas id="canvas" onclick="showInfo()"></canvas> | |
<img id="img" src="1.jpg" width="300" height="200" hidden> |
/** | |
* @file | |
* @author shaoshuai | |
*/ | |
export default { | |
queryString(data) { | |
let body = []; | |
for (let [key, value] of Object.entries(data)) { | |
body.push(encodeURIComponent(key) + '=' + encodeURIComponent(value)); | |
} |