<!doctypehtml>
<html>
<head>
<title>益司CMS-PC与手机建站集成</title>
<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<linkhref="__PUBLIC__/bootstrap/css/bootstrap...
分类:
其他好文 时间:
2014-05-12 03:54:09
阅读次数:
253
1.dos工程路径下执行(c:home/trunk/src下):rubyscript/generatemigrationAddPermissionsData(名字随便起)生成时间戳文件classAddPermissionsData<ActiveRecord::Migrationdefself.upp=Permission.create({:name=>‘张三‘,:parent_id=>‘367‘,:deleted=>‘0‘,:act..
分类:
数据库 时间:
2014-05-12 03:49:00
阅读次数:
330
实例3:读写字节文件,每次读入一个缓存里面。#include<stdio.h>#include<stdlib.h>#defineMAXLEN1024intmain(){FILE*fpin;FILE*fpout;unsignedcharbuf[MAXLEN];intc;fpout=fopen("c:\\dest.jpg","wb");if((fpin=fopen("c:\\test.jpg","rb"))!=NULL){c=fread(buf,s..
分类:
编程语言 时间:
2014-05-12 03:47:54
阅读次数:
244
XBMC快捷键配置文件:/usr/share/xbmc/system/keymaps/keyboard.xml<FullscreenVideo>
<keyboard>
<period>StepForward</period>
<comma>StepBack</comma>
<quote>SmallStepBack</quote>
<opensquarebracket>BigStepFor..
分类:
系统相关 时间:
2014-05-12 03:26:23
阅读次数:
417
在web项目中,ajax运用非常频繁,今天就给大家展示下DjangoajaxPost的使用方法templates模板---------------------index.html<html>
<header></header>
<body>
<p>name:<inputtype="text"name="nickname"/></p>
<inputclass="nam..
分类:
其他好文 时间:
2014-05-12 03:23:21
阅读次数:
359
<!doctypehtml>
<html>
<head>
<title>益司CMS-PC与手机建站集成</title>
<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<linkhref="__PUBLIC__/bootstrap/css/bootstrap...
分类:
其他好文 时间:
2014-05-12 03:13:07
阅读次数:
236
先执行:rubyscript/generatemigrationadd_change_flag_to_userschange_flag:Boolean生成时间序列文件:db/migrate/20131016034104_add_changeflag_to_users.rb内容:classAddchangeflagToUsers<ActiveRecord::Migrationdefself.upadd_column:users,:change_flag,:booleanen..
分类:
其他好文 时间:
2014-05-12 03:10:04
阅读次数:
368
实例2:读取字符文件,每次读入一个缓存里面。#include<stdio.h>#include<stdlib.h>#defineMAXLEN1024intmain(){FILE*fin;FILE*fout=fopen("c:\\dest.txt","wt");charbuf[MAXLEN];if((fin=fopen("c:\\test.txt","rt"))!=NULL){char*c=fgets(buf,MAXLEN,fin);while(..
分类:
编程语言 时间:
2014-05-12 02:57:48
阅读次数:
251
使用VMWare安装Ubuntu14.04,经过一周的折腾,VMWare从7到8,再到10,10.0.2几个版本来回折腾,终于可以成功的使用VM-tools自带的工具进行文件共享了。...
分类:
其他好文 时间:
2014-05-11 20:47:17
阅读次数:
387
转载请注明出处:http://blog.csdn.net/u012860063
#include
#include
using namespace std;
#define lson l , m , rt << 1
#define rson m + 1 , r , rt << 1 | 1
//lson和rson分辨表示结点的左儿子和右儿子
//rt表示当前子树的根(root),也就是...
分类:
其他好文 时间:
2014-05-11 18:55:14
阅读次数:
277