码迷,mamicode.com
首页 >  
搜索关键字:laskers nim    ( 2819个结果
jQuery获取鼠标移动方向2
(function($) { $.fn.extend({ show: function(div) { var w = this.width(), h = this.height(), xpos = w / 2, ypos = h / 2, eventType = "", direct = ""; t ...
分类:移动开发   时间:2016-11-21 19:08:15    阅读次数:212
UIImage分类,设置边框
#import "UIImage+image.h"@implementation UIImage (image)+ (UIImage *)imageWithBorder:(CGFloat)borderW color:(UIColor *)color image:(NSString *)imageNa ...
分类:其他好文   时间:2016-11-21 16:39:34    阅读次数:301
简单高效快捷的百度地图demo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o ...
分类:其他好文   时间:2016-11-21 12:20:29    阅读次数:247
使用elasticsearch遇到的一些问题以及解决方法(不断更新)
7.org.elasticsearch.transport.RemoteTransportException: Failed to deserialize exception response from stream 原因:es节点之间的JDK版本不一样 解决方法:统一JDK环境 8 . org.e ...
分类:其他好文   时间:2016-11-19 12:29:30    阅读次数:879
scroll pagination.js数据重复加载、分页问题
scroll pagination.js数据重复加载、分页问题 解决办法 参考资料: http://blog.csdn.net/dyw442500150/article/details/17532425 http://bbs.csdn.net/topics/390624732?locationNum ...
分类:Web程序   时间:2016-11-18 07:31:31    阅读次数:293
今天学习css一些动画效果
<!doctype html><html lang="en"> <head> <meta charset="UTF-8"> <title>银河系</title> <link rel="stylesheet" type="text/css" href="css/xuanzhuan.css"> </he ...
分类:Web程序   时间:2016-11-18 00:07:09    阅读次数:250
导航右侧添加按钮、隐藏导航条和状态栏
1.添加导航右侧按钮 UIBarButtonItem *rightButton = [[UIBarButtonItem alloc] initWithTitle:@"无所谓"style:UIBarButtonItemStyleDone target:self action:@selector(cli ...
分类:其他好文   时间:2016-11-17 01:51:58    阅读次数:124
全局异步和主线程异步区别、改变PlaceHolder颜色、解决键盘弹起挡住文本框问题
1、全局异步执行耗时任务 dispatch_async(dispatch_get_global_queue(0, 0), ^{ }); 2.主线程异步刷新UI dispatch_async(dispatch_get_main_queue(), ^{ }); 3.改变PlaceHolder的颜色 [u ...
分类:编程语言   时间:2016-11-17 01:25:01    阅读次数:181
设置键盘无色和状态栏风火轮、屏幕截图
1.设置键盘为无色 textField.keyboardAppearance = UIKeyboardAppearanceAlert; 2.设置状态栏网络风火轮是否显示 [UIApplication sharedApplication].networkActivityIndicatorVisible ...
分类:其他好文   时间:2016-11-17 01:15:42    阅读次数:165
292. Nim Game
292. Nim Game You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remo ...
分类:其他好文   时间:2016-11-16 22:07:10    阅读次数:241
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!