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
def applyMaterial(node): | |
if cmds.objExists(node): | |
shd = cmds.shadingNode('lambert', name="%s_lambert" % node, asShader=True) | |
shdSG = cmds.sets(name='%sSG' % shd, empty=True, renderable=True, noSurfaceShader=True) | |
cmds.connectAttr('%s.outColor' % shd, '%s.surfaceShader' % shdSG) | |
cmds.sets(node, e=True, forceElement=shdSG) | |
applyMaterial("pSphere1") |
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
/* | |
Sketch which publishes temperature data from a DS1820 sensor to a MQTT topic. | |
This sketch goes in deep sleep mode once the temperature has been sent to the MQTT | |
topic and wakes up periodically (configure SLEEP_DELAY_IN_SECONDS accordingly). | |
Hookup guide: | |
- connect D0 pin to RST pin in order to enable the ESP8266 to wake up periodically | |
- DS18B20: | |
+ connect VCC (3.3V) to the appropriate DS18B20 pin (VDD) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" name="viewport"> | |
<title>Income Tax Raid In Team Thai Group | ടീം തായ് ഗ്രൂപ്പ് ഓഫീസിൽ ആദായ നികുതി വകുപ്പിന്റെ പരിശോധന; കണ്ടെത്തിയത് 100 കോടി രൂപയുടെ നികുതി വെട്ടിപ്പ്; എം ഡി പി സി താഹിറിന്റെ വീട്ടിലെ പോർച്ചിൽ കണ്ടത് റോൾസ് റോയ്സും പോർഷെയും ലംബോർഗിനിയും ഫെരാരിയും അടക്കം പത്ത് ആഡംബര കാറുകൾ; നികുതി വെട്ടിക്കാൻ കാറുകളെല്ലാം രജിസ്റ്റർ ചെയ്തത് പോണ്ടിച്ചേരിയിൽ; ഇന്നലെ തുടങ്ങിയ രണ്ടാംഘട്ട പരിശോധന ഇപ്പോഴും തുടരുന്നു; നികുതി വെട്ടിപ്പിന്റെ കണക്ക് ഭീമമായ തോതിലെന്ന് സൂചന - MarunadanMalayali.com</title> | |
<meta name="description" content="കോഴിക്കോട്: ടീം തായ് ഗ്രൂപ്പിന്റെ ഓഫീസുകളിൽ ആദായ നികുതി ഉദ്യോഗസ്ഥർ നടത്തിയ പരിശോധനയിൽ കണ്ടെത്തിയത് വമ്പൻ വെട്ടിപ്പ്. പ്രാഥമിക പരിശോധനയിൽത്തന്നെ 100 കോടി രൂപയുടെ നികുതി വെട്ടിപ്പ് നത്തിയതായി് കണ്ടെത്തിയതായാണ് സൂചന. കമ്പനി എംഡി പിസി താഹിറിന്റെ വീട്ടിൽ..." /> | |
<meta name="keywords" content="'ഇൻകംടാക്സ് റെയ്ഡ്', 'ഓഫീസ്', 'ടീം തായ് ഗ്രൂപ്പ്', " /> | |
<meta property="og |
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
''' | |
Template class for docking a Qt widget to maya 2017+. | |
Author: Lior ben horin | |
12-1-2017 | |
''' | |
import weakref | |
import maya.cmds as cmds | |
import maya.OpenMayaUI as omui |