[LeetCode] Find Duplicate File in System 在系统中寻找重复文件

 Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups
12次阅读

[TypeStyle] Generate static css + html files using TypeStyle

You can easily use TypeStyle to build static html files with encapsulated CSS. You can use this pattern to generate email and pdf template files. Sinc
7次阅读

[Tools] Fix Only Committed Files with Prettier and lint-staged

In this lesson we'll use prettier and lint-staged to run prettier only on files that have been changed and committed to git. This
3次阅读

[LeetCode] Design In-Memory File System 设计内存文件系统

 Design an in-memory file system to simulate the following functions:ls: Given a path in string format. If it is a file path, return a list that
19次阅读

error: unpacking of archive failed on file /usr/sbin/zabbix_agent;592e5bc3: cpio: open

 # lsattr /usr/----------I--e- /usr/lib64----------I--e- /usr/bin-------------e- /usr/libexec----i--------e- /usr/includelsattr: Operation not su
4次阅读

CVE-2017-7494 Linux Samba named pipe file Open Vul Lead to DLL Execution

catalogue1. 漏洞复现2. 漏洞代码原理分析3. 漏洞利用前提4. 临时缓解 && 修复手段 1. 漏洞复现1. SMB登录上去2. 枚举共享目录,得到共享目录/文件列表,匿名IPC$将会被跳过3. 从中过滤目录,检测是否可写(通过创建一个.txt方式实现)4.
19次阅读

Qt编译错误“GL/gl.h:No such file or directory”的解决方法

备注:1)操作系统:Ubuntu-14.04或12.042)Linux用户:root3)Qt版本:qt-linux-opensource-5.2.0-x86        为了迎接Qt的新纪元(从诺基亚移居到芬兰公司Digia家中
6次阅读

调试 Dockerfile - 每天5分钟玩转 Docker 容器技术(15)

包括 Dockerfile 在内的任何脚本和程序都会出错。有错并不可怕,但必须有办法排查,所以本节讨论如何 debug Dockerfile。先回顾一下通过 Dockerfile 构建镜像的过程:从 base 镜像运行一个容器。执行一条指令,对容器做修改。执行类似 docker commit 的操作
122次阅读

文件下载FileDownloader

原文地址:https://github.com/lingochamp/FileDownloader特点简单易用高并发灵活可选择性支持: 独立/非独立进程自动断点续传需要注意当下载的文件大小可能大于1.99GB(2^31-1=2_147_483_647 = 1.99GB)的时候, 请使用FileDow
7次阅读

在ubuntu 64位的机器上执行arm-linux-gcc提示 no such file or directory【转】

本文转载自:http://blog.csdn.net/sno_guo/article/details/17059381解压好了arm-linuxg-gcc 放到了$PATH路径下, 无论怎么执行都提示说: no such file or directory,可明明有这个文件的. N遍之后,
8次阅读