便宜VPS推荐

优惠码

hostdare 15UJZ1OUPK - 终身折扣25%
hostdare U58TF02MIG - 终身折扣35%
hosteons zhujiceping - 一次性折扣20%
hosteons UPGRADE - 免费将VPS升级到下一个档次的配置,下单完发ticket!
hosteons INTRO20 - 一次性折扣20%
hosteons DOUBLEDISK- 双倍硬盘
hosteons DOUBLEPORT- 双倍带宽,也就是200Mbps不限流量
hosteons ANNIV20- 终身折扣20% KVM系列,一律8折,包括256M内存的
hosteons ANNIV50- 终身折扣20% OpenVZ系列,OVZ1~7,年付、2年付、3年付,5折

主机列表

型号CPU内存硬盘IP带宽流量系统价格优惠码购买
hostdare1核756M35G HDDIPv4*180Mbps CN2600GB/月linux$29.99/年15UJZ1OUPK优惠25%点击购买
hostdare2核1.5G75G HDDIPv4*1100Mbps CN21000GB/月linux$44.99/年15UJZ1OUPK优惠25%点击购买

hosteons-OVZ7

类型CPU内存硬盘IP带宽流量系统价格优惠码购买
OVZ71核1G30G SSDIPv4×1 IPv6×1100Mbps无限制linux$13.5/年ANNIV50点击购买
OVZ72核2G50G SSDIPv4×1 IPv6×1100Mbps无限制linux$27.0/年ANNIV50点击购买

hosteons-KVM

类型CPU内存硬盘IP带宽流量系统价格优惠码购买
KVM1核512M5G SSDIPv4*1100Mbps无限制linux$18.9/年ANNIV20点击购买
KVM1核1G10G SSDIPv4*1100Mbps无限制linux$25.2/年ANNIV20点击购买
KVM1核1.5G15G SSDIPv4*1100Mbps无限制linux/Windows$31.5/年ANNIV20点击购买
KVM1核2G20G SSDIPv4*1100Mbps无限制linux/Windows$44.1/年ANNIV20点击购买
KVM2核4G30G SSDIPv4*2100Mbps无限制linux/Windows$63.0/年ANNIV20点击购买
KVM2核6G50G SSDIPv4*2100Mbps无限制linux/Windows$126.0/年ANNIV20点击购买
KVM4核8G100G SSDIPv4*4100Mbps无限制linux/Windows$189/年ANNIV20点击购买

hostdare

hostdare

KVMLA

美国VPS 免备案 2C 2G内存 40GB硬盘 600G月流量 月付80元起
还可使用八折优惠码 2JMQLEWGR6

搬瓦工

搬瓦工最新网址

双十一促销

BWH26FXH3HIQ(优惠力度 6.25%)
BWH25AQH2CMQ(优惠力度 5.97%)
ireallyreadtheterms8(优惠力度 5.5%)
BWH2OJA9WE0O(优惠力度 5.39%)
ireadtheterms8(优惠力度 4.4%)
BWH21RHEBIJ3(优惠力度 4.28%)
BWH2AO5XCNJT(优惠力度 4.04%)
BWH2EMB8VSLX(优惠力度 3.58%)
BWH2068TVOPV(优惠力度 2.82%)
BWH2NGYHJ0KF(优惠力度 1.98%)
BWH2XKYRDYCN(优惠力度 1.78%)
BWH25GMU6GRE(优惠力度 1.1%)

搬瓦工VPS最新网址、搬瓦工VPS优惠收集、搬瓦工VPS优惠码

搬瓦工最新网址

BWH26FXH3HIQ(优惠力度 6.25%)
BWH25AQH2CMQ(优惠力度 5.97%)
ireallyreadtheterms8(优惠力度 5.5%)
BWH2OJA9WE0O(优惠力度 5.39%)
ireadtheterms8(优惠力度 4.4%)
BWH21RHEBIJ3(优惠力度 4.28%)
BWH2AO5XCNJT(优惠力度 4.04%)
BWH2EMB8VSLX(优惠力度 3.58%)
BWH2068TVOPV(优惠力度 2.82%)
BWH2NGYHJ0KF(优惠力度 1.98%)
BWH2XKYRDYCN(优惠力度 1.78%)
BWH25GMU6GRE(优惠力度 1.1%)

Visual C++ 生成工具

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Visual C++ 生成工具
https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/

Microsoft Visual 生成工具 2015 更新 3
下载页面 直接下载

Microsoft Visual 生成工具 2017
下载页面 直接下载

Microsoft Visual 生成工具 2019
下载页面 直接下载

Microsoft Visual 生成工具 2022
下载页面 直接下载

Python Build Tools

3.5 and laterVisual C++ Build Tools 2015 or Visual Studio 2015. (Update: Install Visual Studio 2017, select the Python development workload and the Native development tools option.)
3.3 and 3.4Windows SDK for Windows 7 and .NET 4.0 (Alternatively, Visual Studio 2010 if you have access to it)
2.6 to 3.2Microsoft Visual C++ Compiler for Python 2.7

