Skip to content

Instantly share code, notes, and snippets.

View RisingInIris2017's full-sized avatar
🥭
Mangonized

Isaac Tadokoro RisingInIris2017

🥭
Mangonized
View GitHub Profile
ERROR: Signature extraction failed:
Traceback (most recent call last): File "site-packages\youtube_dl\extractor\youtube.py", line 1191,
in _decrypt_signature File "site-packages\youtube_dl\extractor\youtube.py", line 1102,
in _extract_signature_function File "site-packages\youtube_dl\extractor\youtube.py", line 1163,
in _parse_sig_js File "site-packages\youtube_dl\extractor\common.py", line 808,
in _search_regex youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name;
please report this issue on https://yt-dl.org/bug .
Make sure you are using the latest version;
type youtube-dl -U to update.
Be sure to call youtube-dl with the --verbose flag and include its complete output.
@RisingInIris2017
RisingInIris2017 / Proxifier_SSR-V2rayN.md
Last active April 4, 2024 14:39
Proxifier+SSR/V2rayN代理软件教程

写在前面

现在很多人都有魔法上网手段,常用的魔法上网工具有 SSR 和 V2rayN 两种。

这两种工具已经相当强大,能够使我们坐地日行八万里,访问我们喜爱的网站。

但是这两种工具也有美中不足之处:似乎它们只支持浏览器访问网页时走代理,

而对于除了浏览器以外的应用程序,就并没有通过代理,导致一些被墙的软件不能很好地使用。

@RisingInIris2017
RisingInIris2017 / 新手向搭建VPN笔记.md
Created June 22, 2019 10:00
新手向搭建VPN笔记

##VPS购买 https://hosteons.com/ VPS/RDP KVM VPS OpenVZ VPS 最好选择KVM Root Password输入密码 选择操作系统 选择Debian 9 或者Ubuntu 16 名字可以随便填 地址要输入真实的邮箱地址 电话号码也可以随便输

@RisingInIris2017
RisingInIris2017 / spawners.json
Created July 18, 2019 03:02
RD Spawner Settings
{
"name" : "demo:spawners",
"spawners" : [
{
"type" : "BLAZE",
"potentials" : [
{"name" : "minecraft:vindication_illager"},
{"name" : "minecraft:illusion_illager"},
{"name" : "minecraft:vex"}
],
@RisingInIris2017
RisingInIris2017 / VMware 15.5.0+CentOS 7 联网笔记.md
Created September 24, 2019 16:14
VMware 15.5.0+CentOS 7 联网笔记

使用虚拟机软件VMware 15.5.0,网络环境为无线网络(wifi)上网,无线网卡不支持桥接。

  1. 安装CentOS 7 Minimal,启动后ping baidu.com不通,报Name or service not known;
  2. VMware - 编辑 - 虚拟网络编辑器 - vmnet8网卡设为NAT模式,子网IP设为与主机IP不同网段的IP,NAT设置中将网关设为与主机不同的网段,且末位用2,避免用1发生冲突。
  3. 点击DHCP设置,记下起始IP地址和终止IP地址。
  4. 启动CentOS,用根用户root登录,输入nmtui-edit回车。
  5. 找到默认网卡ens33,将IPV4 CONFIGURATION改为Manual,展开;
  6. Addresses填写DHCP设置中起始IP地址和终止IP地址中的任意一个地址,Gateway填写NAT设置中设置的网关IP,DNS填写223.5.5.5(阿里DNS)。
  7. 保存退出,ping 114.114.114.114和ping baidu.com,如果前者不通说明设置有误,如果前者通后者不通说明DNS有问题,如果两者都通,成功联网。
@RisingInIris2017
RisingInIris2017 / Banitems.yml
Created September 29, 2019 07:45
植物魔法物品ban表(下载即用)
version: '1.1'
BOTANIA_TERRAPICK:
Confiscate: true
Reason: 该物品已经被禁用
CurrentId: 6506
damage@0:
CurrentName: Terra Shatterer
nbt@Terra Shatterer:
NBTLabel: mana
NBTValue: normal|2147483646
@RisingInIris2017
RisingInIris2017 / removeStick2Plank.zs
Created October 6, 2019 02:45
CT解决HeatandClimate和Planttech2的合成冲突问题
//Solve HeatandClimate and Planttech2 recipe inflict
recipes.removeShaped(<minecraft:planks:*>, [[<minecraft:stick>,<minecraft:stick>], [<minecraft:stick>,<minecraft:stick>]]);
#include<stdio.h>
#include<stdlib.h>
int main()
{
int input;
scanf("%d",&input);//get the input number
int a[10];//get ready for the table of 8*n
int b[10];//get ready for the turth table
int i=0;//take the possible max of n
int oct=1;
@RisingInIris2017
RisingInIris2017 / wavandecho.m
Last active March 18, 2022 02:19
MATLAB实现回声加入和消除
[yuanshi,fs]=audioread('文件名.wav'); %提取原始声音信号
sound(yuanshi,fs);%听原始声音
yuanshichangdu=length(yuanshi);
yuanshidanshengdao=yuanshi(1:yuanshichangdu);%取原始声音的一个声道
subplot(1,3,1);plot(yuanshidanshengdao);title('原始信号波形');
%yuanshifft=fft(yuanshi,N);% 对原始信号进行傅立叶变化
%subplot(2,3,4);plot(abs(yuanshifft));title('原始信号幅值');
yanchi=input('回声间隔时长:');
@RisingInIris2017
RisingInIris2017 / crash.txt
Created February 10, 2020 11:14
Crash-report for CCL and Forestry
---- Minecraft Crash Report ----
WARNING: coremods are present:
MekanismCoremod ([模组-通用机械]Mekanism-1.12.2-9.8.1.383.jar)
TransformerLoader ([模组-开放式电脑]OpenComputers-MC1.12.2-1.7.5.192.jar)
EnderCorePlugin (EnderCore-1.12.2-0.5.73-core.jar)
IELoadingPlugin (ImmersiveEngineering-core-0.12-92.jar)
JechCore ([JEI-通用拼音搜索]JustEnoughCharacters-1.12.0-3.4.5.jar)
GTCELoadingPlugin ([模组-格雷]gregtech-1.12.2-1.9.0.481.jar)
AstralCore ([模组-星辉魔法]astralsorcery-1.12.2-1.10.20.jar)