Skip to content

Instantly share code, notes, and snippets.

@andrewbunday
andrewbunday / motd
Created November 13, 2012 09:48
hostname in motd
|^ | ~|~ ( |-| ]3 |_ /\ ( /<
___ ,---, ,--,
,-.----. ,--, ,--.'|_ ,--.' | ,---, ,--.'|
\ / \ ,--.'| | | :,' | | : ,---,.,---.'| | | :
| : || |, : : ' : : : : ,' .' || | : : : '
| | .\ :`--'_ .;__,' / ,---. : | |,--.,---.' ,: : : | ' |
. : |: |,' ,'| | | | / \ | : ' || | |: |,-.' | |
@andrewbunday
andrewbunday / gist:4650776
Last active December 11, 2015 19:48
GSettings Overrides For Desktop Nirvana.
#mouse focus milarky
[org.gnome.desktop.wm.preferences]
focus-mode='sloppy'
auto-raise=True
auto-raise-delay=500
@andrewbunday
andrewbunday / renderSubmitter.py
Last active December 12, 2015 12:18
Someone fucking hates me
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),
#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];