<commit_before>var MyProxy = function(){
	var config = {
		mode: "fixed_servers",
		rules: {
			singleProxy: {
				scheme: "http",
			},
			bypassList: []
		}
	};

	this.setd = this.set = function(host , port , cb){
		config.rules.singleProxy.host = host;
		config.rules.singleProxy.port = port*1;

		chrome.proxy.settings.set({
				value: config,
				scope: 'regular'
			},
			function(e) {
				console.log("proxy setted", e);
				cb && cb.call(this,e);
			}
		);
	};

	this.get = function(cb){
		chrome.proxy.settings.get({},function(data){
			cb && cb.call(this,data.value.rules.singleProxy);
		});
	}

	this.direct = function(cb){
		chrome.proxy.settings.set({
				value: {mode:'direct'}
			},
			function(e) {
				console.log("never use proxy ", e);
				cb && cb.call(this,e);

			}
		);
	};

	this.getIpInfo = function(ip,cb){
		if( typeof ip == 'function' )cb=ip , ip='';

		ip && (ip = "/"+ip); 
		$.get("http://ipinfo.io"+ ip + "/json" , cb, "json" );

	};
}<commit_msg>添加bypassList<commit_after>var MyProxy = function(){
	var config = {
		mode: "fixed_servers",
		rules: {
			singleProxy: {
				scheme: "http",
			},
			bypassList: "localhost; 127.0.0.1; *.bootstrapcdn.com;*.sinaapp.com;*.weibo.com;*.lcs.io".split(';')
		}
	};

	this.setd = this.set = function(host , port , cb){
		config.rules.singleProxy.host = host;
		config.rules.singleProxy.port = port*1;

		chrome.proxy.settings.set({
				value: config,
				scope: 'regular'
			},
			function(e) {
				console.log("proxy setted", e);
				cb && cb.call(this,e);
			}
		);
	};

	this.get = function(cb){
		chrome.proxy.settings.get({},function(data){
			cb && cb.call(this,data.value.rules.singleProxy);
		});
	}

	this.direct = function(cb){
		chrome.proxy.settings.set({
				value: {mode:'direct'}
			},
			function(e) {
				console.log("never use proxy ", e);
				cb && cb.call(this,e);

			}
		);
	};

	this.getIpInfo = function(ip,cb){
		if( typeof ip == 'function' )cb=ip , ip='';

		ip && (ip = "/"+ip); 
		$.get("http://ipinfo.io"+ ip + "/json" , cb, "json" );

	};
}
{'fraction_non_alphanumeric': 0.21145374449339208, 'fraction_numerical': 0.003915810083210965, 'mean_word_length': 2.9689320388349514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4511143', 'n_tokens_mistral': 924, 'n_tokens_neox': 785, 'n_words': 133}