var mytable = $(‘#datatables‘);
mytable.dataTable( {
"sDom": "<‘row-fluid‘<‘span6‘l><‘span6‘f>r>t<‘row-fluid‘<‘span6‘i><‘span6‘p>>",
"sPaginationType": "bootstrap",
...
分类:
其他好文 时间:
2014-08-16 11:17:40
阅读次数:
815
昨儿利用python+win32com将网页的表单导出到本地excel,遇到了输出乱码问题,解决方法:将x改为x.decode('utf-8')setCall('sheet1',row,col,x.decode('utf-8'))我的部分源码:self.xlBook = self.xlApp.Wor...
分类:
编程语言 时间:
2014-08-16 11:03:30
阅读次数:
249
Mysql--error:noqueryspecifiedmysql下抛出Noqueryspecified错误: mysql>showmasterstatus\G; ***************************1.row*************************** File:mysql-bin.000003 Position:215 Binlog_Do_DB: Binlog_Ignore_DB: 1rowinset(0.00sec) ERROR: Noquer..
分类:
数据库 时间:
2014-08-16 09:49:31
阅读次数:
302
http://stackoverflow.com/questions/7892334/get-size-of-all-tables-in-databaseSELECT t.NAME AS TableName, s.Name AS SchemaName, p.rows AS Row...
分类:
数据库 时间:
2014-08-16 00:57:29
阅读次数:
289
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-08-15 23:47:19
阅读次数:
302
花了一天时间小键盘基本功能已完成,先看看效果图吧! 默认: Shift: Caps Lock:Button styleView CodeWindow styleView Code存在的问题:还不能自动定位,弹出键盘需要手动控制,这些以后会解决的周末愉快!本文地址:http://...
分类:
其他好文 时间:
2014-08-15 19:29:29
阅读次数:
279
SQL>SELECTTABLE_NAME,(BLOCKS*8192/1024/1024)-(NUM_ROWS*AVG_ROW_LEN/1024/1024)"DatalowerthanHWMinMB"FROMUSER_TABLESWHEREtable_name='T1';TABLE_NAMEDatal...
分类:
其他好文 时间:
2014-08-15 17:46:29
阅读次数:
230
Pulse(lockObj)表示释放当前被lock的lockObj,容许其它线程调用。(相当于临时挂起当前线程)Wait(lockObj)表示等待当前被其它线程占用的lockObj。以下的代码将会交替运行两个线程:class TickTock { object lockOn = ...
分类:
编程语言 时间:
2014-08-15 17:39:39
阅读次数:
219
#include
#include
#include
using namespace std;
struct Data
{
void assign(int x,int y,int z)
{
row=x;
col=y;
val=z;
}
int row,col,val;
} data[730];
struct Node
...
分类:
其他好文 时间:
2014-08-15 16:02:29
阅读次数:
1129
Here another memory for speed implementation:class Solution {public: bool isValidSudoku(vector > &board) { size_t row_cnt = board.size(); ...
分类:
其他好文 时间:
2014-08-15 14:18:48
阅读次数:
194