执行export C_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platf?orm/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2:$C_IN...
分类:
其他好文 时间:
2014-11-16 18:38:19
阅读次数:
214
Allegro从.brd文件中导出器件封装打开.brd文件,File→Export→Libraries,除了No libraries dependencies之外,所有选项都勾选上,设定好存放路径之后,Export!!注意事项:1. 一般的,将.dra, .pad, .psm, .fsm, .fsm...
分类:
其他好文 时间:
2014-11-16 13:23:10
阅读次数:
217
安装Mysql后报错:
InnoDB: Apply batch completed
141115 15:04:36 InnoDB: Started; log sequence number 0 44233
141115 15:04:36 [ERROR] /usr/libexec/mysqld: Ca...
分类:
数据库 时间:
2014-11-15 16:56:39
阅读次数:
256
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#installpackagesinstallT..
分类:
其他好文 时间:
2014-11-15 06:42:14
阅读次数:
143
saltstack实现远程配置管理功能首先是要先匹配到对应的targetminion,然后才会将命令发送到匹配到的minion上去执行。这里介绍两种比较强大的匹配方法,一是创建节点组;二是使用复合匹配器。节点组将不同的主机分配到不同的组中去,便于实现主机的集中化管理,接下来首先看salt..
分类:
其他好文 时间:
2014-11-14 17:57:11
阅读次数:
306
所用插件:TCODF//导出pdf public function export_pdf($order_sn){ require_once(FCPATH .'../shared/plugin/tcpdf/tcpdf.php'); $pdf = new TCPDF(PDF_PAGE_ORI...
分类:
Web程序 时间:
2014-11-14 17:22:04
阅读次数:
212
Spring Batch_Configuring a Step for Restart spring官方文档:http://docs.spring.io/spring-batch/trunk/reference/html/configureStep.html#stepRestart 当一个普通的 job 处于complete 的状态的时候,是不能...
分类:
编程语言 时间:
2014-11-14 16:02:23
阅读次数:
335
1.在myapp目录下新建文件export.py#coding:utf-8importsysreload(sys)sys.setdefaultencoding(‘utf-8‘)importunicodecsvascsvimportdatetime,typesfromdjango.contrib.adminimportutilasadmin_utilfromdjango.utils.translationimportugettext_lazyas_fromdjango.httpimportHtt..
分类:
其他好文 时间:
2014-11-14 15:59:51
阅读次数:
123
Spring Batch_Parallel Steps_使用并行的Step spring 官方文档:http://docs.spring.io/spring-batch/trunk/reference/html/scalability.html#scalabilityParallelSteps As long as the application logic that n...
分类:
编程语言 时间:
2014-11-14 12:45:44
阅读次数:
324
#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#installpackagesinstallT..
分类:
其他好文 时间:
2014-11-14 01:44:19
阅读次数:
189