自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(150)
  • 资源 (5)
  • 收藏
  • 关注

原创 window.atob and window.btoa

解码和解码https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/atob

2017-12-21 13:46:09 399

原创 ployfill

Polyfill for browsers.Object.assign() 在ie上面不支持需要用到polyfill,自己实现对象属性的copy也是可以的。https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign

2017-12-19 09:58:38 391

原创 sql

sql 三目运算Update table_name set column = case when clumn='test'  then 'test1' else 'test2' end

2017-09-25 16:16:43 280

转载 ie scrollbar

-ms-overflow-style: auto | none | scrollbar | -ms-autohiding-scrollbarProperty valuesOne or more of the following scrolling method values, in the order of preference.autoInitial value.

2017-08-24 00:10:18 386

原创 gradle

cordova plugin add https://github.com/apache/cordova-plugin-test-framework.git

2017-05-22 15:12:24 280

原创 https for tomcat

https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.htmlReference

2017-03-16 15:37:19 270

转载 Angular find controller from element or no element

var scope= angular.element($(".classselector")[0]).scope();var scope = angular.element($('[ng-controller=myController]')).scope();

2016-08-24 18:19:24 387

原创 grunt error $injector module is not available

Karma 没有按照顺序import js 文件,需要添加确定顺序 'app/**/*.module.js', 'app/**/*.js',

2016-08-10 18:26:46 289

转载 转载的code网站

http://www.codewars.com/  http://codeforces.com/        https://www.hackerrank.com/   https://projecteuler.net/archives   http://www.spoj.com/    http://boolan.com/    http://www.fre

2016-07-08 14:28:06 974

原创 jsoup

Jsoup 是解析html的java 库。

2016-07-06 15:20:57 326

原创 string intern

String intern 是 常量池中的string

2016-06-23 09:41:23 359

原创 class diagram for java

比较符合eclipse 风格的插件发现两个objectid 和 AmaterasUML UMLet 很强大AmaterasUML_1.3.4.zip✕

2016-06-03 18:25:07 358

原创 jsonp

Jsonp是什么?json padding通过创建js元素在dom 中,获得跨域的能力。因为src 的属性的标签有跨域能力。本地js 定义函数,服务器端调用定义的函数并且带有返回值。这样就成功将数据传过来了。

2016-06-03 14:21:59 241

原创 eclipse validate

check the validate for html error, not check style.

2016-05-19 09:13:16 463

原创 sublime text

快捷键:ctrl + p查找anything 查function : somefile @ function in jsctrl + shift + pinput "ss" can set syntax like js karma set global.$ npm install -g karma@~* --save-dev

2016-05-18 11:48:23 333

原创 create source map

java -jar compiler.jar \ --js script.js \ --create_source_map ./script-min.js.map \ --source_map_format=V3 \ --js_output_file script-min.js

2016-05-10 16:13:11 511

原创 vitrualbox

VBoxManage modifyvm macname --cpuidset ######## ######## ######## ######## ########

2016-05-10 14:31:34 613

原创 stax

Down load stax-1.2.0.jarStAX is a PULL API where as SAX is a PUSH API

2016-05-04 09:50:23 283

原创 adb devices error

Windows ADB ConfigurationThe first step in configuring a Windows based development system to connect to an Android device using ADB is to install the appropriate USB drivers on the system. In the

2016-04-29 18:36:58 511

原创 git save jenkens

git config --global credential.helper store --file=demotest.credentialsgit config --global credential.username aaa

2016-04-27 19:19:09 398

原创 curl

curl -XDELETE http://localhost:9200/twitter/

2016-04-22 15:33:19 234

原创 IE cookie

Security patch MS01-055 prevents servers with improper name syntax from setting cookies names. Domains that use cookies must use only alphanumeric characters ("-" or ".") in the domain name and the

2016-04-22 09:59:13 256

原创 Get paramter

