一、备份 1.锁定数据库: use admin db.runCommand({fsync:1,lock:1}) { “info” : “now locked against writes, use db.fsyncUnlock() to unlock”, “seeAlso” : “http://www.mongodb.org/display/DOCS/fsy...
分类:
数据库 时间:
2014-09-11 17:37:42
阅读次数:
237
[转自Mitchell Chu:http://blog.useasp.net/archive/2013/05/30/force-ie8-or-higher-or-webBrowser-control-use-specific-version-to-display-pages.aspx】强制IE浏览器...
分类:
Web程序 时间:
2014-09-11 17:03:12
阅读次数:
613
MongoDB基本使用成功启动MongoDB后,再打开一个命令行窗口输入mongo,就可以进行数据库的一些操作。输入help可以看到基本操作命令:show dbs:显示数据库列表show collections:显示当前数据库中的集合(类似关系数据库中的表)show users:显示用户use :切...
分类:
数据库 时间:
2014-09-11 12:30:31
阅读次数:
260
1、需要在Options for Target -> Code Generation 中勾选Use MicroLIB;2、需要加入下面这个函数:int fputc(int ch, FILE *f){USART_SendData(USART1,(uint8_t)ch);while (USART_Get...
分类:
其他好文 时间:
2014-09-10 20:57:10
阅读次数:
219
我厂最近新买了新办公楼,新办公室那边的电话系统:包括软交换,数字中继网关,E1和VOIP,交由我去配置。多功能程序员 :)下面是配置freeswitch过程中的一些记录,贴在这里与大家分享。更多详细资料请参考fs官方以及中文官网。1.freeswitch src里,有个perl脚本, add_use...
分类:
其他好文 时间:
2014-09-10 17:30:50
阅读次数:
835
<?php
namespace Admin;
use Zend\ModuleManager\ModuleManager;
class Module
{
public function init(ModuleManager $moduleManager)
{
$sharedEvents = $moduleManager->getEventManager()...
分类:
其他好文 时间:
2014-09-10 12:48:00
阅读次数:
149
if you need append some string to element and need set some attribute on these string at the same time,you'b better use appendTo funtion.because you c...
分类:
移动开发 时间:
2014-09-10 12:14:20
阅读次数:
183
1. Create Table type in Sqlserver2008.CREATE TYPE dbo.WordTable as table( [WordText] [nchar](100) NULL, [WordCount] [int] NULL)And the target t...
分类:
Web程序 时间:
2014-09-10 12:04:40
阅读次数:
152
1,打开情景模式的设置双卡铃声的feature:MTK_MULTISIM_ROINGTONE_SUPPORT,Music中却不能设置双卡铃声。
希望能在Music添加菜单“Us as SIM1/SIM2 ringtone”
1,string.xml,添加新的string ringtone_as_sim1_menu和ringtone_as_sim2_menu :
Use as S...
分类:
移动开发 时间:
2014-09-10 10:54:30
阅读次数:
411
官方:Applies To: Windows 8, Windows 8.1For a Windows Server®2012 core installation that is not connected to the Internet, you can use Windows PowerShell...