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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Crosstool-NG Configuration | |
# | |
CT_CONFIGURE_has_xz=y | |
CT_CONFIGURE_has_svn=y | |
CT_MODULES=y | |
# | |
# Paths and misc options |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Crosstool-NG Configuration | |
# | |
CT_CONFIGURE_has_xz=y | |
CT_CONFIGURE_has_svn=y | |
CT_MODULES=y | |
# | |
# Paths and misc options |
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
// Warning: file: /usr/autodesk/maya2015-x64/scripts/startup/initialStartup.mel line 195: Y-axis is already the Up-axis // | |
updateRendererUI; | |
updateRendererUI; | |
updateRendererUI; | |
file -f -new; | |
// Warning: file: /usr/autodesk/maya2015-x64/scripts/startup/setNamedPanelLayout.mel line 151: Viewport 2.0 is not supported by your current graphics configuration or graphics driver version. | |
The application is reverting to the legacy default viewport, please correct your graphics configuration or set the "Default viewport" preference to "Legacy Default Viewport" to prevent this error from recurring. // | |
// Result: untitled // | |
commandPort -securityWarning -name commandportDefault; | |
// Mental ray for Maya: using startup file /usr/autodesk/mentalrayForMaya2015//maya.rayrc. |
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
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> | |
<!-- | |
For other language: Instead of `ace/mode/ruby`, Use | |
Markdown -> `ace/mode/markdown` | |
Python -> `ace/mode/python` | |
C/C++ -> `ace/mode/c_cpp` | |
Javscript -> `ace/mode/javascript` | |
Java -> `ace/mode/java` | |
Scala- -> `ace/mode/scala` |
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
// ==UserScript== | |
// @name 和谐华新助手 | |
// @include http://bbs.huasing.org/* | |
// @version 0.22 | |
// @description Hide posts from penzi | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js | |
// @grant GM_addStyle | |
// ==/UserScript== | |
// 可以自己加的 ^_^ 我这是测试数据而已 不是攻击啊,别喷我 |
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
# $OpenBSD: ssh_config,v 1.28 2013/09/16 11:35:43 sthen Exp $ | |
# This is the ssh client system-wide configuration file. See | |
# ssh_config(5) for more information. This file provides defaults for | |
# users, and the values can be changed in per-user configuration files | |
# or on the command line. | |
# Configuration data is parsed as follows: | |
# 1. command line options | |
# 2. user-specific file |
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
# PyQt4 with Qt4 NSIS installer script. | |
# | |
# Copyright (c) 2015 Riverbank Computing Limited <[email protected]> | |
# | |
# This file is part of PyQt4. | |
# | |
# This file may be used under the terms of the GNU General Public License | |
# version 3.0 as published by the Free Software Foundation and appearing in | |
# the file LICENSE included in the packaging of this file. Please review the | |
# following information to ensure the GNU General Public License version 3.0 |
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
class MayaRefParser(object): | |
''' | |
This parses .ma file and get refrenced files info, store them in itself | |
''' | |
def __init__(self , maFile=None): | |
self.header = '' | |
self.refHeader = '' | |
self.otherHeader = '' | |
self.contents = '' | |
self.contentsLineNum = 0 |
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
import re | |
import maya.cmds as mc | |
import maya.mel as mel | |
def get_optionvar(var, type='iv'): | |
pref_file = mc.internalVar(userPrefDir=1)+'userPrefs.mel' | |
values = [] | |
with open(pref_file) as f: | |
for line in f.readlines(): |
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
import maya.utils as mu | |
import maya.cmds as mc | |
import maya.mel as mel | |
def custom_script_editor(): | |
'''launch from maya command line script editor icon.''' | |
def cmdWnd(arg=None): | |
mc.ScriptEditor() | |
import syncScriptEditor as SE | |
SE.add_script_editor_toolbar() |