Creating partition
mkpart "EFI system partition" fat32 33MiB 512MiB
Setting partition flag for boot
set 1 esp on
Creating partition
mkpart "EFI system partition" fat32 33MiB 512MiB
Setting partition flag for boot
set 1 esp on
| table inet nat { | |
| chain prerouting { | |
| type nat hook prerouting priority dstnat; | |
| iifname eth0 jump external-pre | |
| } | |
| chain external-pre { | |
| tcp dport 8022 mark set 1 dnat ip to 10.200.200.2:ssh | |
| tcp dport 8022 mark set 1 dnat ip6 to [fd00::2]:ssh | |
| tcp dport 8080 mark set 1 dnat ip to 10.200.200.2:http |
Chinese Brand "ITworks" , Model TW891, distributed in France and Belgium by Darty
| ffmpeg \ | |
| -i audio_name.mp3 \ | |
| -vn -ac 2 -acodec aac \ | |
| -f segment -segment_format mpegts -segment_time 10 \ | |
| -segment_list audio_pl.m3u8 \ | |
| audio_segment%05d.ts |
for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.
Terminal, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOSBCompare to BCompare.bak: mv BCompare BCompare.bakBCompare , and chmod a+ux BCompare : touch BCompare && chmod a+ux BCompareBCompare with text editor, insert the script :#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
| 将路由器刷为OpenWrt |
| import axios from 'axios'; | |
| class Service { | |
| constructor() { | |
| let service = axios.create({ | |
| headers: {csrf: 'token'} | |
| }); | |
| service.interceptors.response.use(this.handleSuccess, this.handleError); | |
| this.service = service; | |
| } |
Chinese Brand "ITworks" , Model TW891, distributed in France and Belgium by Darty
| # /etc/systemd/system/rails-puma.service | |
| # rvm wrapper default systemd rails | |
| # systemctl enable rails-puma | |
| # systemctl start rails-puma | |
| [Unit] | |
| Description=Rails Puma Webserver | |
| Wants=network-online.target | |
| After=network.target network-online.target | |
在 DLNA SERVER直接相连的路由器运行
iptables -t mangle -I PREROUTING -d 239.255.255.250/32 -j TEE --gateway 192.168.0.101
192.168.0.101是 DLNA 播放设备的 IP
至于在192.168.0.0/24网段广播,可能需要两个路由器都对 DLNA 通告特殊处理