String value = request.getHeader(parameter);            value = request.getParameter(parameter);            value = (String) request.getSession().getAttribute(parameter);            value = (Str

2016-03-18 10:02:18 496

转载 获得getLocalIP

public static String getLocalIP() {        InetAddress addr;        String localIP = null;        try {            addr = InetAddress.getLocalHost();            localIP = addr.getHostAddress

2016-03-17 19:58:04 2149

原创 Custom cxf log

beansxmlns="http://www.springframework.org/schema/beans"      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"      xmlns:cxf="http://cxf.apache.org/core"      xsi:schemaLocation=

2016-03-17 15:43:21 302

转载 Get entity inputstream which type is EofSensorInputStream

File targetFile = new File("foo.pdf");if (entity != null) { InputStream inputStream = entity.getContent(); OutputStream outputStream = new FileOutputStream(targetFile); IOUtils.copy(inpu

2016-03-17 13:21:34 1850

转载 Http client

org\apache\httpcomponents\httpclient\4.4-beta1\httpclient-4.4-beta1.jar org\apache\httpcomponents\httpclient-cache\4.4-beta1\httpclient-cache-4.4-beta1.jar org\apache\httpcomponents\httpcore\4.4-b

2016-03-16 19:23:46 388

原创 tomcat manager the Cross Origin Resource Sharing

CorsFilter org.apache.catalina.filters.CorsFilter CorsFilter /* cors.allowed.origins * cors.allowed.methods GET,POST,HEAD,OPTIONS,PUT cors.allowed.header

2016-03-16 10:37:26 434

原创 Frontend maven plugin

plugins> plugin> groupId>com.github.eirslettgroupId> artifactId>frontend-maven-pluginartifactId> https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-

2016-03-08 14:32:54 5333 1

原创 JWT Token

json web token.http://jwt.io/

2016-03-02 14:05:22 844

原创 Maven skip unit test and build to directory

1. Skip unit test-Dmaven.test.skip=true 2.Build to directoryorg.apache.maven.pluginsmaven-war-plugin2.3pinpoint-serverC:/Program Files (x86)/apache-tomcat-7.0.67/webapps/

2016-02-29 17:13:35 389

原创 tomcat server for the webapp can be custom defined.

创建tomcat server 的时候可以自定义应用的输出路径。不必到default里面。但是不如应经有应用在里面是不能自定义设置的。Server LocationsSpecify the server path (i.e. catalina.base) and deploy path. Server must be published with no modules present

2016-02-25 17:29:56 307

原创 Maven profile 中设置默认激活

activation by default

2016-02-22 09:32:06 4312

原创 promise - common js

promise 规范能够解决不同ajax 顺序请求的问题。不同的js框架对其有很多不同的实现。

2015-05-20 09:54:16 343

原创 typescript 编译后的 extends

var __extends = this.__extends || function (d, b) {    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];    function __() { this.constructor = d; }    __.prototype = b.prototype;    d.pro

2015-04-29 16:59:01 2102

转载 JavaScript的执行顺序

通常状况下,javascript作为一种解释性的脚本,都是从上而下顺序执行的,但是JavaScript还允许在其语句中嵌套,也就是这个样子:document.write("alert(t);");注意:不能写作,要用字符串连接的形式来表述,否则会有语法错误,估计是因为JavaScript遇到就以为脚本结束了。在这种情况下,正常的脚本和嵌入的脚本的执行顺序就需要研究一下了。

2014-07-24 15:38:50 637

转载 Robomongo

Robomongo 是一个基于 Shell 的跨平台开源 MongoDB 管理工具。嵌入了 JavaScript 引擎和 MongoDB.

2014-07-09 08:51:17 946

原创 vs asp.net webservice

1.使用vs 创建一个asp.net web服务项目。

2014-07-05 00:21:45 439

原创 PDF 记录上次位置

编辑——首选项——文档——重新打开文档时恢复上次视图设置

2014-06-28 11:09:35 1811

原创 Python 分片(slice)

分片是从第一个到第二个但是不包含第二个元素 list_

2014-06-28 10:59:09 571

jsp demo codes

<%@ page contentType="text/html;charset=GB2312" %> &lt;HTML&gt; &lt;BODY BGCOLOR=cyan&gt; <FONT Size=1> <P>这是一个简单的JSP页面 <%

2013-01-16

JMS英文版 Java Message Service

Java Message Service

2010-02-21

程序员面试宝典 (应届生和找工作的人非常有帮助)

对应届生、找工作的很有帮助。对应届生、找工作的很有帮助。对应届生、找工作的很有帮助。对应届生、找工作的很有帮助。

2010-01-24

Java 网络编程 飞鸽传书的研究与实现

论述在CöS 体系结构下, 设计一种局域网文件传送的工具软件“飞鸽传书”。功能包括局 域网文件传送和局域网聊天, 可同时对多用户发送多个文件; 同时新增了传送文件功能不分目 录与文件, 统一传送, 让用户使用起来更方便

2009-03-21

UML教程 了解什么是uml 初级

1. 标准建模语言UML的出现 2. 标准建模语言UML的内容

2009-03-21

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除