Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:nice-to-know [2019/05/06 17:00] – michael | linux:nice-to-know [2019/05/06 17:33] (current) – michael | ||
---|---|---|---|
Line 131: | Line 131: | ||
* -o specifies an output file | * -o specifies an output file | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | <WRAP center round box 100%> | ||
+ | ''< | ||
+ | |||
+ | I use this to get a live video stream from my Raspberry Pi with Camera attached | ||
+ | |||
+ | Execute this on the Pi, where TARGET_IP is my local computer where I will watch the stream, and PORT is an arbitrary port number. | ||
+ | |||
+ | < | ||
+ | |||
+ | Execute this on the local computer where you will watch the video stream | ||
+ | |||
+ | < | ||
+ | |||
+ | ---- | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | <WRAP center round box 100%> | ||
+ | ''< | ||
+ | |||
+ | '' | ||
+ | |||
+ | <sxh plain; gutter: false;> | ||
+ | genpasswd() { | ||
+ | tr -dc A-Za-z0-9 < / | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Where 36 is default length if no parameter is given | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **Usage**: | ||
+ | |||
+ | < | ||
+ | GVQ3ZHqrBRDzB1QwASA9uk6YsZPto2GWeRWR | ||
+ | |||
+ | # genpasswd 7 | ||
+ | qvPWx7N</ | ||
</ | </ | ||