mkdir ~/.pip
cat <<EOF > ~/.pip/pip.conf
[global]
trusted-host = mirrors.aliyun.com
index-url = http://mirrors.aliyun.com/pypi/simple
EOF
或者
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443)
$HOME/.config/pip/pip.conf
[global]
trusted-host=mirrors.aliyun.com
index-url=http://mirrors.aliyun.com/pypi/simple/
Python 3.6.8
File "C:\code\venv3\lib\site-packages\pip\_vendor\distlib\scripts.py", line 383, in _get_launcher
raise ValueError(msg)
ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
python -m pip uninstall pip
python -m ensurepip
python -m pip install -U pip
否则报UnicodeDecodeError: ‘gbk’ codec can’t decode
python-3.6.8-amd64
py -3.6 -m pip install virtualenv
py -3.6 -m virtualenv venv3
.\venv3\script\activate
pip install zappa
git clone https://github.com/Miserlou/Zappa.git
cd zappy/example
pip install flask
zappa deploy dev_event
检查状态
zappa status dev_api
IllegalLocationConstraintException
get this error if you're trying to create a bucket with a name that's already been taken
https://stackoverflow.com/questions/49174673/aws-s3api-create-bucket-bucket-make-exception
--create-bucket-configuration LocationConstraint=eu-west-1
The size of the market for multiparty, multicloud data and code aggregation is enormous and only grows larger as companies capture every last bit of data. Vendia’s serverless-based technology offers benefits such as ease of experimentation, no operational heavy lifting and a pay-as-you-go pricing model, making it both very consumable and highly disruptive
Fast Identity Online (FIDO)
WebAuthn was officially recognized as a W3C web standard in March 2019. Today, WebAuthn is part of the FIDO Alliance’s FIDO2 specifications and the FIDO Alliance runs certification programs to ensure compliance
C:\Documents and Settings\All Users\Application Data\VMware\vmnetdhcp.conf
host VMnet8 {
hardware ethernet 00:0C:29:23:AV:67;
fixed-address 192.168.137.170;
}
net stop vmnetdhcp
net start vmnetdhcp
图像处理中的卷积核kernel
卷积核(kernel),也叫卷积矩阵(convolution matrix)或者掩膜(mask),本质上是一个非常小的矩阵,最常用的是 3×3 矩阵。主要是利用核与图像之间进行卷积运算来实现图像处理,能做出模糊、锐化、凹凸、边缘检测等效果。
第一个矩阵是卷积核(其中的每个元素都是权重),第二个矩阵是被处理的矩阵,这里的并不是真正矩阵运算中,而是将卷积核中的行和列都反转再*,将计算得到的加权结果赋值给[2, 2]位置处.
将一个比较大的原始矩阵的每一个位置处都根据核进行上述的运算,就得到整个原始矩阵的加权平均结果,也就是原始矩阵卷积运算后的结果
[1]https://blog.csdn.net/i_silence/article/details/116483732
软件工程师为了找到工作,花费大量的时间在leetcode上刷题
然后为面试制作一份完美的简历。
一旦在创业公司或在FANG巨头中找到自己的心仪的工作,发现
为了面试所做的技术准备在实际工作中根本排不上用场。
下面我们来谈谈我们对于由TechLead首创的高效程序员的7个习惯
的个人看法
https://medium.com/better-programming/7-habits-of-highly-effective-programmers-563ee3b63f33
4月8号的更新,出现了如下问题
通过卸载更新把更新删除后,系统恢复正常
https://winaero.com/blog/delete-downloaded-windows-update-files-in-windows-10/
C:\Windows\SoftwareDistribution\Download
B2提供免费的10G存储空间, 而且不需要预先设置支付信息例如信用卡认证等。
而且文件上传下载快速
pip install --upgrade b2
b2 authorize-account [<applicationKeyId>] [<applicationKey>]
b2 upload-file cmp000 "Commander 8.1.0 Installer (x64).zip" cmp_commander_810_x86.zip
Commander 8.1.0 Installer (x64).zip: 100%|███████████████████████████| 835M/835M [06:14<00:00, 2.23MB/s]
URL by file name: https://f000.backblazeb2.com/file/cmp000/cmp_commander_810_x86.zip
URL by fileId: https://f000.backblazeb2.com/b2api/v2/b2_download_file_by_id?fileId=4_z5fb65c33d39d419a79180f12_f20359e5b85eeada6_d20200405_m102029_c000_v0001066_t0051
{
"action": "upload",
"fileId": "4_z5fb65c33d39d419a79180f12_f20359e5b85eeada6_d20200405_m102029_c000_v0001066_t0051",
"fileName": "cmp_commander_810_x86.zip",
"size": 835119744,
"uploadTimestamp": 1586082029000
}
云管平台赋能企业在多云环境下,对服务或资源自身和生命周期进行自动化的管理。
当前行业主要聚焦在可用行,成本管理,云安全。
公有云
私有云(openstack/VMWARE/K8S)