前言 由于工作需要,最近重新开始拾掇shell脚本。虽然绝大部分命令自己平时也经常使用,但是在写成脚本的时候总觉得写的很难看。而且当我在看其他人写的脚本的时候,总觉得难以阅读。毕竟shell脚本这个东西不算是正经的编程语言,他更像是一个工具,用来杂糅不同的程序供我们调用。因此很多人在写的时候也是想到 ...
分类:
系统相关 时间:
2017-08-11 11:00:17
阅读次数:
229
#define __EXPORTS 1 #ifdef __cplusplus #ifdef __EXPORTS #define DLL_EXPORT extern "C" __declspec (dllexport) #else #define DLL_EXPORT extern "C" __dec... ...
分类:
其他好文 时间:
2017-08-10 18:10:18
阅读次数:
149
1.找到java安装路径 /usr/libexec/java_home 2.设置JAVA_HOME $ vim ~/.bash_profile 在文件的最后加入: export JAVA_HOME=$(/usr/libexec/java_home) 然后执行加载,就可以看到最新的 JDK 目录被赋值 ...
分类:
编程语言 时间:
2017-08-10 17:00:55
阅读次数:
172
之前做数据迁移的时候遇到乱码的一些坑,总结一下。 一般导入导出: db2 export to /home/xxxx.del of del select * from tablename db2 import from /home/xxxx.del of del insert into tablena ...
分类:
数据库 时间:
2017-08-09 23:44:27
阅读次数:
249
1、先安装postgres数据库,yum安装。yum install postgresql96yum install postgresql96-server配置环境变量export PGDATA=/var/lib/pgsql/9.6/dataexport PATH=/usr/pgsql-9.6/bi ...
分类:
其他好文 时间:
2017-08-09 22:17:06
阅读次数:
2318
需要引入的jar包: 1、前端 2、后端接收,并生成原始的List数据 3、下载 4、List写入到Excel对象中 参考链接: http://blog.csdn.net/renlei0109/article/details/36906409 http://bbs.csdn.net/topics/3 ...
分类:
编程语言 时间:
2017-08-09 10:06:17
阅读次数:
233
以下在Exchange2010上测试通过Get-Mailbox-ResultSize10000|selectdisplayname,PrimarySmtpAddress|Export-Csv-Encodingutf8123.csv-NoTypeInformation
分类:
其他好文 时间:
2017-08-08 19:38:24
阅读次数:
209
How to export an instantiation of a Standard Template Library (STL) class and a class that contains a data member that is an STL object Summary This a ...
分类:
其他好文 时间:
2017-08-07 20:36:09
阅读次数:
198
基本操作 通用操作 1. export 显示所有的环境变量,也可以获取到某个变量的详细信息; export # 显示所有 echo $SHELL # 只显示SHELL 2. whereis 使用系统自动构建的数据库来搜索可执行文件; whereis python # 如果搜不到就不输出 3. whi ...
分类:
系统相关 时间:
2017-08-07 16:46:42
阅读次数:
218