随笔分类 -  日常记录

摘要:find . -type f -exec touch {} \; 阅读全文
posted @ 2020-12-29 15:41 manhelp 阅读(217) 评论(0) 推荐(0)
摘要:下载gcc的源码包 https://mirrors.aliyun.com/gnu/gcc/ # yum -y install gcc # yum -y install gcc-c++ # yum -y install bzip2 gcc依赖了mpfr、gmp、mpc 和is这四个库,现在在gcc的文 阅读全文
posted @ 2020-12-22 17:22 manhelp 阅读(2043) 评论(0) 推荐(0)
摘要:版本选择 wget https://cmake.org/files/... ./bootstrap --prefix=/usr gmake gmake install 阅读全文
posted @ 2020-12-02 19:15 manhelp 阅读(116) 评论(0) 推荐(0)
摘要:TYPE=EthernetPROXY_METHOD=noneBROWSER_ONLY=noBOOTPROTO=staticDEFROUTE=yesIPV4_FAILURE_FATAL=noIPV6INIT=yesIPV6_AUTOCONF=yesIPV6_DEFROUTE=yesIPV6_FAILU 阅读全文
posted @ 2020-09-03 14:39 manhelp 阅读(111) 评论(0) 推荐(0)
摘要:C:\Users\user\Documents\gitignore_global.txt 阅读全文
posted @ 2020-08-11 13:49 manhelp 阅读(609) 评论(0) 推荐(0)
摘要:查找大于800M的文件 find / -type f -size +800M 查找缓存文件列表 du -ah --max-depth=1 /root/.cache/vmware/ 阅读全文
posted @ 2020-08-05 12:00 manhelp 阅读(846) 评论(0) 推荐(0)
摘要:centos 7 $ git clone https://github.com/protocolbuffers/protobuf.git$ cd protobuf$ git submodule update --init --recursive$ ./autogen.sh $ ./configure 阅读全文
posted @ 2020-06-10 13:31 manhelp 阅读(499) 评论(0) 推荐(0)
摘要:https://wizardforcel.gitbooks.io/100-gdb-tips/show-version.html 阅读全文
posted @ 2020-04-09 13:47 manhelp 阅读(176) 评论(0) 推荐(1)
摘要:yum -y install nginxyum -y i php php-fpm systemctl start nginx systemctl start php-fpm yum install php-bcmathsystemctl reload nginx.servicesystemctl r 阅读全文
posted @ 2020-03-31 18:23 manhelp 阅读(500) 评论(0) 推荐(0)
摘要:get请求 //得到session对象NSURLSession *session = [NSURLSession sharedSession]; NSURL *url = [NSURL URLWithString:@"http://localhost:80/video"]; //创建一个任务NSUR 阅读全文
posted @ 2019-11-23 16:59 manhelp 阅读(484) 评论(0) 推荐(0)
摘要:// 64位编码//先将string转换成dataNSData *data = [string dataUsingEncoding:NSUTF8StringEncoding];NSData *base64Data = [data base64EncodedDataWithOptions:0];NSS 阅读全文
posted @ 2019-11-23 16:57 manhelp 阅读(557) 评论(0) 推荐(0)
摘要:一、很多同学疑问既然es6已经出来的了,为很莫写完es6语法还要把他转换成es5,这不是脱裤子放屁吗? ECMAScript 6(ES6)的发展速度非常之快,但现代浏览器对ES6新特性支持度不高,所以要想在浏览器中直接使用ES6的新特性就得借助别的工具来实现。 Babel是一个广泛使用的转码器,ba 阅读全文
posted @ 2019-10-09 20:17 manhelp 阅读(1325) 评论(0) 推荐(0)
摘要:curl -sL https://rpm.nodesource.com/setup_8.x | bash - yum install nodejs 阅读全文
posted @ 2019-09-24 11:14 manhelp 阅读(313) 评论(0) 推荐(0)
摘要:yum -y install subversion mkdir -p /work/svn && cd /work/svn //创建版本库 svnadmin create test //增加用户名、密码 vim test/conf/passwd [users] manhelp=123456 //增加用 阅读全文
posted @ 2019-09-24 09:54 manhelp 阅读(262) 评论(0) 推荐(0)
摘要:pyinstaller -F -w Main.py 阅读全文
posted @ 2019-08-29 20:49 manhelp 阅读(149) 评论(0) 推荐(0)
摘要:delimiter // drop procedure if exists operate_tables // create procedure operate_tables (in db_name varchar(100), in operate varchar(100)) begin decla 阅读全文
posted @ 2019-08-29 18:30 manhelp 阅读(309) 评论(0) 推荐(0)
摘要:top -c 查看进程ID pstree PID 查看线程树 pstack PID 查看堆栈 阅读全文
posted @ 2019-08-28 15:18 manhelp 阅读(1768) 评论(0) 推荐(0)
摘要:1、 FN + 左方向键:向左选择一行 2、FN + 右方向键:向右选择一行 3、FN + 上方向键:跳到页头 4、FN + 下方向键:跳到页尾 5、FN + SHIFT + 左方向键|上方向键:从当前选择到页头 6、FN + SHIFT + 右方向键|下方向键:从当前先择到页尾 7、CONTROL 阅读全文
posted @ 2019-08-25 18:46 manhelp 阅读(469) 评论(0) 推荐(0)
摘要:查看文件编码file -i filename递归转换(包括子文件夹)find default -type d -exec mkdir -p utf/{} \;find default -type f -exec iconv -f GBK -t UTF-8 {} -o utf/{} \;这两行命令将d 阅读全文
posted @ 2019-08-14 17:33 manhelp 阅读(883) 评论(0) 推荐(0)
摘要:将/etc 目录压缩为etc.rar 命令为: 将etc.rar 解压 命令为: 阅读全文
posted @ 2019-08-14 12:24 manhelp 阅读(143) 评论(0) 推荐(0)