Install xrdp in macOS
PrerequisitesInstallBuildimplicit declaration error while building查了下可以指定-std=c89,不过试了试发现没有效果于是直接去看源代码,报错的这行看起来是用来记录LOG的,全局搜索发现别的地方也有记录log的逻辑,复制过来,仍然报错,查找后发现是因为没有stdio.h头函数的原因,引入之后终于编译成功 编译好了xrdp,又要变异xorgxrdp解决了文档中提到的X11的include问题,又遇到了新的问题 参考这里的解决方案换成老版本的xorgxrdp稳定版,但是还是报错 TipsUnofficial guide: [WIP] xrdp on macOS (with ulalaca), Building on OSX (not official)
About `xray` config file
Config file structureAcknowledgements Project X 配置文件概述 流媒体解锁进阶篇-1:Youtube位置修正
Custom profile
File System configurationMount using cifs12sudo apt install cifs-utils sudo mount -t cifs -o uid=***,username=***,password=***,iocharset=utf8 //nas/folder /mnt/nas 当然也可以使用nfs Mount NTFS in Ubuntu123456789sudo apt install nfs-kernel-server fusesudo blkid | grep ntfssudo mkdir /mnt/mydrivemount -t ntfs /dev/sdg1 /mnt/mydrivesudo nano /etc/fstab/dev/sdg1 /mnt/mydrive ext4 defaults 0 0Ctrl+x 按Y保存并关闭文件。sudo umount /mnt/mydrive#...
Inspect into NVIDIA
Inspect into NVIDIA如何监控真实的GPU Util 起因:GPU Utilization is a Misleading Metric NVIDIA-测量多流工作负载的 GPU 占用率 理解 NVIDIA GPU 性能: Utilization vs. Saturation GPU & CUDA 粗浅理解 Aliyun-DCGM NSight-systems userguide GitHub NVIDIA/dcgm-exporter GitHub NVIDIA/DCGM
Useful DERP
Install custom DERP on seversRun DERP server on a server1234567891011121314151617181920212223242526272829303132DERP_HOST=derp.example.comSTUN_PORT=12345DERP_PORT=12346~/go/bin/derper \ -c ~/.derper.key \ -a :${DERP_PORT} -http-port -1 \ -stun-port ${STUN_PORT} \ -hostname ${DERP_HOST} \ --certmode manual \ -certdir ~/.acme.sh/${DERP_HOST} \ --verify-clientsecho "[Unit]Description=Tailscale derp...
Untitled
...
Learn to Use `Golang`
Tips golang 编程规范 - 项目目录结构 Standard Go Project Layout
Outside
Cloud Service ProvidersOracle CloudCloudflareDNS可以让CF协助托管域名,挂CF的CDN CF Workers 什么是ProxyIP:是用于workers转发CF托管网站的服务器IP,用于workers访问CF系网站,参考这里 什么是CF反代IP:理解为非官方的CF节点,或许可以理解为用户请求经过CF CDN的落地IP?参考这里 Cloudflare Trace API通过访问https://xxx/cdn-cgi/trace可以查看当前访问的CF节点IP例如访问https://nodeseek.com/cdn-cgi/trace, https://www.cloudflare.com/cdn-cgi/trace 12345678910111213141516fl:Cloudflare 服务器实例h:网站域名ip:当前访问者的IP地址ts:时间戳,格式为“秒.毫秒”(bash中生成同款时间戳的命令为date...