cat /etc/*release
sudo apt-get update -yqq
sudo apt-get install -yqq p7zip-full
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
''' | |
This plugin was ported to python from C++, | |
All credits by Anno Schachner | |
original plugin is here https://github.com/wiremas/tension | |
''' | |
import sys | |
import maya.api.OpenMaya as om2 | |
import maya.OpenMaya as om |
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
<!DOCTYPE html> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" class="uk-height-1-1"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>flasktest</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css" /> | |
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
</head> |
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 git, os, shutil | |
DIR_NAME = "c:/temp2" | |
REMOTE_URL = "https://gitlab.com/blarblar/blar.git" | |
# This is a note to myself on how to pull down to a local folder the latest code from a remote branch. | |
class Progress(git.remote.RemoteProgress): | |
""" |
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
/* | |
COPYRIGHT © 2018 Ringo Hoffmann (zekro Development) | |
READ BEFORE USING: https://zekro.de/policy | |
*/ | |
#include "timer.h" | |
using namespace std; | |
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') |
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 cefpython3 import cefpython | |
import sys, os | |
import platform | |
import ctypes | |
from PySide.QtGui import * | |
from PySide.QtCore import * |
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
typeId | typeName | classification | attributeCount | |
---|---|---|---|---|
0x345dad01 | substance | texture/2d | 38L | |
0x346dad01 | substanceOutput | drawdb/shader/texture/2d/substanceOutput:texture/2d | 36L | |
0x41424141 | animBlendNodeAdditiveDA | animation | 12L | |
0x41424146 | animBlendNodeAdditiveF | animation | 12L | |
0x41424149 | animBlendNodeAdditiveI32 | animation | 12L | |
0x4142414c | animBlendNodeAdditiveDL | animation | 12L | |
0x41424153 | animBlendNodeAdditiveI16 | animation | 12L | |
0x4142424f | animBlendNodeBoolean | animation | 11L | |
0x41424641 | animBlendNodeAdditiveFA | animation | 12L |
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
# | |
# Usage: | |
# | |
# python tabs2spaces.py . 2 .*\.js$ | |
# | |
import argparse | |
import os | |
import re | |
parser = argparse.ArgumentParser(description='Replace tabs with spaces.') |