适用于SQLServer2005的方法1 Backup Log DNName WITH no_log2 GO3 DUMP TRANSACTION DNName WITH no_log4 GO5 USE DNName 6 DBCC SHRINKFILE (2)7 GO说明:由于SQLServer200...
分类:
数据库 时间:
2014-07-22 22:56:16
阅读次数:
257
本文为本人原创,首发到炼数成金http://f.dataguru.cn/thread-138720-1-1.html。情况是这样的,我没有一个非常强劲的电脑来搞出一个性能非常NB的服务器集群,相信很多人也跟我差不多,所以现在把我的低配置集群经验拿出来写一下好了。我的配备:1)五六年前的赛扬单核处理器...
分类:
其他好文 时间:
2014-07-19 20:07:37
阅读次数:
294
#include
#include
using namespace std;
void hello()
{
cout<<"hello kitty"<<endl;
}
int main()
{
std::thread t(hello);
t.join();
return 0;
}...
分类:
编程语言 时间:
2014-07-18 23:03:18
阅读次数:
343
不是所有的OutofMemory exception都是内存问题。。。小心系统资源陷阱...
分类:
Web程序 时间:
2014-07-18 22:17:03
阅读次数:
451
Thread.currentThread().getStackTrace()[1]和new Exception().getStackTrace()[1]的战争...
分类:
其他好文 时间:
2014-07-18 22:15:59
阅读次数:
265
public static function upFile($r,$p='../images/link/',$type='gif,jpg,png',$named=0){ $newnames = null; //var_dump($r); forea...
分类:
其他好文 时间:
2014-07-18 21:10:05
阅读次数:
177
转载自:http://c4fun.cn/blog/2014/05/06/python-threading/python中关于多线程的操作可以使用thread和threading模块来实现,其中thread模块在Py3中已经改名为_thread,不再推荐使用。而threading模块是在thread之...
分类:
编程语言 时间:
2014-07-18 20:16:30
阅读次数:
310
什么是静默安装?既是可以在不提示用户的情况下,进行APK的安装。
有的时候,根据业务需求,需要实现静默安装APK,但是Android提供的安装接口是需要提示用户的前提下安装。
以下提供一个静默安装的解决方案(通过执行命令行的方式实现,需ROOT权限):
new Thread() {
public void run() {
Process process = null;
...
分类:
移动开发 时间:
2014-07-16 14:08:27
阅读次数:
259
直接放上我的代码,希望能给碰到同样问题的朋友提供帮助
Runnable runnable = new Runnable() {
public void run() {
ClipboardManager clipboard = (ClipboardManager)GameUtil.getIntance().getContext().getSystemSer...
分类:
其他好文 时间:
2014-07-16 13:50:37
阅读次数:
396
1、使用Thread+Handler实现非UI线程更新UI界面...
分类:
移动开发 时间:
2014-07-16 13:01:21
阅读次数:
221