I hereby claim:
- I am nxtreaming on github.
- I am phantun (https://keybase.io/phantun) on keybase.
- I have a public key ASDuu3oDkWY6TSFLLiCalBgn4E8krjrGy4ZSLRPdQcta6Qo
To claim this, I am signing this object:
| /* | |
| * loop_rtmp.c: A simple service to loop RTMP VOD streaming | |
| * | |
| * Usage: | |
| * loop_rtmp <playlist> <channel> | |
| * | |
| */ | |
| #include <unistd.h> | |
| #include <stdint.h> |
| # Author: Aram Grigorian <[email protected]> | |
| # https://github.com/aramg | |
| # https://github.com/opendns | |
| # | |
| # By default, nginx will close upstream connections after every request. | |
| # The upstream-keepalive module tries to remedy this by keeping a certain minimum number of | |
| # persistent connections open at all times to upstreams. These connections are re-used for | |
| # all requests, regardless of downstream connection source. There are options available | |
| # for load balacing clients to the same upstreams more consistently. | |
| # This is all designed around the reverse proxy case, which is nginxs main purpose. |
| # download linux kenel | |
| wget http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-headers-<version>_all.deb | |
| wgte http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-headers-<version>-generic_<version>_arm64.deb | |
| wget http://kernel.ubuntu.com/~kernel-ppa/mainline/<version>/linux-image-<version>-generic_<version>_amd64.deb | |
| # intsall linux kenel | |
| sudo dpkg -i *.deb | |
| # unintsall old kenel | |
| dpkg -l|grep linux-image |
| Curl | |
| feh --thumbnails --index-info "%n\n%wx%h" | |
| feh --list | |
| feh --draw-tinted --info "exifgrep '(Model|DateTimeOriginal|FNumber|ISO|Flash|ExposureTime|FocalLength.\\*)' '%f' | cut -d . -f 4-" | |
| feh -t modular/setup/environment/wallpaper/ --thumb-height 120 --thumb-width 120 -S width -n -d --cache-thumbnails | |
| mplayer -ss 670 -frames 1 -vo jpeg -nosound movie.avi | |
| mplayer -ao null -ss 0:51:48 -endpos 15 -vo gif89a:output=16.gif:fps=17 palette,format=bgr=24 Ololo.avi | |
| ffmpeg -i movie.mp4 -vcodec copy -acodec copy -ss 00:37:40 -t 00:01:10 /mnt/destvideo.mp4 |
| # General | |
| http_port 3130 | |
| http_port 3128 intercept | |
| https_port 3129 intercept ssl-bump cert=/etc/squid/ssl_cert/srtpl.pem generate-host-certificates=on dynamic_cert_mem_cache_size=4MB | |
| acl DiscoverSNIHost at_step SslBump1 | |
| acl NoSSLIntercept ssl::server_name_regex -i "/etc/squid/url.nobump" | |
| ssl_bump splice NoSSLIntercept | |
| ssl_bump peek DiscoverSNIHost |
| commit 8f30bc5614b4d83ce8c6dfe78a2706f34ba41c87 | |
| Author: removed-email | |
| Date: Sun Apr 22 01:29:17 2018 +0800 | |
| libsrt new option: pkt_size | |
| diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c | |
| index 0f9529d..e0b1bc4 100644 | |
| --- a/libavformat/libsrt.c | |
| +++ b/libavformat/libsrt.c |
| commit abc0cd221fcfe81c5bd44880e863b26d6481b230 | |
| Author: removed-email | |
| Date: Sun Apr 22 12:30:20 2018 +0800 | |
| fix typo | |
| diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c | |
| index e0b1bc4..426fdfb 100644 | |
| --- a/libavformat/libsrt.c | |
| +++ b/libavformat/libsrt.c |
| --- | |
| - hosts: all | |
| tasks: | |
| - name: Get mac addresses of all interfaces except local | |
| debug: | |
| msg: "{{ ansible_interfaces | difference(['lo']) | map('regex_replace', '^(.*)$', 'ansible_\\1' ) | map('extract', hostvars[inventory_hostname], 'macaddress') | list }}" |
| Add-Type -TypeDefinition @' | |
| using System; | |
| using System.Runtime.InteropServices; | |
| namespace ProcessInfo | |
| { | |
| public class NativeMethods | |
| { | |
| [DllImport("User32.dll", SetLastError = true)] | |
| public static extern bool CloseDesktop( |
I hereby claim:
To claim this, I am signing this object: