[Web安全之实战] 跨站脚本攻击XSS http://my.oschina.net/jeffli1993/blog/373992
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias json="python -mjson.tool" |
#Git常用技巧
##1. windows下使用git,如何保存push到远程仓库时使用的密码:
push到远程仓库时,不同系统下面如何去保存验证信息。其中提到了一个软件:git-credential-winstore
把git-credential-winstore放到git\bin下,然后执行:
git config --global credential.helper winstore
git 2.0后
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hp.idm.util; | |
import org.apache.poi.ss.usermodel.Sheet; | |
import java.io.UnsupportedEncodingException; | |
import java.net.URLEncoder; | |
import java.util.List; | |
import javax.servlet.http.HttpServletResponse; | |
import org.apache.poi.hssf.usermodel.HSSFWorkbook; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.io.OutputStreamWriter; | |
import java.io.Writer; | |
import java.util.Calendar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shell script to download Oracle JDK from command prompt / terminal. | |
# You can download all the binaries one-shot by just giving the BASE_URL. | |
## Features: | |
# Resumes a broken [previous] download, if any. | |
# Renames the file to a proper name with platform adding platform info. | |
# Downloads all the following from Oracle Website with one shell invocation. | |
# a. Windows 64 and 32 bit; | |
# b. Linux 64 and 32 bit; and | |
# c. API Docs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="https://shenghuo.alipay.com/send/payment/fill.htm" id="juanzeng" method="post" name="juanzeng" target="_blank" style="display:inline"> | |
<input type="image" src="http://icloud.b0.upaiyun.com/zeng/juanzeng03_new.jpg" border="0" name="submit" alt="支付宝捐赠" /> | |
<input name="optEmail" type="hidden" value="[email protected]" /> | |
<input name="memo" type="hidden" value="对书格留言:" /> | |
<input id="payAmount" name="payAmount" type="hidden" value="" /> | |
<input id="title" name="title" type="hidden" value="捐赠支持书格" /> | |
</form> | |
http://v2ex.com/t/148013#reply2 |