| marp | false |
|---|
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
| "workbench.colorCustomizations": { | |
| // Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast. | |
| "contrastActiveBorder": "", | |
| "contrastBorder": "", | |
| // Base Colors | |
| "focusBorder": "", | |
| "foreground": "", | |
| "widget.shadow": "", | |
| "selection.background": "", | |
| "descriptionForeground": "", |
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
| function dualsubs() | |
| local i = 0 | |
| local tracks_count = mp.get_property_number("track-list/count") | |
| while i < tracks_count do | |
| local track_type = mp.get_property(string.format("track-list/%d/type", i)) | |
| local track_lang = mp.get_property(string.format("track-list/%d/lang", i)) | |
| local track_id = mp.get_property(string.format("track-list/%d/id", i)) | |
| if track_type == "sub" then | |
| if string.match(track_lang, "en") then |
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
| ## Macro title: toc-right | |
| ## Macro has a body: N | |
| ## | |
| ## Developed by: Benjamin DUPUIS | |
| ## Date created: 05/08/2011 | |
| ## Date Updated: 30/11/2016 | |
| ## Installed by: Benjamin DUPUIS | |
| ## @param Maxlvl:title=MaxLvl|type=int|required=true|desc=Max Level|default=5 | |
| ## @param Float:title=Float|type=boolean|required=true|desc=Float/Fixed Position|default=true | |
| ## @param Hidable:title=Hidable|type=boolean|required=true|desc=Hidable (Float menu only)|default=true |
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 | |
| #Make sure we’re running with root permissions. | |
| if [ `whoami` != root ]; then | |
| echo Please run this script using sudo | |
| echo Just type “sudo !!” | |
| exit 1 | |
| fi | |
| #Check for 64-bit arch | |
| if [ uname -m != x86_64 ]; then |
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 | |
| #Make sure we’re running with root permissions. | |
| if [ `whoami` != root ]; then | |
| echo Please run this script using sudo | |
| echo Just type “sudo !!” | |
| exit | |
| fi | |
| #Check for 64-bit arch | |
| if [uname -m != x86_64]; then |
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 PySide2 import QtWidgets, QtCore | |
| def _maya_main_window(): | |
| """Return Maya's main window""" | |
| for obj in QtWidgets.qApp.topLevelWidgets(): | |
| if obj.objectName() == 'MayaWindow': | |
| return obj | |
| raise RuntimeError('Could not find MayaWindow instance') |
NewerOlder