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
# ASIA | |
_ = '173.194.36.%s' # del 印度 新德里 | |
SG3 = '173.194.38.%s' # 新加坡 | |
TW3 = '173.194.72.%s' | |
SG4 = '173.194.117.%s' | |
JP2 = '173.194.120.%s' | |
_ = '173.194.123.%s' | |
JP1 = '173.194.126.%s' | |
HK1 = '173.194.127.%s' | |
TW1 = '74.125.23.%s' |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0"> | |
<title>官方的模仿-->three.js css3d - periodic table</title> | |
<style> | |
html,body{ | |
height:100%; |
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
<?php | |
/** | |
*微信公众平台模拟登录 | |
* | |
*实现了公众平台上的操作<br>包括 实时消息获取 快速回复 用户管理 群发消息 获取用户基本信息 | |
*@copyright Copyright info | |
*@author dml | |
*@version version | |
*@package defalut | |
*/ |
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
import sublime | |
import sublime_plugin | |
import re | |
class CompactExpandCssCommand(sublime_plugin.TextCommand): | |
def run(self, edit, action='compact'): | |
rule_starts = self.view.find_all('\{') | |
rule_ends = self.view.find_all('\}') |
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
cc.ajax = function (obj) { | |
var callback; // 非null表示外部已经调用了done操作。 | |
var result; // 非null表示AJAX操作已经结束。 | |
setTimeout(function () { | |
$.ajax(obj).done(function (res) { // AJAX操作完成时 | |
if (callback) { // 外面已经给了callback? | |
callback(res); // 那么直接调用 | |
} else { // 否则 | |
result = res; // 保留结果,等待外部done操作。 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Simple animation tests" /> | |
<meta charset=utf-8 /> | |
<title>Simple Animation Tests</title> | |
</head> | |
<body> | |
<canvas id="canvas"></canvas> | |
</body> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Simple animation tests" /> | |
<meta charset=utf-8 /> | |
<title>Simple Animation Tests</title> | |
</head> | |
<body> | |
<canvas id="canvas"></canvas> | |
</body> |