####第一页 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitiona ...
分类:
其他好文 时间:
2016-09-22 08:43:43
阅读次数:
145
一.前言 1.现在研究一个app的web后台维护系统,使用的框架是struts2和一个封装的jdbc框架(这个功能类似hibernate,后续慢慢研究下源码); 2.之前一直使用eclipse做项目,现在转手用intellij idea,方便,人性化,功能多,用起来爽;感觉开始学习使用用eclips ...
分类:
其他好文 时间:
2016-09-22 08:43:26
阅读次数:
214
whenforkother‘sprojectingithub,toobtainthenewestversion,youneedtodo:cloneyourforkprojectintolocalpath:gitclonehttps://github.com/your_github/EventBus.gittrygitremove-v,ifyoucanonlyseeyourselforigin(fetch/push),thenyouhavetoaddthemanrepomanually:gitremoteadd..
分类:
其他好文 时间:
2016-09-22 07:45:03
阅读次数:
189
EventBusisapublish/subscribeeventbusoptimizedforAndroid.somakeitsimple,justthinkEventBusasaframeworkthatallowdifferentcompoentstocommunicate,usuallyasubscriberegisteracertainevent,thenwheneverapublisherhaspostanevent,anysubscribeswhohadregisterthiseventwill..
分类:
其他好文 时间:
2016-09-22 07:45:17
阅读次数:
322
1.提取字符串中的数字$echo‘dsFUs34tg*fs5a%8ar%$#@‘|awk-F""‘
{
for(i=1;i<=NF;i++)
{
if($i~/[[:digit:]]/)
{
str=$i
str1=(str1str)
}
}
printstr1
}‘
输出
3458
或
$echo‘dsFUs34tg*fs5a%8ar%$#@‘|awk-F""‘
{
for(i=1;i<=NF;i++)
{
if($i~/[0-9]/)
{
str=$i
str1=..
分类:
其他好文 时间:
2016-09-22 07:44:25
阅读次数:
219
庆科物联网平台架构分析
分类:
其他好文 时间:
2016-09-22 07:43:47
阅读次数:
258
前言:Android中一些开发规范,避免给自己和别人少留坑。上篇中Java代码部分,有人提出不同意见,不同公司有不同的标准,不同人有不同习惯,但是趋于合理就是好的规范。没有非要怎样,有人写野代码写习惯...
分类:
移动开发 时间:
2016-09-22 07:43:11
阅读次数:
213
(网络) ...
分类:
移动开发 时间:
2016-09-22 07:43:22
阅读次数:
182
http://www.2cto.com/kf/201502/378698.html 版本更新的App和新App的发布提交流程略有不同,新的App需要在开发者账号里准备发布证书,添加App的id,关联描述文件等等,这些可以不会的可以百度。在这里只说这些证书都有的情况下的版本更新App的发布过程: 1. ...
分类:
移动开发 时间:
2016-09-22 07:41:58
阅读次数:
275
/* 定义一个长方形类,定义 求周长和面积的方法, 然后定义一个测试了Test2,进行测试。 长方形的类: 成员变量: 长,宽 成员方法: 求周长:(长+宽)*2; 求面积:长*宽 注意: import必须出现在所有的class前面。*/ import java.util.Scanner; clas ...
分类:
其他好文 时间:
2016-09-22 07:43:16
阅读次数:
1192
.htaccess 重写去index.php<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ ...
分类:
数据库 时间:
2016-09-22 07:42:19
阅读次数:
140
Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer, or a list -- w ...
分类:
其他好文 时间:
2016-09-22 07:41:00
阅读次数:
130
2.打开/etc/inittab 文件 #vim /etc/inittab3.在默认的 run level 设置中,可以看到第一行书写如:id:5:initdefault:(默认的 run level 等级为 5,即图形界面)4.将第一行的 5 修改为 3 即可。 5.保存文件后重启系统你就可以看见 ...
分类:
其他好文 时间:
2016-09-22 07:39:46
阅读次数:
176
import java.util.Scanner; //必须写在所有class 前面 //创建录入对象 Scanner sc = new Scanner(System.in); System.out.println("请输入第一个操作数:"); int firstNumber = sc.nextIn ...
分类:
其他好文 时间:
2016-09-22 07:37:43
阅读次数:
121
转载原地址: http://www.cnblogs.com/mcgrady/archive/2013/06/08/3127781.html 阅读目录 阅读目录 JSON的两种结构 认识JSON字符串 在JS中如何使用JSON 在.NET中如何使用JSON 总结 JSON的全称是”JavaScript ...
分类:
Web程序 时间:
2016-09-22 06:37:06
阅读次数:
285
Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all the elements of nums except ...
分类:
其他好文 时间:
2016-09-22 06:38:06
阅读次数:
112
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up ...
分类:
其他好文 时间:
2016-09-22 06:35:56
阅读次数:
130