Skip to content

Instantly share code, notes, and snippets.

@teared
teared / backup_and_save.py
Last active July 6, 2019 15:07
System addon bringing to Blender a Houdini-like saving system. Every save a versioned copy of the current scene moved into the backup folder in the current scene directory.
# System addon bringing to Blender a Houdini-like saving system. Every save a
# versioned copy of the current scene moved into the backup folder in the
# current scene directory.
#
# Install from Blender User Preferences → Add-ons via the Install from File
# button, then tick the checkbox near the Backup and Save add-on. Searching by
# name is useful here. After that, the Backup and Save operation can be found in
# space bar menu. Navigate to Blender User Preferences → File and set Save
# Versions to 0. It disables .blend1 files creation on each save which is a
# backup system itself. No need to use it anymore. Remove the Ctrl S shortcut
@teared
teared / Octave.sublime-build
Created October 17, 2017 23:16
Example Octave build system for Sublime Text on Windows
{
"cmd": ["C:/Portable/Octave/bin/octave.exe",
"-p $file_path",
"$file_name"],
"path": "C:/Portable/Octave/bin",
"selector": "source.matlab"
}
@teared
teared / Monolit.tmTheme
Created October 17, 2017 23:05
Sublime Text 3.0 latest "Monokai" turned into "1337" color scheme. Better scopes from Monokai and greater color palette from 1337. Greatly affects default Markdown syntax highlighting.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Generated by: TmTheme-Editor -->
<!-- ============================================ -->
<!-- app: http://tmtheme-editor.herokuapp.com -->
<!-- code: https://github.com/aziz/tmTheme-Editor -->
<plist version="1.0">
<dict>
<key>name</key>
<string>Monolit</string>
{
"user_defined_syntax_mode_mapping": {
"vex": "c",
},
"options_default": {
"style": "allman",
"indent-preproc-block": true,
"indent-preproc-define": true,
"break-blocks": "default",
"unpad-paren": true,