I wrote this four years ago, so instead use this command:
$ docker rmi $(docker images -q -f dangling=true)
| 1. Convert our ".jks" file to ".p12" (PKCS12 key store format): | |
| keytool -importkeystore -srckeystore oldkeystore.jks -destkeystore newkeystore.p12 -deststoretype PKCS12 | |
| 1.1. List new keystore file contents: | |
| keytool -deststoretype PKCS12 -keystore newkeystore.p12 -list | |
| 2. Extract pem (certificate) from ".p12" keysotre file: | |
| FROM centos:centos6 | |
| RUN yum install -y mysql mysql-server php php-mysql php-pdo php-gd php-mbstring php-bcmath httpd tar | |
| RUN curl -L -o RackTables-latest.tar.gz 'http://sourceforge.net/projects/racktables/files/latest/download?source=files' | |
| RUN tar xzf RackTables-latest.tar.gz | |
| RUN cd $(find -type d -name 'RackTables-*') && rmdir /var/www/html && cp -a wwwroot /var/www/html | |
| RUN touch /var/www/html/inc/secret.php && chmod 666 /var/www/html/inc/secret.php | |
| ADD init.sql /usr/local/share/racktables/init.sql |
| ## NHKのネット配信サービスであるらじる★らじる。 | |
| # 従来は https://gist.github.com/riocampos/5656450 のように rtmpdump を使う必要がありましたが、 | |
| # 2017年9月から m3u8 による配信へ変更になったようです。m3u8 なので10秒単位での録音になります。 | |
| # また 2021年4月に更新され、以前の M3U8URL は2022年2月末で廃止されました。 | |
| ## 録音コマンド(m4a) | |
| ffmpeg -i M3U8URL -c copy outputfilename.m4a | |
| # ファイルサイズ的に m4a が最も小さくなる | |
| # m4a ファイルのときだけ "-c copy" オプションが使える。 |
Adaptive bed mesh is merged into klipper master branch. You can use this feature without this custom macro. Official klipper adaptive bed mesh