macos idea启动报Error occurred during initialization of VM agent library failed to init: instrument 去掉路径中的空格,尤其是idea本身名字里的
使用ffmpeg把mkv快速转换为mp4格式 使用流拷贝选项加速转换,例如ffmpeg -i No.Time.to.Die.2021.720p.CAMRip.x264-1XBET.mkv -c copy No.Time.to.Die.2021.720p.CAMRip.x264-1XBET.mp4
新款macbook pro发布了,但为什么不推荐购买 太贵 不如thinkpadosx 系统也不适应竟然不支持右键新建文件只支持新建文件夹要自己写一段程序才行```apple scripton run {input, parameters} (* Your script goes here *) tell application "Finder" set selection to make new file at (get insertion location) end tell ...
IOS开发如何导入第三方类库 不怕大家笑话,我真的是第一次导入Plausible.framework这个库,拖进去之后发现怎么也引入不了头文件,比如#import "xxx.h" #import "yyy.h",各种尝试,各种痛苦。也参考了很多文章,有的说修改Header search path, 添加参数..., 都搞不定,最后我想这个东西应该是有一定的规律的吧,不能随便写就能导入的,于是自己试着导入UIKIT里的
setsid运行多条命令 1.sh#!/bin/bashsetsid sh -c "/tmp/2.sh || echo 'hello or or'" > /tmp/2.log 2>&1 &echo "1 exit"exit2.sh#!/bin/bashwhile true; do echo "hello2"; sleep 3; done
解决k8s的statefulset里的pod如果不ready就ping不通对方 在headless service上加```service.alpha.kubernetes.io/tolerate-unready-endpoints": "true"```
git如何clone大仓库,避免超时 1.git clone --depth=1 <your git repo url>2.git pull --unshallow如果还是失败,则逐步加大深度,执行:git pull --depth=<your depth >参考https://segmentfault.com/q/1010000000409170...
java中解析日期SimpleDateFormat失败后如何处理呢 最近在开发中用到其他人写好的解析日期的工具类,发现解析完后是当前日期查看源码发现,解析异常后会返回new Date()这样导致外部程序不会收到异常,从而导致了潜在的时间问题建议throws Exception及时通知caller
there is no action mapped by xxx 虽然一直在用struts,但在大型程序启动完后,出现此错误还是感觉很奇怪,花了很多时间思考是不是权限出了问题最后还是发现struts.xml有两个导致的