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
port: 7890 | |
socks-port: 7891 | |
allow-lan: true | |
mode: Rule | |
log-level: info | |
external-controller: :9090 | |
proxies: | |
- {name: CYL-科技, server: lv26wr2p4q0pl8v4i8h.v22222.xyz, port: 33331, type: vmess, uuid: dc66f479-7453-33ea-9d7f-9a10e04591bf, alterId: 1, cipher: auto, tls: false, network: ws, ws-path: /tnt-awsxjp1, ws-headers: {Host: baidu.com}} | |
- {name: CYL-科技 2, server: rxzgzq.moox.icu, port: 34016, type: vmess, uuid: 7ac1c362-480b-4b79-b363-dc52a4a0e97a, alterId: 1, cipher: auto, tls: true, network: ws, ws-path: /, ws-headers: {Host: ntt.xlanfly.xyz}} | |
- {name: CYL-科技 3, server: icajm.moox.icu, port: 34019, type: vmess, uuid: 7ac1c362-480b-4b79-b363-dc52a4a0e97a, alterId: 1, cipher: auto, tls: true, network: ws, ws-path: /, ws-headers: {Host: do403.xlanfly.xyz}} |
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
#!/usr/bin/env python | |
# Author: Webber Huang | |
# E-mail: xracz.fx@gmail.com | |
# Website: http://riggingtd.com | |
# Purpose: Find the closest edge on mesh from any position | |
# Created: 2014/6/17 | |
#======================================================================== | |
import heapq | |
import maya.cmds as cmds |
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
blockSize = 100 | |
fileList = ["filepath1", "filepath2", "filepath3"] | |
def invert(x): | |
return ~x & 0xFF | |
def repair(filePath, blockSize): | |
try: | |
with open(filePath,"rb+") as f: | |
block = f.read(blockSize) |
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
"""A maya custom node for output motion path with heart shape""" | |
__author__ = 'Huang Weibo <xracz.fx@gmail.com>' | |
__version__ = '1.0' | |
__status__ = "release" | |
__date__ = "2013/3/12" | |
__copyright__ = "Copyright 2013, riggingtd.com" | |
import math, sys |
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
""" | |
INPUT: float, float, float | |
OUTPUT: bool | |
""" | |
def approx_eq_1(x, y, tolerance=1e-18): | |
return abs(x - y) <= tolerance | |
""" | |
INPUT: float, float, float | |
OUTPUT: bool |