Skip to content

Instantly share code, notes, and snippets.

@woshizilong
woshizilong / mq_troubleshooting.txt
Created June 2, 2022 12:29 — forked from mattkasun/mq_troubleshooting.md
Netmaker v0.13.0 MQ Troubleshooting
Basic Troubleshooting/Cert Regeneration
1. Check docker-compose.yml & mosquitto.conf
- mq
- image: eclipse-mosquitto:2.0.14-openssl
- ports:
- 127.0.0.1:1883:1883
- 8883:8883
- volumes:
- /root/mosquitto.conf:/mosquitto/config/mosquitto.conf
- /root/certs/:/mosquitto/certs/
@woshizilong
woshizilong / ffmpeg.md
Created May 21, 2021 08:55 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
# Raw Package
import numpy as np
import pandas as pd
#Data Source
import yfinance as yf
#Data viz
import plotly.graph_objs as go
#Importing market data
data = yf.download(tickers='BTC-USD',period = '8d', interval = '90m')
golang
去编号用
[a-zA-Z]+([-/]{1}[a-zA-Z]+[0-9]{1}|[-/]{1}[0-9]{1}|[0-9]{1})[a-zA-Z0-9-/]+|[0-9]+[a-zA-Z-/]{1}[a-zA-Z0-9-/]*|[0-9]{5,}
// ======================== 待测试正则 ========================
version1
[a-zA-Z]+([-/]{1}[a-zA-Z]+[0-9]{1}|[-/]{1}[0-9]{1}|[0-9]{1})[a-zA-Z0-9-/]+|[0-9]+[a-zA-Z-/]{1}[a-zA-Z0-9-/]*|[0-9]{5,}
// ======================== 说明区域 ========================
// 字母开头,字母数字符号混合的编号:
@woshizilong
woshizilong / using-commoncrypot-in-swifty-framework.md
Created January 26, 2018 12:40 — forked from yamaya/using-commoncrypot-in-swifty-framework.md
Swift製のframeworkでlibcommonCrypto.dylibを使う方法
http://devstreaming.apple.com/videos/wwdc/2014/403xxksrj0qs8c0/403/403_hd_intermediate_swift.mov?dl=1
http://devstreaming.apple.com/videos/wwdc/2014/403xxksrj0qs8c0/403/403_sd_intermediate_swift.mov?dl=1
http://devstreaming.apple.com/videos/wwdc/2014/403xxksrj0qs8c0/403/403_intermediate_swift.pdf?dl=1
http://devstreaming.apple.com/videos/wwdc/2014/419xxli6f60a6bs/419/419_hd_advanced_graphics_and_animation_performance.mov?dl=1
http://devstreaming.apple.com/videos/wwdc/2014/419xxli6f60a6bs/419/419_sd_advanced_graphics_and_animation_performance.mov?dl=1
http://devstreaming.apple.com/videos/wwdc/2014/419xxli6f60a6bs/419/419_advanced_graphics_and_animation_performance.pdf?dl=1
http://devstreaming.apple.com/videos/wwdc/2014/101xx36lr6smzjo/101/101_hd.mov?dl=1
http://devstreaming.apple.com/videos/wwdc/2014/101xx36lr6smzjo/101/101_sd.mov?dl=1
http://devstreaming.apple.com/videos/wwdc/2014/236xxwk3fv82sx2/236/236_hd_building_interruptible_and_responsive_interactions.mov?dl=1
http://devstreaming.apple.com/videos/wwdc/2