码迷,mamicode.com
首页 >  
搜索关键字:lt    ( 149670个结果
Bootstrap_02_流动网格布局
<!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
ruby向数据库用语句插入数据
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
C语言文件操作(三)
实例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
[linux]XBMC快捷键修改
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
Django ajax Post
在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
Bootstrap_01_网格布局
<!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
ruby向表里加入字段
先执行: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
C语言文件操作(二)
实例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
Ubuntu14 中安装 VMware10 Tools工具<2>
使用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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!