How to configure your Mac to use DNS over TLS in five easy steps:
-
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
brew install stubby
-
Edit the configuration file:
using UnityEngine; | |
using UnityEngine.XR; | |
using UnityEngine.XR.Management; | |
public class XRSubSystemTest : MonoBehaviour | |
{ | |
public void Start() | |
{ | |
var xrSettings = XRGeneralSettings.Instance; | |
if (xrSettings == null) |
#EXTM3U name="bj-unicom-iptv" | |
#EXTINF:-1,CCTV1 | |
rtp://239.3.1.1:8000 | |
#EXTINF:-1,CCTV2 | |
rtp://239.3.1.2:8004 | |
#EXTINF:-1,CCTV4 | |
rtp://239.3.1.4:8216 | |
#EXTINF:-1,CCTV7 | |
rtp://239.3.1.7:8024 | |
#EXTINF:-1,CCTV9 |
How to configure your Mac to use DNS over TLS in five easy steps:
Install Stubby with Homebrew (https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby):
brew install stubby
Edit the configuration file:
from http://zqdevres.qiniucdn.com/data/20170907091103/index.html | |
- download ngingx with RTPM module http://nginx-win.ecsds.eu/download/ *nginx 1.7.12.1 Lizard.zip | |
- unzip | |
- create start.bat script | |
@echo off | |
title Start Stream | |
cd /d "C:\nginx" | |
start nginx | |
exit |
#!/bin/bash | |
# installation jetbrains | |
j_url="https://data.services.jetbrains.com/products/download" | |
tmp_dir="$HOME/tmp_jb" | |
install_dir="/opt" | |
if [ "$(whoami)" != "root" ] | |
then | |
echo "Sorry, you are not root." | |
exit 1 | |
fi |
Port: 1080 | |
1. Create a file /YOUR PATH/gitproxy.sh with content: | |
#!/bin/sh | |
nc -X 5 -x 127.0.0.1:1080 "$@" | |
2. Edit your ~/.gitconfig | |
# For git:// |
#!/bin/bash | |
#requires: socat | |
#author: fangpsh | |
#关于采集的Haproxy指标和报警阈值设置请参考:https://github.com/iask/haproxymon | |
set -eu | |
STATS_SOCKET="/var/lib/haproxy/stats" | |
HOST=`cat /etc/hostname` | |
DATE=`date +%s` | |
tmp_info="/tmp/haproxy_info" |
Python Cheatsheet | |
================= | |
################################ Input & Output ############################### | |
name = input('please enter your name: ') | |
print('hello,', name) | |
ageStr = input('please enter your age: ') | |
age = int(ageStr) | |
git config --global https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
在 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 通告特殊处理