View ubuntu.source.list
1 2 3 4 5 6 7 8 9 10
deb http://ubuntu.srt.cn/ubuntu/ utopic main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ utopic-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ utopic-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ utopic-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ utopic-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ utopic main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ utopic-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ utopic-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ utopic-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ utopic-backports main restricted universe multiverse
View Arith.java
1 2 3 4 5 6 7 8 9 10
 
 
import java.math.BigDecimal;
 
/**
* 由于Java的简单类型不能够精确的对浮点数进行运算,这个工具类提供精 确的浮点数运算,包括加减乘除和四舍五入。
*/
 
public class Arith {
// 默认除法运算精度
View Javanet.post.java
1 2 3 4 5 6 7 8 9 10
String url = "http://localhost/actions/api/file/addFile";
URL obj = new URL(url);
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
 
//add reuqest header
con.setRequestMethod("POST");
con.setRequestProperty("User-Agent", "google chrome");
con.setRequestProperty("Accept-Language", "en-US,en;q=0.5");
 
StringBuilder urlParameters = new StringBuilder();
View generatorConfig.xml
1 2 3 4 5 6 7 8 9
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
 
 
<generatorConfiguration>
<!--数据库驱动jar -->
<classPathEntry location="E:\mysql-connector-java-5.1.7-bin.jar" />
View generatorConfig.xml
1 2 3 4 5 6 7 8 9 10
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
 
<!-- oracle xml template -->
<generatorConfiguration>
 
<!--ORACLE 数据库驱动jar -->
<classPathEntry
location="E:/MavenRepository/com/oracle/ojdbc14/14/ojdbc14-14.jar" />
<!-- This should cause an error because sqlMapGenerator is required for
View chrome.pac
1 2 3 4 5 6 7
 
function FindProxyForURL(u,h){US="PROXY c.jayproxy.org:3000"
JP="PROXY jp.jayproxy.net:6002"
UK=US
SCHOLAR="PROXY scholar.jayproxy.org:9999"
a=["apple.com","microsoft.com","douban.com","360.cn","360safe.com","pptv.com","360.com","panx.com","alicdn.com","amzone.cn","z.cn","icloud.com","letv.com","ap-sin-00001.s3.amazonaws.com","tudou.com","weibo.com","xunlei.com","sohu.com","taobao.com","qq.com","163.com","sina.cn","alipay.com","youku.com"];for(i=0;i<a.length;i++){if(dnsDomainIs(h,a[i])){return"DIRECT"}}
if(dnsDomainIs(h,"bbc.co.uk"))return UK;if(h.indexOf(".blogspot.")!==-1)return US;if(h.indexOf("parliament")!==-1)return UK;if(h.indexOf("scholar.google.com")!==-1)return SCHOLAR;if(h.indexOf(".gov.sg")!==-1)return US;if(h.indexOf(".com.sg")!==-1)return US;if(h.indexOf(".google.")!==-1)return US;if(h.substr(-3,3)==".tw")return US;if(h.substr(-3,3)==".de")return US;if(h.substr(-3,3)==".jp")return JP;if(h.substr(-3,3)==".us")return US;if(h.substr(-3,3)==".uk")return UK;if(h.substr(-3,3)==".hk")return US;if(h.su
View address.js
1 2 3 4 5 6 7 8 9 10
(function($) {
$.Address = {
Share: {
initialRegion: function () {
_initialRegion();
},
callback:function(){},
geoGPSInfo: {},
geoIPInfo: {}
},
View jsbin.zadab.html
1 2 3 4 5 6 7 8 9 10
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="颜色面板" />
<meta charset="utf-8">
<title>收集漂亮的颜色</title>
<style>
a{
padding: 10px 16px;
margin-top: 20px;
View jsbin.pobol.html
1 2 3 4 5 6 7 8 9 10
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="颜色面板" />
<meta charset="utf-8">
<title>收集漂亮的颜色</title>
<style>
a{
padding: 10px 16px;
margin-top: 20px;
View findItemsAdvancedResponse.json
1 2 3 4 5 6 7 8 9 10
{
"findItemsAdvancedResponse": [
{
"ack": [
"Success"
],
"version": [
"1.12.0"
],
"timestamp": [
Something went wrong with that request. Please try again.