-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.mysqldump -uroot -pxxxxx --all-databases > all.sqlmysql用mys...
分类:
数据库 时间:
2014-10-09 14:33:03
阅读次数:
298
近日由于在U3D项目中要使用到数据传递(C++ DLL的数据传递给U3D中的C#),其中涉及到需要使用C#的指针。直接编译会出现以下错误Unsafecode requires the 'unsafe' command line option to be specified。 下面是我总结的解决办法:...
分类:
其他好文 时间:
2014-10-09 13:53:43
阅读次数:
359
直接上源码不做解释自己看吧Option ExplicitPrivate Declare Function DrawText Lib "user32" Alias "DrawTextA" (ByVal hdc As Long, ByVal lpStr As String, ByVal nCount A...
Mac在Lion版本之后,默认隐藏了“资源库”文件夹,如果有时我们又需要访问它,该怎么办呢?方法一打开“Finder”,打开“前往”菜单时按住“Option”键。方法二我们也可设置Finder能够直接访问“资源库”文件夹,不要让其隐藏打开“终端”,输入以下命令:chflags nohidden ~/...
分类:
其他好文 时间:
2014-10-09 01:50:17
阅读次数:
160
在说数据库分表之前,先随便聊聊Zabbix的一些参数的优化吧,其实我也不是很懂,只是机器上了1500+,楞着头皮去调一下参数首先是几个Poller的调整:###Option:StartPollers(处理监控项的东西)###Option:StartIPMIPollers(母鸡干什么用的,暂时没用,设为0)###Option:StartPo..
分类:
数据库 时间:
2014-10-09 00:22:38
阅读次数:
544
Control rhythmbox inside EmacsControl rhythmbox inside EmacsIt is until recently that I came across a configuration option that emacs cansend shell co...
分类:
其他好文 时间:
2014-10-07 22:33:54
阅读次数:
177
工作过程中,为了监控状态,经常要不断地重复执行某个命令,因此写了个脚本来简化操作#!/bin/bash
#filename:redo.sh
#usage:redo.sh[-ddelaytime][-ccount]command
#默认间隔时间为15s,无限循环执行
delay=15
count=-1
whilegetoptsd:c:OPTION
do
case$OPTIONin
d)delay=$OPT..
分类:
其他好文 时间:
2014-10-06 04:18:19
阅读次数:
242
T1 >>> 创建一个新的selectvar $newSelect = $(""); // 注意转义\T2 >>> 创建一个新的option var $option = $("1");T3 >>> 将option添加进数组 options方式一:$newSelect.append($option.....
分类:
Web程序 时间:
2014-10-05 00:08:27
阅读次数:
229
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1416题目大意:一个老师带他的一群学生去旅游。带走的这群学生整体必须满足给出四个条...
分类:
其他好文 时间:
2014-10-04 22:18:27
阅读次数:
327
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1620
题意:
给出一个文本串和若干个模式串,问模式串是否在文本串中出现过。
分析:
简单粗暴的AC自动机模板题,要注意模式串可能有重复的情况。
/*
*
* Aut...
分类:
其他好文 时间:
2014-10-04 21:14:17
阅读次数:
327