Samba NAS Service
https://www.cnblogs.com/xgqfrms/p/17705149.html
$ cat /etc/samba/smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
https://www.cnblogs.com/xgqfrms/p/17705149.html
$ cat /etc/samba/smb.conf
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
如何使用 Promise 和 setTimeout 在 JavaScript 中模拟 API 调用
list
versionconst getMockData = async (data = '', error = 'unknown server error', delay) => {
return new Promise((resolve, reject) => {
setTimeout(() => {
// polyfill all actual features - stable ES, web standards and stage 3 ES proposals:
// import "core-js/actual/index.js";
// ❌
// import "core-js/actual";
the right ways
const getUser = user => {
// do something
fix:
暂时不能解析域名“mirrors.tuna.tsinghua.edu.cn”
bug
$ sudo vim /etc/resolv.conf
# 添加如下内容
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 127.0.0.1
# 输入 Esc,:wq,保存并退出
promises.d.ts
/Users/xgqfrms-mm/Library/Caches/typescript/5.2/node_modules/@types/node/fs/promises.d.ts
/**
* The `fs/promises` API provides asynchronous file system methods that return
* promises.
上海外国语大学松江校区
东华大学松江校区
东华大学松江校区占地面积约 1500亩
,已有建筑面积近33万平方米,拥有图书馆、体育馆、多媒体教室、基础与专业实验室、分析测试中心、会议中心、影剧院、活动室和多功能餐厅等先进的教学、科研及生活用设施,现共有近1万名博士、硕士和本科生在松江校区学习生活。
https://www.dhu.edu.cn/sjxq/list.psp
东华大学松江校区坐落在松江新城区,位于松江大学园区的东北部,北临佘山国家旅游度假区,南倚历史文化名镇——松江。松江大学园区距上海市中心30公里, 周围有沪杭高速公路、沪青平高速公路、318 国道、轨道交通9号线等道路纵横交错, 交通十分便捷。
$ sudo pip3 install pybluez
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pybluez
Using cached PyBluez-0.23.tar.gz (97 kB)
Building wheels for collected packages: pybluez
Building wheel for pybluez (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sp5zsw6l/pybluez_39a2c4c92aad407bbba7674cb2f4adc3/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sp5zsw6l/pybluez_39a2c4c92aad407bbba7674cb2f4adc3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-elixy4eu
cwd: /tmp/pip-install-sp5zsw6l/pybluez_39a2c4c92aad407bbba7674cb2f4adc3/