[置顶] linux find string in files

摘要: http://blog.csdn.net/duguduchong/article/details/7716908 查找目录下的所有文件中是否含有某个字符串 find .|xargs grep -ri "IBM" 查找目录下的所有文件中是否含有某个字符串,并且只打印出文件名 find .|xargs 阅读全文

posted @ 2019-01-23 17:08 liujx2019 阅读(647) 评论(0) 推荐(0) 编辑

2021年5月28日

Generate sha256 with OpenSSL and C++

摘要: By Adam Lamers https://stackoverflow.com/questions/2262386/generate-sha256-with-openssl-and-c void sha256_hash_string (unsigned char hash[SHA256_DIGES 阅读全文

posted @ 2021-05-28 14:09 liujx2019 阅读(108) 评论(0) 推荐(0) 编辑

2021年5月25日

ShellExView Shell Extensions Manager

摘要: http://www.nirsoft.net/utils/shexview.html 阅读全文

posted @ 2021-05-25 13:47 liujx2019 阅读(51) 评论(0) 推荐(0) 编辑

2021年5月24日

Mounted Folders 系列

摘要: https://docs.microsoft.com/en-us/windows/win32/fileio/volume-mount-points 阅读全文

posted @ 2021-05-24 11:13 liujx2019 阅读(30) 评论(0) 推荐(0) 编辑

2021年5月21日

Windows ShellExt Overlay Icon

摘要: How to overlay an icon over existing shell objects in 3 easy steps Elias Bachaalany Introduction Have you ever wondered how to draw/overlay small icon 阅读全文

posted @ 2021-05-21 17:53 liujx2019 阅读(160) 评论(0) 推荐(0) 编辑

2021年5月20日

Determining volume cluster size without using GetDiskFreeSpace

摘要: https://stackoverflow.com/questions/11373603/determining-volume-cluster-size-without-using-getdiskfreespace You can use DeviceIoControl with IOCTL_STO 阅读全文

posted @ 2021-05-20 17:40 liujx2019 阅读(50) 评论(0) 推荐(0) 编辑

Getting the cluster size of a hard drive

摘要: 方法一 https://stackoverflow.com/questions/11373603/determining-volume-cluster-size-without-using-getdiskfreespace BOOL WINAPI GetDiskFreeSpace( __in LPC 阅读全文

posted @ 2021-05-20 17:34 liujx2019 阅读(35) 评论(0) 推荐(0) 编辑

Windows IOCTL 获取 Volume 信息 (FSCTL_GET_NTFS_VOLUME_DATA)

摘要: #define UNICODE 1 #define _UNICODE 1 /* The code of interest is in the subroutine GetDriveGeometry. The code in main shows how to interpret the result 阅读全文

posted @ 2021-05-20 16:38 liujx2019 阅读(288) 评论(0) 推荐(0) 编辑

2021年4月28日

适合带的午饭

摘要: 目前是一天做一次饭,包括当晚晚饭和隔天带到图书馆去的午饭。其中包括一份蔬菜,一份炒菜,一份米饭。 蔬菜:洗干净以后直接沸水煮,没油盐,我吃习惯了倒也吃的舒服。 炒菜部分:土豆烧牛肉 烧鸡肉 烧排骨(如果买得到的话)(其实基本上红烧的菜加热都还是很好吃)蘑菇炒肉末(肉末太好用了!不用事先处理~)青豆炒 阅读全文

posted @ 2021-04-28 13:23 liujx2019 阅读(96) 评论(0) 推荐(0) 编辑

2021年4月8日

vim设置多行缩进为4个空格长度而不是8个空格长度, 例如 :123,125 >

摘要: .vimrc 变量名 缩写 含义 (no)smartindent si 基于autoindent的一些改进 tabstop=X ts 编辑时一个TAB字符占多少个空格的位置。 shiftwidth=X sw 使用每层缩进的空格数。 (no)expandtab (no)et 是否将输入的TAB自动展开 阅读全文

posted @ 2021-04-08 18:06 liujx2019 阅读(267) 评论(0) 推荐(0) 编辑

判断程序是否有 Administrator 权限

摘要: CheckTokenMembership function (securitybaseapi.h) 12/05/2018 2 minutes to read The CheckTokenMembership function determines whether a specified securi 阅读全文

posted @ 2021-04-08 17:51 liujx2019 阅读(185) 评论(0) 推荐(0) 编辑

导航