码迷,mamicode.com
首页 >  
搜索关键字:add    ( 36740个结果
2124: 等差子序列 - BZOJ
Description给一个1到N的排列{Ai},询问是否存在1y then exit(x); 24 exit(y); 25 end; 26 27 procedure add(x,now:longint); 28 var 29 mid:longint; 30 begin 31 ...
分类:其他好文   时间:2014-05-23 03:02:46    阅读次数:1150
Add a system call on Ubuntu 13.04(x64) with x86_64
We added a system call to modify idt table, then programed it inmodify_idt.c1. Put our modify_idt.c file in/usr/src/linux-3.10.15/arch/x86/kernel2./us...
分类:其他好文   时间:2014-05-22 15:51:03    阅读次数:269
MySQL 查看约束,添加约束,删除约束 添加列,修改列,删除列
ALTER TABLE:添加,修改,删除表的列,约束等表的定义。查看列:desc 表名;修改表名:alter table t_book rename to bbb;添加列:alter table 表名 add column 列名 varchar(30);删除列:alter table 表名 drop...
分类:数据库   时间:2014-05-22 14:35:02    阅读次数:379
动态操作DOM节点js实现
近日再次翻看《javascript面向对象编程指南》这本书,读到浏览器环境一章,渐渐明白了js作为脚本语言,需要依托宿主环境来实现功能,从浏览器角度考虑,就是对浏览器的BOM和DOM的操作。DOM操作又可分为:访问、修改、删除、新建。每种操作都有独特的方法和属性。下面取dom节点的访问、新建和删除的功能实例来讲解(参考文章)。     function add()//动态添加表格的例子...
分类:Web程序   时间:2014-05-21 16:20:11    阅读次数:299
leetcode -day20 Add Two Numbers
1、 ?? Add Two Numbers  You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two num...
分类:其他好文   时间:2014-05-21 10:49:10    阅读次数:221
用alter关键字为Table增加新字段(sqlite)
ALTER TABLE sql-statement ::= ALTER TABLE [database-name .] table-name alteration alteration ::= RENAME TO new-table-name alteration ::= ADD [COLUMN] column-def     SQLite...
分类:数据库   时间:2014-05-21 08:10:45    阅读次数:344
GHUnit使用指南(翻译自GitHub)-IOS测试框架
Installing in iOS (Xcode 5) 1:首先你要有一个项目。LOL 2:添加一个新的测试target。(关于Target是什么,请参考我的另外一篇文章)最新版Xcode 将Add Target放在顶部栏 3:选择新的target的类型 4:将GHUnit框架放到新建的target中 5:打开Objective-C categories,...
分类:移动开发   时间:2014-05-21 07:49:12    阅读次数:399
LeetCode:Two Sum
题目:       Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up t...
分类:其他好文   时间:2014-05-21 07:42:18    阅读次数:230
Linux下git基本使用总结<2>
远程库推送与克隆 1.Linux下产生ssh key 命令行输入 ssh-keygen -t rsa -C "your  email"  则会在主目录下生成一个.ssh的目录,里面的id_rsa.pub为你ssh key密钥。 在登录github下,点击 account settings -> ssh key -> add ssh key 将你的key加入 此时,你就将这两个进行了一个绑...
分类:系统相关   时间:2014-05-21 06:28:30    阅读次数:396
定制django admin页面的跳转
在django admin的 change_view, add_view和delete_view页面,如果想让页面完成操作后跳转到我们想去的url,该怎么做默认django admin会跳转到changelist_view页面------------------------------下面的代码是d...
分类:其他好文   时间:2014-05-21 05:31:25    阅读次数:321
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!