1. Copying Files
---
- hosts: win
tasks:
- name: Copy File
win_copy:
src: C:\output.pdf1. Copying Files
---
- hosts: win
tasks:
- name: Copy File
win_copy:
src: C:\output.pdf国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| ''' | |
| export camera standalone | |
| 1. put in `C:/Users/<user>/Documents/maya/scripts` | |
| 2. open maya and select the camera in outliner | |
| 3. menu 'custom->Export Selected Camera' | |
| ''' | |
| from maya import cmds | |
| from maya import mel | |
| def make_kwargs(overrides, **kwargs): |
| #!/usr/bin/env python | |
| import numpy as np | |
| import cv2 | |
| from time import sleep | |
| # create blank image - y, x | |
| img = np.zeros((600, 1000, 3), np.uint8) | |
| # setup text |
| import maya.OpenMaya as om | |
| # To remove duplicates: ids = list(set(ids)) | |
| def get_selected_comp_ids(): | |
| sel = om.MSelectionList() | |
| om.MGlobal.getActiveSelectionList(sel) | |
| li = 0 | |
| path = om.MDagPath() | |
| comp = om.MObject() | |
| stat = sel.getDagPath(li, path, comp) |
| 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() |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| longqi 20/Jan/16 22:42 | |
| """ | |
| """ | |
| default.txt | |
| """ | |
| """ |