
淘宝上买了IR模块和块LCD
加上之前买的那个グーグル…
准备有空时至少把家里的灯和电视都语音控制起来
Linux、FreeBSD、Unix、Windows

淘宝上买了IR模块和块LCD
加上之前买的那个グーグル…
准备有空时至少把家里的灯和电视都语音控制起来
.mp4bakを.mp4に変更してみる

まず,CUPS をインストールする
sudo apt install cups
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
user haproxy
group haproxy
maxconn 6000
daemon
tune.ssl.default-dh-param 2048
defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000
listen stats
bind 0.0.0.0:8080
mode http
stats enable
stats hide-version
stats realm Haproxy\ Statistics
stats uri /stats
stats auth username:password
frontend http_yemaosheng
bind *:80
mode http
default_backend web-nodes
frontend https_yemaosheng
#cat yemaosheng.crt yemaosheng.key | tee yemaosheng.pem
bind *:443 ssl crt /root/yemaosheng.pem
mode http
option httpclose
option forwardfor
reqadd X-Forwarded-Proto:\ https
default_backend web-nodes
backend web-nodes
mode http
balance roundrobin
option forwardfor
server web-1 10.0.1.2:80 check
server web-2 10.0.1.3:80 check |
from azure.storage.blob import BlobService blob_service=BlobService(account_name='x', account_key='x', ) marker=None while True: containers = blob_service.list_containers(marker=marker) for c in containers: print c.name if containers.next_marker: marker = containers.next_marker else: break |
> Install-Module AzureRM > Import-Module AzureR Error: Import-Module : File C:\Program Files\WindowsPowerShell\Modules\AzureRM\4.2.1\AzureRM.psm1,... The PowerShell should work with the RemoteSigned policy in any case. > Get-ExecutionPolicy -List > Get-ExecutionPolicy -Scope CurrentUser > Set-ExecutionPolicy RemoteSigned > Import-Module AzureRM > Login-AzureRmAccount > Get-AzureRmSubscription Name : BizSpark Id : 1e573f03-6685-xxxx-bcb0-xxx TenantId : 517c8f98-6209-xxxx-9aca-xxx State : Enabled Name : Microsoft Azure Sponsorship Id : 61719d1b-1c44-xxxx-a985-xxx TenantId : 517c8f98-6209-xxxx-9aca-xxx State : Enabled > Select-AzureRmSubscription -SubscriptionId "61719d1b-1c44-xxxx-a985-xxx" > Get-AzureRmNetworkSecurityGroup -Name NSG_NAME -ResourceGroupName ResourceGroupName | Get-AzureRmNetworkSecurityRuleConfig | Select * | > Export-Csv -NoTypeInformation -Path C:\NSGExport.csv |
公司收的一大堆论坛都要加SSL,每个都要购买的话会是一笔不小的费用。
所以准备全部使用Let’s Encrypt的免费SSL。
run on your sample-vm
Download:zbx_percona_mysql_template