ILD

tar preserve nanoseconds timestamps
2025-3-25
今天用tar解压的时候,发现文件的modify time,只精确到秒。$ stat linux-6.12.y/Makefile File: linux-6.12.y/Makefile Size: 68794 Blocks: 136 IO Block: 4096

ffprobe get image or video width and height
2025-5-21
$ ffprobe -v quiet -select_streams v:0 -show_entries stream=width,height -of json /work/IMG_4429.JPG{ "programs": [ ], "streams": [ {

cmake初学
2025-6-4
最近在移植qt6,这个家伙使用cmake配置的,各种配置错误。找不到package。好家伙,还是来学习入门一下cmake吧。入门和Makefile一样。cmake也有一个文件,文件名为:CMakeLists.txt,cmake的语句都写在这个文件里面。cmake通常将源码目录和二进制目录分开。在二进

cmake第二课:language
2025-6-5
CMake language包括:comment,commands,variablescomments注释以#开头Variables变量名是case sensitive,只能包含数字、字母和下划线。cmake自动定义了很多变量,以CMAKE_开头。见下文:https://cmake.org/cmak

escape squence of any ascii charater
2025-7-15
最近想生成一个全ff的文件,需要将/dev/zero的0转换成f,输出到文件。$ dd if=/dev/zero bs=4 count=1 | tr '\0' $'\xff' | hexdump0000000 ffff ffff0000004$ dd if=/dev/zero bs=4 count=

Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.