Azure Web App支持免费证书,记录下www.azurespeed.com启用证书步骤
- 在Azure Web App里,找到菜单TLS/SSL settings,先点中 Private Key Certificates (.pfx) ,然后点Create App Service Managed Certificates

- 在弹出的创建表单里,选中需要证书的域名,点击创建

- safd
- asdf
- asfd
Azure Web App支持免费证书,记录下www.azurespeed.com启用证书步骤
网上有很多Ubuntu安装NodeJS的教程,试了好几个,记录一下能work的:
### 安装NodeJS和npm1. v=10 # 这个会装nodejs 10,如果要用其他版本,改成对应版本号即可6,7,8,9等2. curl -sL https://deb.nodesource.com/setup_$v.x | sudo -E bash -3. sudo apt-get install -y nodejs
如果需要删除老的nodejs,可以先运行sudo apt-get purge nodejs npm。
NodeJS装完后可以用node -v和npm -v查看安装的版本
前2天吃午饭的时候听Yuqing童鞋说她出差的时候只走了一次高速,但是信用卡上被Avis多收了20美金。我突然想起前几个月去西雅图的时候也走了一次520高速,赶紧也查了一下信用卡账单,果不其然,也中招了。
我隐约记起租车的时候又提到e-tolls的服务,但是我提车的时候是没有选这个服务的。上网大概查了一下,Avis还真有这么一个条款:https://www.avis.com/en/products-and-services/services/avis-e-toll,里面的这句话解释了这个费用的原因: You automatically opt into our e-Toll service program and will be charged $3.95 for each day of the entire rental period, including any days on which e-Toll is not used, up to a maximum of $19.75 per rental month, plus incurred tolls at the maximum prevailing rates posted by the toll authority. The charges may take 4-8 weeks after the rental to be billed to your credit card/debit card on file. 翻译过来说就是,只要用了一次eToll,整个租车期间每天都会被收3.95美金的费用,最高到19.75封顶。这个费用会在还车后4至8周从信用卡里扣除。
真是霸王条款啊,记录下来当个教训把。
另:eTolls收费的详情可以在这个网站查询。http://www.e-tolls.com/
这2天把WordPress迁移到新服务器,用的是All-in-One WP Migration插件来搬家,但是搬迁过程遇到一个问题,新的WordPress网站建好了以后,导入备份文件总是失败在上传步骤,提示的错误信息是 超过2048KB错误。
网上的解决方法有非常多,不过还是试了很久才找到一个可以解决的方法,记录如下:
upload_max_filesize = 200M post_max_size = 200M
Azure DevOps默认的Task只有4个状态,分别是To Do, In Progress, Done, Removed。很多时候我们会需要一些额外的状态来更好的区分task,比如
Azure DevOps允许用户自由定制workflow,对Task,Bug,Backlog进行扩展,下面是给Task的State增加一个新字段的具体操作
Chrome书签不能同步,主要原因是同步服务器不能访问了,这时候可以这样解决
74.125.204.138 chrome.google.com 64.233.189.113 clients4.google.com
重新打开Chrome,书签就会自动开始同步了。
在C:\Users\{username}\.m2\下创建一个settings.xml文件,内容如下
<?xml version=”1.0″ encoding=”UTF-8″?>
<settings xmlns=”http://maven.apache.org/SETTINGS/1.0.0″
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=”http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd”>
<mirrors>
<!– 阿里云仓库 –>
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
</mirrors>
</settings>
Visual Studio 2017开始,不在提供ISO版本,只有一个web installer的exe安装包了,这对于需要在内网安装VS的用户来说很不方便,因为需要自己去制作这个离线安装包了。下面是具体步骤:
打开命令行窗口,这里我想做的是一个中文的安装包,包含DotNet桌面开发,ASP.NET和DotNet Core这些workload,具体命令如下。这个命令会自动下载所有需要的文件,到本地的c:\vs2017.3,运行完毕后这个文件夹就可以用来做VS的离线安装了。
C:\DelMe>mu_visual_studio_enterprise_2017_version_15.3_x86_x64_11100063.exe --layout C:\vs2017.3 --lang zh-CN --add Microsoft.VisualStudio.Workload.NetWeb Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NetCoreTools
参考文档