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 -*- | |
u"""KonamiCommand""" | |
from __future__ import absolute_import, division, print_function | |
from Qt import QtGui, QtWidgets | |
from maya.app.general.mayaMixin import MayaQWidgetBaseMixin | |
import time |
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
""" | |
This is what you need to do in order to get a qt window to dock next to maya channel box, | |
In all maya versions, including 2017 with PySide2 | |
""" | |
__author__ = "liorbenhorin@gmail.com" | |
import sys | |
import os | |
import logging | |
import xml.etree.ElementTree as xml |
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
//PCの環境変数 | |
//Path C:\Users\ゆーざ\AppDうata\Local\Programs\EmEditor;C:\Users\ゆーざ\AppData\Local\atom\bin | |
//TEMP %USERPROFILE%\AppData\Local\Temp | |
//TMP %USERPROFILE%\AppData\Local\Temp | |
//Mayaの環境変数 http://www.dfx.co.jp/dftalk/?p=72 | |
// Share plugin | |
//MAYA_PLUG_IN_PATH=Z:\share\maya\version\plugins;Z:\usr\maya\version\plugins; | |
//知っていると便利かもしれない環境変数一覧 | |
//書き方がわかったところで | |
//本題の知っていると便利かも知れない環境変数の一覧です。 |
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
QTabWidget::pane { | |
border: 1px solid black; | |
background: white; | |
} | |
QTabWidget::tab-bar:top { | |
top: 1px; | |
} | |
QTabWidget::tab-bar:bottom { |
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
# Install pip | |
# $ curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python | |
# | |
# Install Cython | |
# $ pip install cython | |
# | |
# compile command | |
python setup.py build_ext --inplace |
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
#!/bin/bash | |
echo '$ cd /data0' | |
cd /data0 | |
#show status | |
echo '$ git status' | |
git status | |
#add new files in a tree | |
echo '$ git add -A' | |
git add -A |