$(function () { $('#container').highcharts({ chart: { }, xAxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', ...
分类:
其他好文 时间:
2014-12-12 18:55:25
阅读次数:
889
1. 仅更新单个库只想更新某个特定的库,不想更新它的所有依赖,很简单:composer update foo/bar 此外,这个技巧还可以用来解决“警告信息问题”。你一定见过这样的警告信息:Warning: The lock file is not up to date with the late....
分类:
Web程序 时间:
2014-12-12 18:43:57
阅读次数:
238
微信返回news类型的消息,如果在Url中直接填写诸如www.yourweb.com/chart.aspx?token=123&area=chengdu这样的网址的话,到了微信客户端,用户只能收到www.yourweb.com/chart.aspx?token=123& 符号之后的其他部分就被截掉了...
分类:
微信 时间:
2014-12-12 18:33:45
阅读次数:
298
1. ? 存在错误的程序例子 class?Foo
{
public:
?int?m_nVal;
?Foo?*m_pNext;
};
void?Foo_Bar(?void?)
{
?Foo?bar;
?
?if?(?bar.m_nVal?||?bar.m_pNext?)
?{
??int?i;
??i++;
?}
} (1...
分类:
其他好文 时间:
2014-12-12 13:30:27
阅读次数:
135
Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
分类:
移动开发 时间:
2014-12-11 20:46:47
阅读次数:
232
以下是Source Application去query Target Application中的content provider时的流程,此处只画到content provider启动。
The picture above is the flow chart for how Content Providers started
(1) Source APP Inform AMS ...
分类:
移动开发 时间:
2014-12-10 16:26:00
阅读次数:
177
下图描述了在source application中broadcast一个intent,注册此intent的Target Application如何启动和接收的流程。
The picture above is the flow chart for how the source Application broadcast an intent
(1) Inform AMS to br...
分类:
移动开发 时间:
2014-12-10 12:36:08
阅读次数:
192
在Android3.0之后,Google对UI导航设计上进行了一系列的改革,其中有一个非常好用的新功能就是引入的ActionBar,他用于取代3.0之前的标题栏,并提供更为丰富的导航效果。一、添加ActionBar1、不需要导入ActionBar,因为在android3.0或者以上版本中,Actio...
分类:
其他好文 时间:
2014-12-10 09:14:49
阅读次数:
202
主题Theme就是用来设置界面UI风格,可以设置整个应用或者某个活动Activity的界面风格。在Android SDK中内置了下面的Theme,可以按标题栏Title Bar和状态栏Status Bar是否可见来分类:[html]view plaincopyprint??android:theme...
分类:
移动开发 时间:
2014-12-09 22:53:47
阅读次数:
285
下图描述从一个Application A如何bind在Application B中的Service.
The picture above is the flow chart for how the source Application bind a target service
Major includes four steps:
(1) Inform AMS to ...
分类:
移动开发 时间:
2014-12-09 21:34:02
阅读次数:
255