This file contains hidden or 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
{ | |
"links": { "self": "/adapter-calypso/v3/query/node/64fddf8c-8c60-11ed-a0d0-ffc06583cfef" }, | |
"id": "64fddf8c-8c60-11ed-a0d0-ffc06583cfef", | |
"type": "CATALOGUE/SERIES", | |
"childTypes": { | |
"images": { "nodeTypes": ["CMS/IMAGE/MASTER"], "count": 13 }, | |
"first_ep": { "nodeTypes": ["ASSET/EPISODE"], "count": 1 }, | |
"shortforms": { "nodeTypes": ["ASSET/SHORTFORM/CLIP", "ASSET/SHORTFORM/THEATRICAL"], "count": 8 }, | |
"free_episodes": { "nodeTypes": ["ASSET/EPISODE"], "count": 1 }, | |
"clips": { "nodeTypes": ["ASSET/SHORTFORM/CLIP"], "count": 7 }, |
This file contains hidden or 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
// code --list-extensions | |
aaron-bond.better-comments | |
chaselen.v2ex-playground | |
christian-kohler.npm-intellisense | |
christian-kohler.path-intellisense | |
codezombiech.gitignore | |
dbaeumer.vscode-eslint | |
donjayamanne.githistory | |
eamodio.gitlens | |
esbenp.prettier-vscode |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:scte214="urn:scte:dash:scte214-extensions" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011" type="static" mediaPresentationDuration="PT2H37M1.662249995S" minBufferTime="PT2S"> | |
<Period id="0" duration="PT19M12.818333333S" start="PT0S"> | |
<BaseURL>https://akm.prd.media.h264.io/67349f7f-275e-4bfe-b183-16c40b59c005/</BaseURL> | |
<AdaptationSet subsegmentAlignment="true" subsegmentStartsWithSAP="1" id="18" lang="ca-ES" contentType="audio"> | |
<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="01003f7c-32b8-c8b0-3f83-daf841265ef2" value="cenc"></ContentProtection> | |
<ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"> | |
<cenc:pssh>AAACJnBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAgYGAgAAAQABAPwBPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBN |
This file contains hidden or 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
//dump eme代码:放到preload或者cp.js等最前面都行: | |
//dump_eme.js 代码参考:https://greasyfork.org/en/scripts/373903-eme-logger/code | |
//shaka也有个eme logger,作为chrome extension,vd里面loadExtension成功了,但是界面不知道怎么操作(https://github.com/shaka-project/eme_logger) 也可以考虑移植这个代码 | |
// ================================================================================================ | |
// from: https://greasyfork.org/en/scripts/373903-eme-logger/code | |
This file contains hidden or 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
{ | |
"data": { | |
"attributes": { | |
"airDate": "2001-11-16T00:01:00Z", | |
"alternateId": "5fa21f83-5609-461c-a7d6-91c4345a98ce", | |
"description": "On his 11th birthday, Harry Potter finds out that he is a wizard and is invited to attend Hogwarts School of Witchcraft and Wizardry.", | |
"isFamilyContent": true, | |
"isKidsContent": true, | |
"kidsContent": true, | |
"longDescription": "On his 11th birthday, Harry Potter finds out that he is a wizard and is invited to attend Hogwarts School of Witchcraft and Wizardry.", |
This file contains hidden or 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
! Description: filter csdn and some website | |
! Expires: 1 day (update frequency) | |
! Homepage: https://gist.github.com/wjx0912/dbcd36e673481b261eccc26dd90c3f29 | |
! License: GPL3 | |
! Title: uBlacklist Stack Overflow Translation | |
*://*.csdn.net/* | |
@*://www.cnblogs.com/* | |
@*://*.jb51.net/* |
This file contains hidden or 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
@echo off | |
::脚本也同步到这里: | |
::https://gist.github.com/wjx0912/460502939d1cde52813b53dcaa5dfc0f | |
::https://gist.githubusercontent.com/wjx0912/460502939d1cde52813b53dcaa5dfc0f/raw/windows_install.bat | |
::首先确保以下指令可用:(大多数时候winget,少数时候scoop,不要用choco) | |
::winget --version | |
::scoop --version | |
::订阅地址:也在gist里面,安装系统前先下载它 |
This file contains hidden or 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
var name = 'window' | |
var person1 = { | |
name: 'person1', | |
foo1: function () { | |
console.log(this.name) | |
}, | |
foo2: () => console.log(this.name), | |
foo3: function () { | |
return function () { |
This file contains hidden or 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
const HttpProxyAgent = require('https-proxy-agent') | |
const fetch = require('node-fetch') | |
const options = { | |
// agent: function (_parsedURL) { | |
// if (_parsedURL.protocol === 'http:') { | |
// return httpAgent | |
// } else { | |
// return httpsAgent | |
// } |
This file contains hidden or 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
function ajax(url, callback) { | |
console.log('ajax enter: ', url) | |
// 1、创建XMLHttpRequest对象 | |
var xmlhttp | |
if (window.XMLHttpRequest) { | |
xmlhttp = new XMLHttpRequest() | |
} else { // 兼容早期浏览器 | |
xmlhttp = new ActiveXObject('Microsoft.XMLHTTP') | |
} | |
// 2、发送请求 |
NewerOlder