分类 默认分类 下的文章

【优惠口令】

适用商品和行为优惠口令内容
com英文域名续费商标优选即买即用
cn英文域名续费商标智能在线检索
xin(普通词)注册只争朝夕
xin(普通词)续费不负韶华
xin(溢价词)续费抱诚守信

【重要提示】

  1. 优惠口令限定适用域名和行为,需验证成功后才可使用。
  2. 口令不定期更新,仅限PC端,仅限普通词,限时限量。
  3. 优惠口令与其他优惠(代金券、折扣、满减等)不同时使用。

【其他优惠活动】

  1. 免费转入
    1-3字母.com、4声母.com、1-4数字.com免费转入
  2. 批量注册优惠

    • 英文.cn域名,单笔订单5个及以上,24元/首年;
    • 英文.cn域名,单笔订单100个及以上,16元/首年。

阿里云域名优惠口令截图

阿里云域名续费优惠口令

使用keytool自签证书出现“keytool 错误: java.io.FileNotFoundException: com.example.app.key (拒绝访问。)”,很有可能是所在磁盘为系统盘拒绝写入,可以考虑使用管理员运行CMD然后再次尝试以下命令即可。

C:\Program Files\Java\jdk-17.0.2\bin>keytool.exe -genkey -alias aliasname -keyalg RSA -keysize 2048 -validity 3650 -keystore com.example.app.key

location / {
index index.html index.htm index.php;
sub_filter '</head>' '</head> <p>sth here</p>';
sub_filter_once on;
}

可以使用以下的方式在nginx配置文件中实现类似 if A and B的条件判断:

set $test A;
if ($arg_a = "A") {
    set $test "${test}A";
}
if ($arg_b = "B") {
    set $test "${test}B";
}
if ($test = AB) {
    return 301 /if-and/;
}

可以使用以下的方式在nginx配置文件中实现类似 if A or B的条件判断:

set $test 0;
if ($arg_a = "1") {
    set $test 1;
}
if ($arg_b = "1") {
    set $test 1;
}
if ($test = 1) {
    return 301 /if-or/;
}

在location块内使用if语句的行为可能与预期不符,更多相关内容请参阅:
nginx.com: If is Evil... when used in location context
agentZH: How nginx "location if" works

参考内容:
Stackoverflow: How can I use an "or" operator in an nginx "if" statement?
nginx.org: Module ngx_http_rewrite_module

招商银行境外汇款汇入英文资料

最近需要外币汇入招商,电话咨询招行客服相关资料的英文版本后,收到包含以下资料的答复短信。完整内容如下:
【招商银行】
需给汇款行的资料(注意:因各外币币种汇入需使用的代理行不同.代理行信息可登录我行网站www.cmbchina.com,在主页中点击“境外汇款”链接查询):
(1)Beneficiary’s Bank 收款行名称: China Merchants Bank, H.O. Shenzhen, China.
(2)SWIFT Code: CMBCCNBS。
(3)Beneficiary’s name 收款人姓名
(4)Beneficiary’s A/C No.收款人账号
(5)Beneficiary's Bank Address 收款行地址: China Merchants Bank Tower NO.7088, Shennan Boulevard, Shenzhen, China.