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 bpy | |
import bmesh | |
# THIS SCRIPT WILL RENDER THE ANIMATION USING THE SCENE'S OUTPUT SETTINGS | |
# DURING THE RENDER BLENDER WILL APPEAR TO FREEZE | |
# TO SEE THE EFFECT, SET UP MATERIAL TEXTURES LIKE THIS: | |
#+-------------+ +------------------+ +-----------------+ | |
#|UV MAP | |SEPARATE XYZ | |DIVIDE | | |
#| UV *|-----| X *|----------|* Value Value *|\ |
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
Having both speakers and headphones plugged in and switching in software on-the-fly | |
By design, Pulseaudio automatically turns off Line Out when headphones are plugged in and uses Headphone slider instead. You can observe this behavior in alsamixer. What we want is to have Headphone and Line Out sliders working separately and at the same time. This is extremely useful if you want to remap Realtek's jacks to have, say, Rear Green for headphones and Blue for speakers (with the help of hdajackretask from alsa-tools). | |
To achieve this, you should directly edit Pulseaudio mixer's configuration. | |
1. We tell pulseaudio that headphones are always plugged in. | |
Edit: | |
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.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
# disable software flow control | |
stty -ixon | |
# The following lines were added by compinstall | |
zstyle ':completion:*' completer _expand _complete _ignored _approximate | |
zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' | |
zstyle ':completion:*' menu select | |
zstyle :compinstall filename '/home/fred/.zshrc' | |
autoload -Uz compinit |
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
!!!--- urxvt settings | |
!!!--- loginshell, for ruby / rvm | |
URxvt*.loginShell: true | |
!!!--- Font and general settings | |
URxvt*.font: xft:terminus:size=11 | |
URxvt*.geometry: 80x32 | |
URxvt*.buffered: true |
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
" disable vi compatibility | |
set nocompatible | |
" == VUNDLE SETUP == | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let vundle manage Vundle |