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
line.margin.width=1+ | |
line.margin.visible=1 | |
view.python.whitespace=1 | |
view.eol=0 | |
# Indentation | |
tabsize=4 | |
indent.size=4 | |
use.tabs=0 | |
indent.auto=1 |
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
#!/usr/bin/env python | |
import apt | |
import subprocess | |
#import fnctrl <-- filelock on modprobe blacklists... | |
#import XKit.xutils <-- xorg.conf file editing | |
driver = "nvidia-current" | |
xorg_conf_path = "/etc/X11/xorg.conf" |
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
Question: | |
Is there a way to make myclass run before my other | |
classes without defining explicit relationships? | |
================================================== | |
site.pp: | |
stage{ 'first': } |
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
#!/usr/bin/env python | |
import json | |
import sys | |
checkedfiles={'good':[], 'bad':[]} | |
if len(sys.argv) > 1: | |
for arg in sys.argv[1:]: | |
try: |
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 | |
def bbLoadShelf(name, filepath=""): | |
mainShelfLayout = maya.mel.eval('global string $gShelfTopLevel; string $tmp=$gShelfTopLevel;') | |
labels = maya.cmds.tabLayout(mainShelfLayout, query=True, tabLabel=True) | |
if not name in labels: | |
maya.mel.eval('addNewShelfTab "%s"' % name) | |
maya.utils.executeDeferred( bbLoadShelf('MyPlugin') |
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
Ambient | |
Bluegrass | |
Classical | |
Dubstep | |
Electro | |
Funk | |
Garage | |
HipHop | |
Indie | |
Jazz |
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
|^ | ~|~ ( |-| ]3 |_ /\ ( /< | |
___ ,---, ,--, | |
,-.----. ,--, ,--.'|_ ,--.' | ,---, ,--.'| | |
\ / \ ,--.'| | | :,' | | : ,---,.,---.'| | | : | |
| : || |, : : ' : : : : ,' .' || | : : : ' | |
| | .\ :`--'_ .;__,' / ,---. : | |,--.,---.' ,: : : | ' | | |
. : |: |,' ,'| | | | / \ | : ' || | |: |,-.' | | |
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
#mouse focus milarky | |
[org.gnome.desktop.wm.preferences] | |
focus-mode='sloppy' | |
auto-raise=True | |
auto-raise-delay=500 | |
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
pymel.formLayout(self.form, e=True, | |
attachForm=[ | |
(self.location, "top", 0), | |
(self.location, "left", 0), | |
(self.location, "right", 0), | |
(self.jobNameText, "top", 25), | |
(self.jobNameText, "left", 5), |
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
#include <FastLED.h> | |
#define NUM_LEDS 23 | |
#define BRIGHTNESS_LEDS 84 // set within 0-100 for max brightnetss | |
//#define MAX_CYCLES 3 | |
#define DATA_PIN 1 // pin the data line is connected to | |
// Define the array of leds | |
CRGB leds[NUM_LEDS]; |
OlderNewer