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
""" | |
Keybindings: Preferences > Key Bindings - User | |
(brackets included) | |
============ | |
[ | |
{"keys": ["ctrl+t"], "command": "toggle_side_bar"}, | |
{"keys": ["ctrl+v"], "command": "paste_and_indent"}, | |
{"keys": ["ctrl+shift+v"], "command": "paste"}, | |
{ "keys": ["ctrl+shift+m"], "command": "open_msdn" }, | |
{ "keys": ["ctrl+shift+m"], "command": "open_msdn" }, |
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
/*jslint vars: true, plusplus: true, devel: true, nomen: true, regexp: true, indent: 4, maxerr: 50 */ | |
/*global $, CSInterface, SystemPath, themeManager, require */ | |
var fs = require('fs'); | |
var XMLSerializer = require('xmldom').XMLSerializer; | |
var path = require('path'); | |
var constructDOM() { | |
'use strict'; | |
try { | |
var data = document.createElement('div'); |
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/python | |
""" | |
Web scraper for product IDs on web pages. | |
Dependencies: | |
lxml - pip install lxml | |
requests - pip install requests | |
""" | |
import os |
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__ = 'Alex' | |
""" | |
FK: If attribute FKIKBlend attr is < 1, turn on vis. | |
IK: If attribute FKIKBlend attr is > 0, turn on vis. | |
""" | |
import pymel.core as pmc | |
LIKControlOff = pmc.PyNode('Nice_L_arm_IK_CTRL_WORLD_offset') |
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
tdm-gcc | |
msysgit | |
cmder | |
vs2015 |
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
Notes of this: | |
https://training.docker.com/introduction-to-docker | |
https://training.docker.com/docker-fundamentals | |
https://training.docker.com/docker-operations | |
Docker: | |
Engine - program that enables containers to be built, shipped and run. | |
Engine uses Linux Kernel namespaces and control groups. |
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
ubuntu 15.04 | |
install Guest Additions image | |
restart | |
===========mount | |
$ sudo mount -t vboxsf shared_dev /home/win_dev | |
==========Sublime Text 3 | |
http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3083_amd64.deb |
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
MayaPluginWizard never works. Here's setting up a project from scratch. | |
File > New Project > Visual C++ > Win32 > Win 32 Project > Name it. | |
Win32 Application Wizard > Next > DLL | |
Additional Options > Empty Project checked > Finish | |
Main Window | |
Right-click Source Files > Create an empty .cpp file |
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 pymel.core as pm | |
import shiboken2 | |
import maya.OpenMayaUI as OMUI | |
from PySide2 import QtWidgets | |
def deleteSignInButton(): | |
statusLine = pm.mel.eval('$tmp = $gStatusLineForm') | |
pointer = OMUI.MQtUtil_findControl(statusLine) | |
statusLine = shiboken2.wrapInstance(long(pointer), QtWidgets.QWidget) | |
mayaStatusShelf = statusLine.children()[1].children()[1] |