2024年6月20日

ffmpeg相关

摘要: 常用 xdpyinfo|grep name" or "dimensionsxrandr 查看分辨率 源码 https://ffmpeg.org/releases/ffmpeg-7.0.1.tar.gz https://ffmpeg.org/releases/ffmpeg-4.4.4.tar.gz 编 阅读全文

posted @ 2024-06-20 09:45 heysong 阅读(1) 评论(0) 推荐(0) 编辑

2024年6月5日

VNC相关

摘要: 配置vnc 1. sudo apt install tigervnc-standalone-server 2. vncpasswd生成password在~/.vnc/password 3. vim ~/.vnc/vnc.conf,内容为 $localhost = "no"; $geometry = 阅读全文

posted @ 2024-06-05 15:11 heysong 阅读(2) 评论(0) 推荐(0) 编辑

2024年6月3日

DBeaver相关

摘要: 配置driver add a special parameter in the dbeaver.ini file: -Ddbeaver.drivers.configuration-file=c:\some-path\dbeaver-drivers-config.xml 新建或编辑dbeaver-de 阅读全文

posted @ 2024-06-03 09:51 heysong 阅读(1) 评论(0) 推荐(0) 编辑

2024年4月23日

js常见问题

摘要: Chrome 88后更新了更为激进的省电策略[1],导致后台非活动页面中setInterval、setTimeout回调的执行间隔拉长到1分钟以上。 这里有a56爆大奖在线娱乐很巧妙的方法可以强制标签页不进入非活动状态(利用了播放视频时标签页不会休眠的机制),而且不需要改动业务代码,只需要将下面的代码放到页面JS脚 阅读全文

posted @ 2024-04-23 13:42 heysong 阅读(1) 评论(0) 推荐(0) 编辑

2024年4月15日

C的常用实现

摘要: 可变参数 stdarg.h 参考 https://www.tutorialspoint.com/c_standard_library/stdarg_h.htm 阅读全文

posted @ 2024-04-15 09:53 heysong 阅读(2) 评论(0) 推荐(0) 编辑

2024年3月25日

vscode常用

摘要: 自动定位到文件 settings中查找auto reveal,将设置为true 阅读全文

posted @ 2024-03-25 09:43 heysong 阅读(8) 评论(0) 推荐(0) 编辑

2024年3月21日

nvm的使用

摘要: 常用问题 <!-- Newer Node.js requires the following to avoid an "ERR_OSSL_EVP_UNSUPPORTED" error when WebPack attempts to use its default hash (MD4) for co 阅读全文

posted @ 2024-03-21 09:39 heysong 阅读(2) 评论(0) 推荐(0) 编辑

2024年2月6日

cygwin编译memcached

摘要: 编译 cygwin安装make,gcc-core,gcc-g++, libgcc1, libgccpp1, pkg-config, vim, nano, wget, curl 依赖libevent,安装libevent 下载memcached源码,./configure --prefix=/usr/ 阅读全文

posted @ 2024-02-06 22:54 heysong 阅读(3) 评论(0) 推荐(0) 编辑

2024年1月30日

nextjs

摘要: 重要,讲page.tsx和layout.tsx的角色和作用 page.tsx是内容,如果没有这个文件,会404没显示内容 layout.tsx可以将layout上的组件共享给下面所有pages(比如link可以给下面所有pages共用),其中的children是下面所有的page.tsx或layou 阅读全文

posted @ 2024-01-30 11:30 heysong 阅读(11) 评论(0) 推荐(0) 编辑

2024年1月29日

Angular

摘要: 参考:https://angular.io/tutorial/first-app 阅读全文

posted @ 2024-01-29 23:18 heysong 阅读(2) 评论(0) 推荐(0) 编辑