- 浏览: 115517 次
- 性别:
- 来自: 武汉
最新评论
-
TheMatrix:
tab切换时,每次都重新加载onCreateView方法,这个 ...
android FragmentTabHost -
458832194:
...
android FragmentTabHost -
simplehappy:
main_relative.xml和main_linear.x ...
android FragmentTabHost -
tkpc:
感谢Google这么快就搜索到我想要的,楼主的做法是可行的,算 ...
android FragmentTabHost
文章列表
https://blog.csdn.net/u013064109/article/details/78786646
eclipse调试安装时报错:
Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package xxxxxxxxxxxxxxxxxxxxxxxx signatures do not match the previously installed version; ignoring!
原因签名不同了。
使用adb uninstall package
grails-2.4.4 + java1.8.0_45 报错:Problems copying method. Incompatible JVM?
改用java1.7 OK
groovy-grails-tool-suite-3.6.4.RELEASE-e4.4.2-win32
https://github.com/fancycode/MemoryModule
https://github.com/fdiskyou/malware
http://mygo.iteye.com/blog/2018882
最简单的方法直接集成BugTrap:
http://www.codeproject.com/Articles/14618/Catch-All-Bugs-with-BugTrap
https://github.com/bchavez/BugTrap
https://msdn.microsoft.com/en-us/library/windows/desktop/bb204633(v=vs.85).aspx
http://www.codeproject.com/Articles/11132/Walking-the-callstack
http://stackoverflow.com ...
The SubscribeOn operator changes this behavior by specifying a different Scheduler on which the Observable should operate.
The ObserveOn operator specifies a different Scheduler that the Observable will use to send notifications to its observers.
The SubscribeOn operator designates which thread ...
虚拟机使用ubuntu/trusty64镜像
vagrant init ubuntu/trusty64
vagrant up
启动后安装docker, 参见https://docs.docker.com/engine/installation/linux/ubuntulinux/
# docker version
Version: 1.10.3
拉取mesoscloud的docker image
docker pull mesoscloud/mesos-master
docker pull mesoscloud/mesos-slave
docker p ...
Eclipse Java EE IDE for Web Developers. Version: Juno Service Release 2 Build id: 20130225-0426
apache-tomcat-7.0.42
jdk1.6.0_38
调试一个web程序,SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");报异常
换成jdk1.6.0_27就OK了,这是怎么回事?
cas自定义登录异常
- 博客分类:
- cas
cas版本4.0
定义异常类com.xxx.MyLoginException
在认证时根据实际情况抛出MyLoginException:
public class MyDatabaseAuthenticationHandler extends AbstractJdbcUsernamePasswordAuthenticationHandler {
/** {@inheritDoc} */
@Override
protected final HandlerResult authenticateUsernamePasswordInternal(final Us ...
We call the &T type a ‘reference’, and rather than owning the resource, it borrows ownership
error: cannot borrow `v` as mutable more than once at a time [E0499]
fn main() {
let mut v = vec![1, 2, 3];
let v1 = &mut v;
for i in &mut v {
*i += 1;
}
}
...
http://blog.sina.com.cn/s/blog_93bca7340102uzmq.html
final CheckBox cb = (CheckBox)view.findViewById(R.id.checkBox1);
cb.setOnCheckedChangeListener(null);
cb.setChecked(mSelectedItems.getBoolean(id.toString(), false));
cb.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener( ...
Java Atomic Access
- 博客分类:
- java
http://docs.oracle.com/javase/tutorial/essential/concurrency/atomic.html
Reads and writes are atomic for reference variables and for most primitive variables (all types except long and double).
Reads and writes are atomic for all variables declared volatile (including long and double variables ...
需要android-21, 之前的版本有getpwuid