public class Equation2 { private static float x1; private static float x2; private static float x; private static float real; private static float ima ...
分类:
其他好文 时间:
2016-10-22 00:28:15
阅读次数:
128
转载自:http://blog.csdn.net/u014369799/article/details/51305788 在WebView中如果使用到支付宝,需要添加以下代码,否则操作系统会将支付宝的URL拦截,导致你打不开支付宝页面。 这里要注意的是上面需要加下try catch,因为你传过来的u ...
分类:
Web程序 时间:
2016-10-21 19:44:39
阅读次数:
526
这个本身会有bug 应该在滑动监听中作出判断的 ...
分类:
其他好文 时间:
2016-10-21 16:35:53
阅读次数:
177
private static final Set<Integer> treeSet=new TreeSet<Integer>(); Thread t1=new Thread(){ public void run(){ for (int i = 0; i < 50; i++) { treeSet.ad ...
分类:
其他好文 时间:
2016-10-21 16:32:48
阅读次数:
350
我开发中一直用这一段 //for debuggingfunc printPretty(v interface{}, mark string) (err error) { fmt.Printf("*********%s\n", mark) data, err := json.MarshalIndent ...
分类:
其他好文 时间:
2016-10-19 09:48:38
阅读次数:
123
1、 runc/utils_linux.go func (r *runner) run(config *specs.Process) (int , error) 在该函数中第一次对容器的IO进行了处理,首先调用tty, err := setupIO(process, rootuid, rootgid ...
分类:
其他好文 时间:
2016-10-18 18:30:21
阅读次数:
163
1、runc/start.go Action: func(context *cli.Context) error 该函数首先调用container, err := getContainer(context)获取container信息,接着调用status, err := container.Stat ...
分类:
其他好文 时间:
2016-10-17 14:32:53
阅读次数:
127
如果出现握手失败 ,出现日志信息为 10-17 11:41:32.771: W/System.err(32764): javax.net.ssl.SSLHandshakeException: Handshake failed10-17 11:41:32.771: W/System.err(32764 ...
分类:
Web程序 时间:
2016-10-17 13:34:24
阅读次数:
271
在MySQL中删除一张表或一条数据的时候,出现 [Err] 1451 -Cannot delete or update a parent row: a foreign key constraint fails (...) 这是因为MySQL中设置了foreign key关联,造成无法更新或删除数据。 ...
分类:
数据库 时间:
2016-10-17 13:33:10
阅读次数:
182