Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#~/.mutt/aliases | |
alias nick Nicholas Levandoski <[email protected]> | |
alias tim Timothy Pitt <[email protected]> | |
alias steven Steven Jackson <[email protected]> | |
alias kaleb Kaleb Hornsby <[email protected]> | |
alias alug-admin nick, tim, steven |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Streaming your Linux desktop to Youtube and Twitch via Nvidia's NVENC and VAAPI:
Considerations to take when live streaming:
The following best practice observations apply when using a hardware-based encoder for live streaming to any platform:
Set the buffer size (-bufsize:v
) equal to the target bitrate (-b:v
). You want to ensure that you're encoding in CBR mode.
Set up the encoders as shown:
const s:pi2 = 2 * 3.14159265 | |
" pixel_ratio means the ratio of the character size. | |
const s:pixel_ratio = 2.0 / 1.0 | |
" ColorWheel draws a color wheel | |
function! ColorWheel() abort | |
const [center_x, center_y] = [&columns / 2.0, &lines / 2.0] | |
const radius = min([&columns, &lines]) / 8.0 * 3 | |
" loop over the distance multiplied by pixel_ratio in the horizontal | |
" direction because the character has a rectangular shape. |