草庐IT

your_script

全部标签

使用新版burp时出现A JNI error has occurred, please check your installation and try again

使用新版burp时出现AJNIerrorhasoccurred,pleasecheckyourinstallationandtryagain在bp路径下按住shift点击鼠标右键打开powershell然后输入命令java-jarburpsuite_pro_v2021.5.1.jar出现如下报错信息Error:AJNIerrorhasoccurred,pleasecheckyourinstallationandtryagainExceptioninthread“main”java.lang.UnsupportedClassVersionError:burp/StartBurphasbeenco

spark报错:WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI...

1报错描述在使用spark跑任务时,进度条突然停止,并且warning了,而且持续…WARNTaskSchedulerImpl:Initialjobhasnotacceptedanyresources;checkyourclusterUItoensurethatworkersareregisteredandhavesufficientresources2分析&解决翻译报错:初始作业未接受任何资源;请检查群集UI以确保工作进程已注册并且有足够的资源ok,那么就从两个角度出发:1、检查群集UI以确保工作进程已注册2、有足够的资源2.1集群节点未完全开启如果开启的是集群模式的情况下,要保证三个节点的

spark报错:WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI...

1报错描述在使用spark跑任务时,进度条突然停止,并且warning了,而且持续…WARNTaskSchedulerImpl:Initialjobhasnotacceptedanyresources;checkyourclusterUItoensurethatworkersareregisteredandhavesufficientresources2分析&解决翻译报错:初始作业未接受任何资源;请检查群集UI以确保工作进程已注册并且有足够的资源ok,那么就从两个角度出发:1、检查群集UI以确保工作进程已注册2、有足够的资源2.1集群节点未完全开启如果开启的是集群模式的情况下,要保证三个节点的

ERROR: Cannot find command ‘git‘ - do you have ‘git‘ installed and in your PATH

虚拟环境中,在配置coco数据集的API时出现以下错误(py37)C:\Users\HASEE>pipinstallgit+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPICollectinggit+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI Cloninghttps://github.com/philferriere/cocoapi.gittoc:\users\hasee\appdata\local\temp\pip-r

ERROR: Cannot find command ‘git‘ - do you have ‘git‘ installed and in your PATH

虚拟环境中,在配置coco数据集的API时出现以下错误(py37)C:\Users\HASEE>pipinstallgit+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPICollectinggit+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI Cloninghttps://github.com/philferriere/cocoapi.gittoc:\users\hasee\appdata\local\temp\pip-r

谷歌插件inject注入脚本与content script基于Promise+async/await 同步通信实现过程

背景因为 web page 和 content script 是两个隔离环境,在 web page(普通网页) 中有 CSP 安全机制,而在 mac m1 环境,MV3 版本下无法修改 response.header 这个 bug 半年前反馈给谷歌,后续也没见结果,所以,想在 web page 网页中直接请求远程 url 是走不通的,只有借助 content script 来协助请求数据,但是这里牵涉到两个步骤,能否实现异步转同步方式来处理这个过程?前置知识content script 如果要访问服务端,需要将服务端的域名放在 host_permissions 中,这样 content scr

谷歌插件inject注入脚本与content script基于Promise+async/await 同步通信实现过程

背景因为 web page 和 content script 是两个隔离环境,在 web page(普通网页) 中有 CSP 安全机制,而在 mac m1 环境,MV3 版本下无法修改 response.header 这个 bug 半年前反馈给谷歌,后续也没见结果,所以,想在 web page 网页中直接请求远程 url 是走不通的,只有借助 content script 来协助请求数据,但是这里牵涉到两个步骤,能否实现异步转同步方式来处理这个过程?前置知识content script 如果要访问服务端,需要将服务端的域名放在 host_permissions 中,这样 content scr

使用Fody时,CS-SCRIPT动态代码无法找到程序集

FODY会将相关的程序集处理成资源文件,CS_SCRIPT强制要求引用的程序集必须是文件@@@codepublic overrideIEvaluatorReferenceAssembly(Assemblyassembly) { if (assembly!=null)//thischeckisneededwhentryingtoloadpartialnameassembliesthatresultinnull { if (assembly.Location.IsEmpty()) th

使用Fody时,CS-SCRIPT动态代码无法找到程序集

FODY会将相关的程序集处理成资源文件,CS_SCRIPT强制要求引用的程序集必须是文件@@@codepublic overrideIEvaluatorReferenceAssembly(Assemblyassembly) { if (assembly!=null)//thischeckisneededwhentryingtoloadpartialnameassembliesthatresultinnull { if (assembly.Location.IsEmpty()) th

Java Script 原型链原理与继承

所有对象都有隐式原型;原型也是对象,也有隐式原型.functionUser(){}console.log(User.prototype);functionUser(){}varu=newUser();console.log(u.hasOwnProperty);Object.prototype.hasOwnProperty因为Object的原型上有这个函数,所以同一条原型链上的u1也能使用它.console.log(u.hasOwnProperty===Object.prototype.hasOwnProperty);Object.prototype.a=1;functionUser(){}va