Skip to content

Instantly share code, notes, and snippets.

@teared
teared / Octave.sublime-build
Created Oct 17, 2017
Example Octave build system for Sublime Text on Windows
View Octave.sublime-build
{
"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 Oct 17, 2017
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.
View Monolit.tmTheme
<?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>
@teared
teared / backup_and_save.py
Last active Aug 29, 2015
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.
View backup_and_save.py
# 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
View SublimeAStyleFormatter.sublime-settings
{
"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,
You can’t perform that action at this time.