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
yum install -y libGLU libXp compat-libtiff3 glib2-fam libpng12 |
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
yum install xorg-x11-fonts* |
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
# Centos 7 | |
# 存放位置 /usr/lib/systemd/system | |
# 开启 systemctl start frpclient | |
# 关闭 systemctl stop frpclent | |
# 开机启动 systemctl enable frpclient | |
# 取消开机启动 system disable frpclient | |
[Unit] | |
Description=frp client service | |
Wants=network-online.target |
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
find . -name "*.tx" -type f -print -exec rm -f {} \; |
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
# coding: utf-8 | |
#======================================== | |
# author: Changlong.Zang | |
# mail: zclongpop123@163.com | |
# time: Wed Aug 28 17:38:51 2019 | |
#======================================== | |
import math, random | |
#--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | |
#- 通过计算角度正弦值 | |
data = { |
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
# coding: utf-8 | |
#======================================== | |
# author: Changlong.Zang | |
# mail: zclongpop123@163.com | |
# time: Tue Sep 10 17:56:28 2019 | |
#======================================== | |
import glob, random | |
import smtplib | |
from email.header import Header | |
from email.mime.text import MIMEText |
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
# coding: utf-8 | |
#======================================== | |
# author: Changlong.Zang | |
# mail: zclongpop123@163.com | |
# time: Tue Sep 24 14:54:13 2019 | |
#======================================== | |
import os | |
import numpy | |
import jieba | |
from PIL import Image |
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
import maya.cmds as cmds | |
def RemoveUVWasteNode(): | |
cmds.select(hierarchy=True) | |
sels = cmds.ls(selection=True, long=True) | |
for sel in sels: | |
obj = sel | |
if (cmds.nodeType(sel) == 'mesh'): | |
trans = cmds.listRelatives(sel, p=True, f=True) | |
obj = trans[0] |
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
# Centos 7 | |
# 存放位置 /usr/lib/systemd/system | |
# 开启 systemctl start deadlinewebservice | |
# 关闭 systemctl stop deadlinewebservice | |
# 开机启动 systemctl enable deadlinewebservice | |
# 取消开机启动 system disable deadlinewebservice | |
[Unit] | |
Description=Deadline Web Service | |
Wants=network-online.target |
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
#======================================== | |
# author: Changlong.Zang | |
# mail: zclongpop123@163.com | |
# time: Thu Dec 12 16:17:24 2019 | |
#======================================== | |
from grpc.tools import protoc | |
#--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | |
def main(): | |
''' | |
''' |
OlderNewer