Skip to content

Instantly share code, notes, and snippets.

View marvolo3d's full-sized avatar

tom norman marvolo3d

View GitHub Profile
@anton-christensen
anton-christensen / polyhedra.conky
Created April 20, 2018 23:45
Polyhedra conky script
conky.config = {
_update_interval=0.03,
update_interval=0.075,
background=false,
text_buffer_size=2048,
double_buffer=true,
no_buffers=true,
use_xft=true,
font='Inconsolata',
draw_shades=false,
@andrearastelli
andrearastelli / unitCube.py
Created March 5, 2017 11:42
MAYA - unitCube using MFnMesh
import maya.api.OpenMaya as OpenMaya
mesh = OpenMaya.MFnMesh()
# Simple unitCube coordinates
vertices = []
vertices.append(OpenMaya.MPoint( 1, 1, 1)) # 0
vertices.append(OpenMaya.MPoint( 1, -1, 1)) # 1
vertices.append(OpenMaya.MPoint( 1, -1, -1)) # 2
@liorbenhorin
liorbenhorin / MayaDockingClass.py
Last active October 3, 2023 13:01
Maya 2017 PySide2 Docking Qt QMainWindow
"""
This is what you need to do in order to get a qt window to dock next to maya channel box,
In all maya versions, including 2017 with PySide2
"""
__author__ = "liorbenhorin@gmail.com"
import sys
import os
import logging
import xml.etree.ElementTree as xml
@lambdalisue
lambdalisue / qt_rounded_window.py
Last active March 24, 2022 04:20
An example code to make rounded window on Qt
# coding=utf-8
"""
"""
__author__ = 'Alisue <lambdalisue@hashnote.net>'
try:
from PySide import QtCore
from PySide import QtGui
except ImportError:
from PyQt4 import QtCore
from PyQt4 import QtGui

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: