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
# The general procedure here is adapted from the 7->8 guide here. https://www.tecmint.com/upgrade-centos-7-to-centos-8/ | |
# | |
# It is a curated list of my bash history. I entered other commands so hopefully I got the right ones here. | |
yum upgrade | |
reboot | |
dnf install epel-release | |
dnf install rpmconf | |
dnf install yum-utils | |
rpmconf -a # answer "n" to both things |
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
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y socat | |
VOLUME /foo | |
CMD socat UNIX-LISTEN:/foo/bar.sock - |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
#!/bin/sh | |
set -u | |
set -e | |
umask 0077 | |
prefix="/opt/openssh" | |
top="$(pwd)" | |
root="$top/root" | |
build="$top/build" |
location ^~ /demo { | |
alias /var/www/demo/; | |
autoindex on; | |
# set to on means use localtime | |
autoindex_localtime on; | |
# show size with unit 'MB' instead of 'Byte' | |
autoindex_exact_size off; | |
} |
bbs@debian:~$ gdb attach 1639 -ex cont | |
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git | |
Copyright (C) 2016 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "i686-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: |