link: https://devblogs.microsoft.com/python/unable-to-find-vcvarsall-bat/

https://www.microsoft.com/zh-CN/download/details.aspx?id=48159

moment组件加载时间遇到的时区变换问题

首先,存入我们想存储的时间“2018-11-11 00:00:00”,具体存入数据库的时间为UTC时间“2018-11-10T16:00:00.000Z”,此时将时间从数据库中读取到的时间字符串为“2018-11-10 16:00:00”,

moment(("2018-11-10 16:00:00"), ('YYYY-MM-DD HH:mm:ss')    //直接载入字符串
moment(("2018-11-10 16:00:00"), ('YYYY-MM-DD HH:mm:ss')).utc()    //先载入字符串,然后转为utc
moment(("2018-11-10 16:00:00"), ('YYYY-MM-DD HH:mm:ss')).utcOffset("+08:00")    //先载入字符串,然后增加utc偏移
moment.utc(("2018-11-10 16:00:00"), ('YYYY-MM-DD HH:mm:ss'))   //以utc载入字符串
moment.utc(("2018-11-10 16:00:00"), ('YYYY-MM-DD HH:mm:ss')).utcOffset("+08:00")   //以utc载入字符串,然后增加偏移

得到的结果分别为:

显示是否为时区时区偏移结果是否正确
2018-11-10T08:00:00.000Zfalse-显示少了16小时,时间少了8小时
2018-11-10T08:00:00.000Ztrue0显示少了16小时,时间少了8小时
2018-11-10T16:00:00.000Ztrue480显示少了8小时,时间少了8小时
2018-11-10T16:00:00.000Ztrue0显示少了8小时,时间正常
2018-11-11T00:00:00.000Ztrue480显示正常,时间正常

Python Error 2018110501

*** stack smashing detected ***: /mnt/BenuData/cloud/venv/bin/python terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x731af)[0x7f4a982031af]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f4a98288aa7]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x0)[0x7f4a98288a70]
/mnt/BenuData/cloud/venv/bin/python[0x49f3b0]
[0x7f4a93c1c7b8]
======= Memory map: ========
00400000-007b2000 r-xp 00000000 fe:11 5194837                            /mnt/BenuData/cloud/venv/bin/python3.4
009b1000-009b2000 r--p 003b1000 fe:11 5194837                            /mnt/BenuData/cloud/venv/bin/python3.4
009b2000-00a45000 rw-p 003b2000 fe:11 5194837                            /mnt/BenuData/cloud/venv/bin/python3.4
00a45000-00a61000 rw-p 00000000 00:00 0
00eec000-01803000 rw-p 00000000 00:00 0                                  [heap]
7f4a6c000000-7f4a6c021000 rw-p 00000000 00:00 0
7f4a6c021000-7f4a70000000 ---p 00000000 00:00 0
7f4a735e9000-7f4a735ff000 r-xp 00000000 fe:01 131076                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4a735ff000-7f4a737fe000 ---p 00016000 fe:01 131076                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4a737fe000-7f4a737ff000 rw-p 00015000 fe:01 131076                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4a737ff000-7f4a73800000 ---p 00000000 00:00 0
7f4a73800000-7f4a74000000 rw-p 00000000 00:00 0                          [stack:10120]
7f4a74000000-7f4a74021000 rw-p 00000000 00:00 0
7f4a74021000-7f4a78000000 ---p 00000000 00:00 0
7f4a78000000-7f4a78021000 rw-p 00000000 00:00 0
7f4a78021000-7f4a7c000000 ---p 00000000 00:00 0
7f4a7c000000-7f4a7c021000 rw-p 00000000 00:00 0
7f4a7c021000-7f4a80000000 ---p 00000000 00:00 0
7f4a80000000-7f4a80021000 rw-p 00000000 00:00 0
7f4a80021000-7f4a84000000 ---p 00000000 00:00 0
7f4a84000000-7f4a84021000 rw-p 00000000 00:00 0
7f4a84021000-7f4a88000000 ---p 00000000 00:00 0
7f4a88000000-7f4a88021000 rw-p 00000000 00:00 0
7f4a88021000-7f4a8c000000 ---p 00000000 00:00 0
7f4a8c000000-7f4a8c04f000 rw-p 00000000 00:00 0
7f4a8c04f000-7f4a90000000 ---p 00000000 00:00 0
7f4a90209000-7f4a90309000 rw-p 00000000 00:00 0
7f4a90309000-7f4a9030a000 ---p 00000000 00:00 0
7f4a9030a000-7f4a90b0a000 rw-p 00000000 00:00 0                          [stack:10002]
7f4a90b0a000-7f4a90b0b000 ---p 00000000 00:00 0
7f4a90b0b000-7f4a9130b000 rw-p 00000000 00:00 0                          [stack:9997]
7f4a9130b000-7f4a9130c000 ---p 00000000 00:00 0
7f4a9130c000-7f4a91b4c000 rw-p 00000000 00:00 0                          [stack:9996]
7f4a91b4c000-7f4a91b4d000 ---p 00000000 00:00 0
7f4a91b4d000-7f4a9234d000 rw-p 00000000 00:00 0                          [stack:9995]
7f4a9234d000-7f4a9234e000 ---p 00000000 00:00 0
7f4a9234e000-7f4a92b8e000 rw-p 00000000 00:00 0                          [stack:9963]
7f4a92b8e000-7f4a92bc3000 r--s 00000000 fe:01 920628                     /var/cache/nscd/hosts
7f4a92bc3000-7f4a92bc4000 ---p 00000000 00:00 0
7f4a92bc4000-7f4a933c4000 rw-p 00000000 00:00 0                          [stack:9959]
7f4a933c4000-7f4a933c5000 ---p 00000000 00:00 0
7f4a933c5000-7f4a93c85000 rw-p 00000000 00:00 0                          [stack:9958]
7f4a93c85000-7f4a93c8c000 r-xp 00000000 fe:11 5308997                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/pymongo/_cmessage.cpython-34m.so
7f4a93c8c000-7f4a93e8b000 ---p 00007000 fe:11 5308997                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/pymongo/_cmessage.cpython-34m.so
7f4a93e8b000-7f4a93e8c000 rw-p 00006000 fe:11 5308997                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/pymongo/_cmessage.cpython-34m.so
7f4a93e8c000-7f4a93f0c000 rw-p 00000000 00:00 0
7f4a93f0c000-7f4a93f18000 r-xp 00000000 fe:11 5308944                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/bson/_cbson.cpython-34m.so
7f4a93f18000-7f4a94118000 ---p 0000c000 fe:11 5308944                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/bson/_cbson.cpython-34m.so
7f4a94118000-7f4a94119000 rw-p 0000c000 fe:11 5308944                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/bson/_cbson.cpython-34m.so
7f4a94119000-7f4a94199000 rw-p 00000000 00:00 0
7f4a94199000-7f4a9419d000 r-xp 00000000 fe:01 1311950                    /usr/lib/python3.4/lib-dynload/termios.cpython-34m-x86_64-linux-gnu.so
7f4a9419d000-7f4a9439c000 ---p 00004000 fe:01 1311950                    /usr/lib/python3.4/lib-dynload/termios.cpython-34m-x86_64-linux-gnu.so
7f4a9439c000-7f4a9439d000 r--p 00003000 fe:01 1311950                    /usr/lib/python3.4/lib-dynload/termios.cpython-34m-x86_64-linux-gnu.so
7f4a9439d000-7f4a9439f000 rw-p 00004000 fe:01 1311950                    /usr/lib/python3.4/lib-dynload/termios.cpython-34m-x86_64-linux-gnu.so
7f4a9439f000-7f4a9461f000 rw-p 00000000 00:00 0
7f4a9461f000-7f4a94944000 r-xp 00000000 fe:11 5302171                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
7f4a94944000-7f4a94b44000 ---p 00325000 fe:11 5302171                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
7f4a94b44000-7f4a94b8c000 rw-p 00325000 fe:11 5302171                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
7f4a94b8c000-7f4a94b90000 rw-p 00000000 00:00 0
7f4a94b90000-7f4a94bd0000 rw-p 00000000 00:00 0
7f4a94bd0000-7f4a94bd7000 r-xp 00000000 fe:11 5302080                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/.libs_cffi_backend/libffi-d77877bc.so.6.0.4
7f4a94bd7000-7f4a94dd7000 ---p 00007000 fe:11 5302080                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/.libs_cffi_backend/libffi-d77877bc.so.6.0.4
7f4a94dd7000-7f4a94dd8000 rw-p 00007000 fe:11 5302080                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/.libs_cffi_backend/libffi-d77877bc.so.6.0.4
7f4a94dd8000-7f4a94dd9000 rw-p 00024000 fe:11 5302080                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/.libs_cffi_backend/libffi-d77877bc.so.6.0.4
7f4a94dd9000-7f4a94e03000 r-xp 00000000 fe:11 5244977                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/_cffi_backend.cpython-34m.so
7f4a94e03000-7f4a95002000 ---p 0002a000 fe:11 5244977                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/_cffi_backend.cpython-34m.so
7f4a95002000-7f4a95008000 rw-p 00029000 fe:11 5244977                    /mnt/BenuData/cloud/venv/lib/python3.4/site-packages/_cffi_backend.cpython-34m.so
7f4a95008000-7f4a9500b000 rw-p 00000000 00:00 0

最新文章

最近回复

  • muumlover: 你好
  • 测试人: 你好呀
  • ww: 看了这么多就这个有用,牛逼
  • 未知狐: 啊确实,话说,博主博客好像没有评论回复邮件提醒,可以试试Comm...
  • Skogen: 系统的差异,不同的Linux发行版集成的包也不一样,安装难度也就...
  • Skogen: 系统是 Debian9,理论上Debian系的系统应该通用的。
  • 2247: 请问用的是什么系统?
  • 未知狐: 受教了,我比博主运气好点,是因为不理解命令参数等设定而频繁失败,...
  • Skogen: 23
  • Skogen: asd

分类

标签

归档

其它