领域驱动设计&中台/微服务的容器化实践����IP Underlay: MacVLAN / IpVLAN ■ ���� MacVlan��MAC���IpVlan��MAC�� ■ IpVlan � IaaS �������VMWare ���������� VM � MAC �� ■ IpVlan ����Mac������� L2 ��� � switch � Port Security �� – Networking ������������� ■ IpVlan �� Kernel ��� 4.2 ■ IpVlan ��� IPv6 ������������� IPv6 ����������SLAAC� ■ VMWare Vsphere �������� ■ �������Network Policy� ������������� �� – Networking �3� L3 Routing: Flannel0 码力 | 19 页 | 1.86 MB | 1 年前3
Laravel 5.6 中文文档5.2、VMWare、Parallels 或 Hyper-V (四选一,我们通常选择 VirtualBox,因为只有它是免费的) 以及 Vagrant,所有这些软件包都为常用操作系统提供了一个便于使用的可视化安装器,通过安装界面引导就可以完成安装。 要使用 VMware 的话,需要购买 VMware Fusion(Mac) / Workstation(Windows) 以及 VMware Vagrant 多块人民币,但是 VMware 可以提供更好的性能和体验(废话,不然谁用,不过考虑到这个价格,只能呵呵了)。 要使用 Parallels 的话,需要安装 Parallels Vagrant 插件,这是免费的(仅仅是插件免费哈)。 由于 Vagrant 限制的因素,Hyper-V 提供者会忽略所有网络设置。 安装 Homestead Vagrant 盒子 VirtualBox/VMWare 和 Vagrant 配置 Homestead 设置 Provider Homestead.yaml 文件中的 provider 键表示使用哪个 Vagrant 提供者:virtualbox、vmware_fushion、 vmware_workstation、 parallels 或 hyperv,你可以将其设置为自己选择的提供者,当然对大部分人来说也没得选: provider: virtualbox0 码力 | 377 页 | 14.56 MB | 1 年前3
Celery v5.0.2 Documentationmeaning that sig.apply_async(args=(), kwargs={}, **options) Calls the signature with optional partial arguments and partial keyword arguments. Also supports partial execution options. sig.delay(*args production code, but it’s a handy shortcut when experimenting in the Python shell: >>> ~sig >>> # is the same as >>> sig.delay().get() Callbacks New in version 3.0. Callbacks can be added to any task using prepended to the arguments specified by the signature itself! If you have the signature: >>> sig = add.s(10) then sig.delay(result) becomes: >>> add.apply_async(args=(result, 10)) … Now let’s call our add0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.5 Documentationmeaning that sig.apply_async(args=(), kwargs={}, **options) Calls the signature with optional partial arguments and partial keyword arguments. Also supports partial execution options. sig.delay(*args production code, but it’s a handy shortcut when experimenting in the Python shell: >>> ~sig >>> # is the same as >>> sig.delay().get() Callbacks New in version 3.0. Callbacks can be added to any task using prepended to the arguments specified by the signature itself! If you have the signature: >>> sig = add.s(10) then sig.delay(result) becomes: >>> add.apply_async(args=(result, 10)) … Now let’s call our add0 码力 | 2315 页 | 2.14 MB | 1 年前3
Celery v5.0.1 Documentationmeaning that sig.apply_async(args=(), kwargs={}, **options) Calls the signature with optional partial arguments and partial keyword arguments. Also supports partial execution options. sig.delay(*args production code, but it’s a handy shortcut when experimenting in the Python shell: >>> ~sig >>> # is the same as >>> sig.delay().get() Callbacks New in version 3.0. Callbacks can be added to any task using prepended to the arguments specified by the signature itself! If you have the signature: >>> sig = add.s(10) then sig.delay(result) becomes: >>> add.apply_async(args=(result, 10)) … Now let’s call our add0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.0 Documentationmeaning that sig.apply_async(args=(), kwargs={}, **options) Calls the signature with optional partial arguments and partial keyword arguments. Also supports partial execution options. sig.delay(*args production code, but it’s a handy shortcut when experimenting in the Python shell: >>> ~sig >>> # is the same as >>> sig.delay().get() Callbacks New in version 3.0. Callbacks can be added to any task using prepended to the arguments specified by the signature itself! If you have the signature: >>> sig = add.s(10) then sig.delay(result) becomes: >>> add.apply_async(args=(result, 10)) … Now let’s call our add0 码力 | 2309 页 | 2.13 MB | 1 年前3
Celery 3.0 Documentationmeaning that; sig.apply_async(args=(), kwargs={}, **options) Calls the signature with optional partial arguments and partial keyword arguments. Also supports partial execution options. sig.delay(*args production code, but it’s a handy shortcut when experimenting in the Python shell: >>> ~sig >>> # is the same as >>> sig.delay().get() Callbacks New in version 3.0. Callbacks can be added to any task using prepended to the arguments specified by the signature itself! If you have the signature: >>> sig = add.s(10) then sig.delay(result) becomes: >>> add.apply_async(args=(result, 10)) ... Now let’s call our0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery v4.0.0 Documentationmeaning that; sig.apply_async(args=(), kwargs={}, **options) Calls the signature with optional partial arguments and partial keyword arguments. Also supports partial execution options. sig.delay(*args production code, but it’s a handy shortcut when experimenting in the Python shell: >>> ~sig >>> # is the same as >>> sig.delay().get() Callbacks New in version 3.0. Callbacks can be added to any task using prepended to the arguments specified by the signature itself! If you have the signature: >>> sig = add.s(10) then sig.delay(result) becomes: >>> add.apply_async(args=(result, 10)) ... Now let’s call our0 码力 | 2106 页 | 2.23 MB | 1 年前3
Laravel 5.1 中文文档1 首次安装 在启用 Homestead 环境之前,需要先安装 Virtual Box 或者 VMWare 和 Vagrant,所有这些 软件包都会常用操作系统提供了一个便于使用的可视化安装器。 2.1.1 安装 Homestead Vagrant 盒子 VirtualBox/VMWare 和 Vagrant 安装好了之后,在终端中使用能如下命令将 laravel/homesterad Homestead 2.2.1 设置 Provider Homestead.yaml 文件中的 provider 键表示哪个 Vagrant 提供者将会被使用:virtualbox、 vmware_fushion,还是 vmware_workstation,你可以将其设置为自己喜欢的提供者: provider: virtualbox 2.2.2 设置 SSH key 在 Homestead.yaml0 码力 | 307 页 | 3.46 MB | 1 年前3
Writing Python Bindings for C++ Libraries: Easy-to-use Performance*Some analysis code reader = mod.RowReader(f) rows = reader.getRows() sum_sig_change_by_trade_size, count, last_px = 0.0, 0, 0.0 for i, row in enumerate(rows): # int => string ... some logic print("average signal change is " + str(sum_sig_change_by_trade_size / count))Some analysis code if id_name == "timestamp": sig_change = abs(item.value() - last_px) if cur_trade_size > 0: sum_sig_change_by_trade_size += sig_change / cur_trade_size0 码力 | 118 页 | 2.18 MB | 6 月前3
共 370 条
- 1
- 2
- 3
- 4
- 5
- 6
- 37













