Skip to content

Instantly share code, notes, and snippets.

@linghutf
linghutf / ReadMe.txt
Created January 18, 2021 08:51 — forked from robnadin/ReadMe.txt
Mac Symantec Uninstall
********* RemoveSymantecMacFiles.command 7.0.49 *********
WARNING: This script will remove all files and folders created by Symantec
Mac OS X products (LiveUpdate Administration Utility files) and
any files within those folders. Therefore, you will lose ALL files
that reside in those folders, including any that you have created.
Usage: RemoveSymantecMacFiles.command [-CcdeFfghIikLlmpQqRrV] [-QQ] [-re] [volume ...]
Summary: If no option or volume is specified, then all Symantec files are
@linghutf
linghutf / bitsort.cc
Last active April 11, 2016 07:34
博客位图排序源码
void BitSort(FILE *fp,const int num,FILE *fout)
{
if(fp==NULL||num<=0) return;
rewind(fp);
boost::dynamic_bitset<> bitmap(UINT_MAX);
std::unordered_map<unsigned int,unsigned int> count;
bitmap.reset();
unsigned int a;