Skip to content

Instantly share code, notes, and snippets.

View hugo-'s full-sized avatar
🌴
On vacation

nifangnede hugo-

🌴
On vacation
View GitHub Profile
@hugo-
hugo- / test_iptv.m3u
Created April 30, 2021 08:52
测试一下m3u8
#EXTM3U
#EXTINF:-1,0 CCTV-1高清
http://ivi.bupt.edu.cn/hls/cctv1hd.m3u8
#EXTINF:-1,1 CCTV-2高清
http://ivi.bupt.edu.cn/hls/cctv2hd.m3u8
#EXTINF:-1,2 CCTV-3高清
http://ivi.bupt.edu.cn/hls/cctv3hd.m3u8
#EXTINF:-1,3 CCTV-4高清
http://ivi.bupt.edu.cn/hls/cctv4hd.m3u8
#EXTINF:-1,4 CCTV-5+高清
@hugo-
hugo- / apache, php, mysql for MAC OS X 10.11
Created September 20, 2016 05:00 — forked from aichbauer/apache, php, mysql for MAC OS X 10.11
How to install or run apache, php, and mysql on Mac OSX 10.11 with the Terminal
/**ALLOW HIDDEN FOLDER**/
defaults write com.apple.finder AppleShowAllFiles YES
sudo killall Finder
/**APACHE**/
sudo apachectl start
sudo apachectl stop
sudo apachectl restart

Sometimes we need to open Setting's Preferences not of our app, but of the iPhone itself. What should we do to acomplish this?

[UPDATE: Added Wallet And Apple Pay below]

[UPDATE: Changed prefs for Bluetooth]

keyboard

function FindProxyForURL(a,o){
var f="PROXY 0.0.0.0:9898";
var e="PROXY 180.97.33.108:80";
var c="PROXY 218.93.248.231:10087; DIRECT";
var b="PROXY 8.8.8.8:53";
var n=["ad.api.3g.youku.com","valf.atm.youku.com","valp.atm.youku.com","valf.atm.youku.com","mf.atm.youku.com","ad.api.3g.tudou.com","m.aty.sohu.com","agn.aty.sohu.com","ark.letv.com","n.mark.letv.com","de.as.pptv.com","xs.houyi.baofeng.net","pubads.g.doubleclick.net","bs.da.hunantv.com","miaozhen.com","log.da.hunantv.com","log.v2.hunantv.com","v2.log.hunantv.com","x.da.hunantv.com","sax.sina.cn","sax.sina.com.cn","mobi.adsage.com","service.cocounion.com","vfs.admaster.com.cn","vqq.admaster.com.cn","cm.ipinyou.com","lianmeng.admin5.com","union.admin5.com","lm.admin5.com","s.csbew.com","ad.vsnoon.com","googleads.g.doubleclick.net","de.soquair.com","api.mix.guohead.com"];
var m=[".fastapi.net",".inmobi.com",".adsmogo.com",".adsmogo.org",".adsmogo.mobi",".adsmogo.net",".adlive.cn",".sstc360.com",".ad-brix.com",".leadboltads.net",".joyingmobi.com"];
@hugo-
hugo- / HEHE.conf
Last active November 16, 2015 08:48 — forked from jason5ng32/surge.conf
Surge Configs ( Both 2 files are needed )
[General]
loglevel = notify
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24,100.64.0.0/10
bypass-tun = 0.0.0.0/8, 1.0.0.0/9, 1.160.0.0/11, 1.192.0.0/11, 10.0.0.0/8, 14.0.0.0/11, 14.96.0.0/11, 14.128.0.0/11, 14.192.0.0/11, 27.0.0.0/10, 27.96.0.0/11, 27.128.0.0/9, 36.0.0.0/10, 36.96.0.0/11, 36.128.0.0/9, 39.0.0.0/11, 39.64.0.0/10, 39.128.0.0/10, 42.0.0.0/8, 43.224.0.0/11, 45.64.0.0/10, 47.64.0.0/10, 49.0.0.0/9, 49.128.0.0/11, 49.192.0.0/10, 54.192.0.0/11, 58.0.0.0/9, 58.128.0.0/11, 58.192.0.0/10, 59.32.0.0/11, 59.64.0.0/10, 59.128.0.0/9, 60.0.0.0/10, 60.160.0.0/11, 60.192.0.0/10, 61.0.0.0/10, 61.64.0.0/11, 61.128.0.0/10, 61.224.0.0/11, 100.64.0.0/10, 101.0.0.0/9, 101.128.0.0/11, 101.192.0.0/10, 103.0.0.0/10, 103.192.0.0/10, 106.0.0.0/9, 106.224.0.0/11, 110.0.0.0/7, 112.0.0.0/9, 112.128.0.0/11, 112.192.0.0/10, 113.0.0.0/9, 113.128.0.0/11, 113.192.0.0/10, 114.0.0.0/9, 114.128.0.0/11, 114.192.0.0/10, 115.0.0.0/8, 116.0.0.0/8, 117.0.0.0/9, 117.128.0.0/10, 118.0.0.0/11, 118.64.0.0/10, 118.128.0.0
@hugo-
hugo- / surge_main.conf
Created October 28, 2015 01:57
Config for surge.app
# This config file was created for myself (@shanskc). You may want to add or remove some rules to make efficient use of the Internet.
# NOTE: this config requires Surge.app build 246+ or newer version.
# Update: Rules and configuration tuning
# 从243开始Surge 加入了proxy和rule分离的配置Override,此文件为rules main.conf,在你的proxy中你可以引入此conf
# eg: 下面为你的proxy.conf,只需引入此main.conf 即可.
# -----START-----
# #!PROXY-OVERRIDE:main.conf
#
# [Proxy]
# Proxy = custom, ip, port, Methor, password