cls [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") foreach ($webApplication in Get-SPWebApplication) { Write-Host Write-Hos...
分类:
其他好文 时间:
2014-07-07 12:54:49
阅读次数:
276
host = $host; $this->username = $username; $this->password = $password; $this->dbname = $dbname; } public function open() ...
分类:
数据库 时间:
2014-07-07 12:13:05
阅读次数:
178
db.class.php 主要方法host = $host; $this->username = $username; $this->password = $password; $this->db_name = $db_name; } /** ...
分类:
Web程序 时间:
2014-07-07 11:47:26
阅读次数:
194
新建立了一个replicat set,登录到primary里,show dbs一看吓一跳local数据库竟然占用了80多G的空间[root@wxlab31 bin]# ./mongo --host 10.1.1.31 --port 27017MongoDB shell version: 2.4.6c...
分类:
数据库 时间:
2014-07-07 11:10:21
阅读次数:
294
最近在linux上面用mysqldump导出数据,放在windows系统中导入就会出现中文乱码,然后就会导致出现: Unknown MySQL server host和Can't connect to the server的错误。解决mysql导入导出数据乱码问题就是统一导入导出的编码,linux默...
分类:
数据库 时间:
2014-07-02 18:53:23
阅读次数:
225
WEB浏览器与WEBserver建立连接后,除了将请求URL中的资源路径发送给WEBserver外,还会将URL中的主机名部分作为HTTP请求消息的Host头发送给WEBserver。比如,在浏览器地址栏中输入http://www.it315.org,浏览器发送给www.it315.org主机上的W...
分类:
其他好文 时间:
2014-07-02 17:42:06
阅读次数:
266
#!/usr/bin/pythonimportMySQLdbdefnew_mail_mysql(ak):printakconn=MySQLdb.connect(host=‘m3306.sae.sina.com.cn‘,user=‘sae_ol‘,passwd=‘7b149edb22ae7526‘,db=‘sae‘,port=3306)cur=conn.cursor()sql="selectnamefromappwhereaccesskey=‘%s‘"%akcur.execute(sql)app_name=cu..
分类:
数据库 时间:
2014-07-02 16:14:12
阅读次数:
285
前面本来说是做h264编码的 研究了两天发现ffmpeg里的h264编码似乎是要信赖第三方库x264 还是怎么简单怎么来吧所以就整了个mpeg编码 ffmpeg移植前面我有一篇ffmpeg解码里已经给了 具体链接在这http://blog.csdn.net/hclydao/article/details/18546757
怎么使用那里面也已经说了 这里主要是通过ffmpeg将yuv422格式转换...
分类:
移动开发 时间:
2014-07-02 15:22:06
阅读次数:
325
转自:http://robert.penz.name/658/howto-access-mtp-devices-via-usb-on-ubuntu-12-04/ A friend asked me how he can access his Nexus 7 device via USB on hi....
分类:
其他好文 时间:
2014-07-02 13:51:19
阅读次数:
289
测试参数:sysbench--test=/root/sysbench0.5/sysbench/tests/db/insert.lua
--mysql-table-engine=innodb--oltp-table-size=1000000
--max-requests=0--max-time=300--num-threads=16
--oltp-tables-count=10--report-interval=10
--mysql-host=10.8.8.100--mysql-port=3312--..
分类:
数据库 时间:
2014-07-02 06:44:36
阅读次数:
280