just to not wrestle with sudo and exec
$ sudo apt-get update
$ sudo apt-get install gosu| socat \ | |
| -v -d -d \ | |
| TCP-LISTEN:1234,crlf,reuseaddr,fork \ | |
| SYSTEM:" | |
| echo HTTP/1.1 200 OK; | |
| echo Content-Type\: text/plain; | |
| echo; | |
| echo \"Server: \$SOCAT_SOCKADDR:\$SOCAT_SOCKPORT\"; | |
| echo \"Client: \$SOCAT_PEERADDR:\$SOCAT_PEERPORT\"; | |
| " |
| #! /bin/bash | |
| # | |
| # Diffusion bilibili live avec ffmpeg | |
| # Make sure you have FFmpeg installed in your mac | |
| # list avfoundation devices | |
| ffmpeg -f avfoundation -list_devices true -i "" | |
| # change the param after `-i` and `-f flv` |
| #!/bin/bash | |
| # file: minecraft-input.sh | |
| # date: 2017-12-01 | |
| # license: GPLv3 https://www.gnu.org/licenses/gpl-3.0.txt | |
| # author: nanpuyue <nanpuyue@gmail.com> https://blog.nanpuyue.com | |
| # | |
| # 依赖:zenity xdotool xclip | |
| # | |
| # 使用方法: | |
| # 将脚本绑定快捷键,不带参数的用于聊天,带-i参数的用于书写告示牌, 例如: |
Just plug in your own values for registry and repo/image name.
registry='localhost:5000'
name='my-image'
curl -v -sSL -X DELETE "http://${registry}/v2/${name}/manifests/$(
curl -sSL -I \
-H "Accept: application/vnd.docker.distribution.manifest.v2+json" \| # 2017-10-01T14:14:44+00:00 | |
| 108.175.32.0/20 | |
| 108.175.34.0/24 | |
| 108.175.35.0/24 | |
| 192.173.64.0/18 | |
| 198.38.100.0/24 | |
| 198.38.101.0/24 | |
| 198.38.108.0/24 | |
| 198.38.109.0/24 |
| /** | |
| Open Source Software Licenses | |
| PUBLUS | |
| Copyright(c) 2013-2014 ACCESS CO., LTD. All rights reserved. | |
| This software includes all or part of the following open source software which is available under each license terms and conditions as follows: | |
| * Backbone.js 0.9.2 |
| http://download.xs4all.nl/test/10GB.bin | |
| http://ftp.iinet.net.au/test500MB.dat | |
| http://lg-tor.fdcservers.net/10GBtest.zip | |
| http://lg.ams2-c.fdcservers.net/10GBtest.zip | |
| http://lg.chi2-c.fdcservers.net/10GBtest.zip | |
| http://lg.den2-c.fdcservers.net/10GBtest.zip | |
| http://lg.fra2-c.fdcservers.net/10GBtest.zip | |
| http://lg.la2-c.fdcservers.net/10GBtest.zip | |
| http://lg.lon-c.fdcservers.net/10GBtest.zip | |
| http://lg.mad-c.fdcservers.net/10GBtest.zip |
| sudo apt-get install ssh | |
| sudo apt-get install rsync | |
| sudo apt install openssh-client | |
| sudo apt install openssh-server | |
| ssh localhost | |
| ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa | |
| cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys |