This file contains hidden or 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
| public String getIpAddr(HttpServletRequest request) { | |
| String ip = request.getHeader("x-forwarded-for"); | |
| if(ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { | |
| ip = request.getHeader("Proxy-Client-IP"); | |
| } | |
| if(ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { | |
| ip = request.getHeader("WL-Proxy-Client-IP"); | |
| } | |
| if(ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { | |
| ip = request.getRemoteAddr(); |
This file contains hidden or 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
| <meta http-equiv="X-UA-Compatible" content="IE=8" > |
This file contains hidden or 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
| def win32? | |
| require 'Win32API' | |
| return true | |
| rescue LoadError | |
| return false | |
| end |
This file contains hidden or 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 dayang.tools.db; | |
| import java.net.URL; | |
| import org.apache.commons.cli.CommandLine; | |
| import org.apache.commons.cli.CommandLineParser; | |
| import org.apache.commons.cli.HelpFormatter; | |
| import org.apache.commons.cli.Options; | |
| import org.apache.commons.cli.ParseException; | |
| import org.apache.commons.cli.PosixParser; |
This file contains hidden or 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
| <div id="playerWrapper"> | |
| <object id="player" name="player" | |
| classid="CLSID:A7CE02E8-0081-424E-8F15-963B5CC359E0" | |
| codebase="/biandan3/clips/D3BSPlayerU.cab" | |
| height="410" width="640" | |
| style="background-color: black"> | |
| </object> | |
| <div id="player-download" style="padding: 5px 10px; font-size: 12px;"> | |
| | |
| <a href="/biandan3/clips/D3BSPlayer-2.0.1.1.exe"> |
NewerOlder