现象
假如你用做ios8之前的定位去在ios8.0的机子上跑的话,你会发现 诶?怎么定位功能不能用了,右上角那个定位的小图标不出来。这时你应该去了设置里面看看隐私——定位,看到没有开启,然后改成始终,然后程序重新跑过,然后你又发现还是不能用。。。于是你又去设置那里看看,靠 发现改成的始终怎么给取消了。。(其实这就是我。。)
原因
在以前的IOS版本中当开始使用定位服务时会自动弹出询...
分类:
移动开发 时间:
2014-10-24 11:07:00
阅读次数:
210
NOIP2002矩形覆盖,在这个网上还没有几篇题解的时刻,你确定不来看一看这一篇?...
分类:
其他好文 时间:
2014-10-24 11:08:30
阅读次数:
135
The administration of the Tomsk Region firmly believes that it's time to become a megacity (that is, get population of one million). Instead of improving the demographic situation, they decided to ach...
分类:
其他好文 时间:
2014-10-24 11:09:27
阅读次数:
181
1.概述css盒子模型
1>先看看w3c的概述
2>其实css每个元素都是一个盒子(盒模型)
2.css盒子模型种类
1>w3c标准模型—————————>element空间宽度 = content内容 + border + padding + margin
2>IE传统模型(IE6-)—————>element = content = content(border + paddin...
分类:
Web程序 时间:
2014-10-24 11:06:11
阅读次数:
326
Pasha has many hamsters and he makes them work out. Today,
n hamsters (n is even) came to work out. The hamsters lined up and each hamster either sat down or stood up.
For another exercise, Pasha n...
分类:
其他好文 时间:
2014-10-24 11:06:01
阅读次数:
238
InetAddress 类
JDK中为开发网络应用程序提供了java.net包,该包下的类和接口几乎都是为网络编程服务的。
InetAddress:用于描述IP地址的对象
InetAddress类没有提供构造方法,
而是提供了静态方法来获取InetAddress实例
getByName(String host):根据主机获取对应的InetAddress对象。getByAddress(...
分类:
编程语言 时间:
2014-10-24 11:07:48
阅读次数:
191
查看log:
cat /var/log/Xorg.0.log | grep EE[ 75.403] (EE) Failed to load module "modesetting" (module does not exist, 0)[ 75.403] (EE) Failed to load module "fbdev" (module does not exist, 0)[...
分类:
其他好文 时间:
2014-10-24 11:07:22
阅读次数:
259
Java设计模式透析之 —— 策略(Strategy)...
分类:
编程语言 时间:
2014-10-24 11:05:05
阅读次数:
165
介绍
ButterKnife通过@InjectView和视图的ID注解的变量去找到并自动转换为你布局上相应的布局视图。
class ExampleActivity extends Activity {
@InjectView(R.id.title) TextView title;
@InjectView(R.id.subtitle) TextView subtitle;
...
分类:
移动开发 时间:
2014-10-24 11:04:35
阅读次数:
343
有时我们在做项目归档的时候难免会遇到,进行统计代码的行数,这时我们可以用一段代码,直接统计出来。
下面我给出一段统计一个java工程下代码的行数的实例代码:import java.io.File;
import jodd.io.FileUtil;
public class Test {
public static void main(String[] args) throws Excepti...
分类:
其他好文 时间:
2014-10-24 11:04:36
阅读次数:
218
1
记忆卡片游戏代码
CardItem.h
#pragma
once
#ifndef
__CardItem_H__
#define
__CardItem_H__
#include
"cocos2d.h"
USING_NS_CC;
class
CardItem...
分类:
移动开发 时间:
2014-10-24 11:05:08
阅读次数:
359
Machine-Learning
Maestro Michael Jordan on the Delusions of Big Data and Other Huge Engineering Efforts...
分类:
系统相关 时间:
2014-10-24 11:05:49
阅读次数:
206
验证码是一些注册、登录等表单常用的一个功能,为了防止一些恶意性的填写表单,不断地提交表单,造成安全隐患。验证码一般随机可以切换验证码图片,经过远程验证成功后才能成功提交表单。实现了简单的验证码功能
*用户名:
...
分类:
其他好文 时间:
2014-10-24 11:04:39
阅读次数:
209
问题:
Initialized empty Git repository in /data1/mouxuan/fastsocket-private/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
解决步骤:
1、cd ~/.ssh
2、ssh-keygen...
分类:
其他好文 时间:
2014-10-24 11:06:30
阅读次数:
256
【demo】自己写的一个 SpringMail 异步发送邮件的demo。 javamail 邮件异步发送 源代码下载地址:http://www.zuidaima.com/share/1550463483120640.htm...
分类:
编程语言 时间:
2014-10-24 11:06:28
阅读次数:
156