码迷,mamicode.com
首页 >  
搜索关键字:take skip    ( 2689个结果
Use View.isInEditMode() in your custom views to skip code when shown in Eclipse
今天在做自定义ViewGroup中,出现了一下错误提示Use View.isInEditMode() in your custom views to skip code when shown in Eclipse具体解决方法:在eclipse error log中查看错误具体出现在哪一行,然后将if...
分类:系统相关   时间:2014-08-04 13:26:17    阅读次数:319
MySQL学习笔记
/* 启动MySQL */net start mysql/* 连接与断开服务器 */mysql -h 地址 -P 端口 -u 用户名 -p 密码/* 跳过权限验证登录MySQL */mysqld --skip-grant-tables-- 修改root密码密码加密函数password()update...
分类:数据库   时间:2014-08-02 09:52:33    阅读次数:386
Mysql数据库主从不同步解决案例
问题说明:做了Mysql的主从,还没做主从分离,导致同事在mysql从服务器执行了写入操作,引起不同步(showslavestatus\G;Slave_SQL_Running:No)解决方法:1,Mysql>slavestop; Mysql>setglobalsql_slave_skip_counter=1; Mysql>slavestart; Mysql>showslavestatus..
分类:数据库   时间:2014-08-01 20:17:22    阅读次数:295
HDU 4906 Our happy ending
题意: Given a sequence a_1,a_2,...,a_n, if we can take some of them(each a_i can only be used once), and they sum to k, then we say this sequence is a ....
分类:移动开发   时间:2014-08-01 18:43:02    阅读次数:350
oracle function
create or replace function get_take_item_activity (in_gift_id in number)--注意, oracle函数不能子啊 return之前 is , 或者定义变量RETURN item_activity_type PIPELINED is ...
分类:数据库   时间:2014-08-01 10:45:21    阅读次数:281
XEN的clone和copy那点事
一、XEN API?VDI clone (session session_id, VDI vdi, Map[string,string] driver_params) Take an exact copy of the VDI and return a reference to the new di...
分类:其他好文   时间:2014-07-31 13:02:06    阅读次数:248
HDU4597:Play Game(记忆化)
Problem Description Alice and Bob are playing a game. There are two piles of cards. There are N cards in each pile, and each card has a score. They take turns to pick up the top or bottom card from...
分类:其他好文   时间:2014-07-29 15:03:28    阅读次数:248
windows下忘记mysql的root密码
1.停止mysql2.命令行启动mysqlmysqld --defaults-file="c:\mysql\mysql server 5.1\my.ini" --console --skip-grant-tables3.无密码登录后执行以下sqlupdate mysql.user set passw...
分类:数据库   时间:2014-07-29 14:12:18    阅读次数:325
mysql(转)
/* 启动MySQL */net start mysql/* 连接与断开服务器 */mysql -h 地址 -P 端口 -u 用户名 -p 密码/* 跳过权限验证登录MySQL */mysqld --skip-grant-tables-- 修改root密码密码加密函数password()update...
分类:数据库   时间:2014-07-29 13:55:08    阅读次数:583
LeetCode "First Missing Positive"
Similar with "Longest Consecutive Sequence". Another usage to hashset.Take care of corner cases!class Solution {public: int firstMissingPositive(in...
分类:其他好文   时间:2014-07-28 15:16:43    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!