linux memory fragmentation

Using SVID2/XPG interface to check heap memory. before all: The GNU Allocator (The GNU C Library) read this for a outline for gnu c malloc. mallinfoarena + hblkhd is the tot...

阅读全文

ffplay

see build_ffmpeg on linux for how to build ffmpeg easily 12345export LD_LIBRARY_PATH=~/code//ffmpeg/install/lib:.cd ~/code//ffmpeg/install/bin# run./ffplay -i /e/RES/Videos/h2645/s...

阅读全文

embeding doc of jackfrued/Python-100-Days

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051#!/bin/bash# Initialize the timestamp variable with the current date and timetsf=$(mkte...

阅读全文

H264 CABAC解析I帧mb_type

标准相关节 Table 9-34 – Syntax elements and associated types of binarization, maxBinIdxCtx, and ctxIdxOffset Table 9-39 - the assignment of ctxIdx increments (ctxIdxInc) to binIdx for ...

阅读全文

ffmpeg build on alpine

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949...

阅读全文

ubuntu install docker

docker installation12345678910111213for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done# Add Docker&#x...

阅读全文

xray 流量路径的简单分析

外部流量入口此处port=10001 可以切换成其他端口 然后所有这类流量先通过 dokodemo-door 通通传入38001 123456789101112131415{ "inbounds": [ { "listen": "0.0.0.0", "...

阅读全文

server init

最近重装了服务器,记录以下重装的操作 创建用户lull1234sudo suadduser lull# 添加到sudo组以使用sudo命令,就不要手动更改sudoers了usermod -aG sudo lull 配置SSH登录选项123456789mkdir ~/.ssh# 查看本地公钥 cat ~/.ssh/id_rsa.pubecho "x...

阅读全文

ubuntu 升级操作系统

1234567891011# 更新当前包sudo apt update; sudo apt upgrade -ysudo apt dist-upgradesudo apt autoremovesudo apt install update-manager-core# rebootsudo do-release-upgrade --check-dist-upg...

阅读全文

ubuntu 磁盘占用过高

磁盘占用工具 ncdu左右键进出目录 123456789sudo apt install ncdusudo sucd /ncdu# 15.2 GiB [##########] /var ...

阅读全文