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
| #======================================== | |
| # author: Changlong.Zang | |
| # mail: [email protected] | |
| # time: Mon Oct 18 21:40:17 2021 | |
| #======================================== | |
| import os | |
| import glob | |
| import json | |
| import md5 | |
| import maya.cmds as mc |
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
| #!/bin/bash | |
| export PATH=$PATH:/opt/Thinkbox/DeadlineDatabase10/mongo/application/bin | |
| cd /opt/Thinkbox/DeadlineDatabase10/certs | |
| mongodump --port=27100 --ssl --sslCAFile ./ca.crt --sslPEMKeyFile ./mongo_client.pem --authenticationMechanism=MONGODB-X509 --sslAllowInvalidHostnames -d deadline10db -o /opt/backup/`date -I` |
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
| mkdir /data/backup/`date -I` | |
| mongodump -d admin --username=root --password=example -o /data/backup/`date -I` |
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
| #======================================== | |
| # author: Changlong.Zang | |
| # mail: [email protected] | |
| # time: Tue Dec 29 17:17:55 2020 | |
| #======================================== | |
| import sys | |
| import os | |
| from PySide2 import QtWidgets, QtGui, QtCore | |
| import widgets | |
| #--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ |
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
| #======================================== | |
| # author: Changlong.Zang | |
| # mail: [email protected] | |
| # time: Wed Apr 29 22:27:56 2020 | |
| #======================================== | |
| import xlrd | |
| import shotgun_api3 | |
| #--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | |
| def main(): | |
| ''' |
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
| #======================================== | |
| # author: Changlong.Zang | |
| # mail: [email protected] | |
| # time: Tue Apr 14 22:22:51 2020 | |
| #======================================== | |
| from PIL import Image, ImageDraw | |
| #--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | |
| def main(): | |
| ''' | |
| ''' |
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
| from PySide.QtCore import * | |
| from PySide.QtGui import * | |
| app = QApplication.instance() | |
| def getMainWindow(): | |
| for widget in app.topLevelWidgets(): | |
| if widget.metaObject().className() == 'Foundry::UI::DockMainWindow': | |
| return widget | |
| qNuke =getMainWindow() |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| longqi 20/Jan/16 22:42 | |
| """ | |
| """ | |
| default.txt | |
| """ | |
| """ |
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
| server { | |
| listen 80; | |
| server_name wiki.domain.com; | |
| client_max_body_size 20m; | |
| location / { | |
| root html; | |
| index index.html index.htm; | |
| proxy_pass http://localhost:8090; |
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
| #======================================== | |
| # author: Changlong.Zang | |
| # mail: [email protected] | |
| # time: Fri Dec 27 17:49:23 2019 | |
| #======================================== | |
| import xmlrpclib | |
| #--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | |
| def main(): | |
| ''' | |
| ''' |