Skip to content

Instantly share code, notes, and snippets.

@robmccormack
robmccormack / any.sublime-settings.json
Last active December 19, 2015 09:39
Sublime Text - settings file with comments (*.settings files are .json files, and can't have comments) Solution: make a tag that does nothing, for comments.
{
"my_setting_comments":
[
"json files CAN NOT have comments,they are stripped out",
"TIP: use underscore like this to disable (with quotes) theme_: Phoenix Dark.sublime-theme",
"Comment1",
"Comment2"
],
@robmccormack
robmccormack / mrm_fav_hotkeys.md
Last active December 19, 2015 10:19
mrm_Favorite_Hotkeys - hotkeys and quick tips.
@robmccormack
robmccormack / mrm_example_dialogs.py
Last active February 12, 2024 10:54
Examples of using custom dialogs and messages in Sublime Text 2
import sublime
import sublime_plugin
'''
__ __ __ __
| \/ |_ _| \/ |
| |\/| | '_| |\/| |_
|_| |_|_| |_| |_(_)
Project: Examples of using custom dialog and messages in Sublime 2
@robmccormack
robmccormack / mrm_show_quick_panel.py
Created July 19, 2013 17:19
Examples of using custom quick_panels in Sublime Text 2 / 3
import sublime_plugin
import datetime
'''
__ __ __ __
| \/ |_ _| \/ |
| |\/| | '_| |\/| |_
|_| |_|_| |_| |_(_)
Project: Examples of using show_quick_panel in Sublime 2
@robmccormack
robmccormack / pythontips.md
Last active December 20, 2015 22:39
Python Tips - by Rob.
@robmccormack
robmccormack / test for proofreading.md
Last active December 21, 2015 07:28
Test for proofreading - Markdown language

#The Joy of Coding a Simple Plugin

Rob Smith on August 30, 2013 with 48 Commments

Tutorial Details

Program: Some programm
Version: 2.0
Difficulty: Beginner

Estimated Completion Time: 45 minutes

@robmccormack
robmccormack / top10.md
Last active December 21, 2015 07:49
TEN TIPS FOR WRITING SUCCESSFUL SCRIPTS

Excerpted from “A short-cut to Hollywood Success” by Linda Cowgill Creative Screenwriting 05/11/2004)

Consider these tips before you shoot your short film

  1. Know who you're making your film for. If you're making it for yourself, that's who you have to satisfy. If you're making it as an entry into the industry, your film needs to work dramatically as well as technically. Competition is stiff.
@robmccormack
robmccormack / tododatepublic.md
Last active December 21, 2015 07:59
Tuts+ DRAFT Article

The Joy of Coding a Simple Sublime Text Plugin

Rob McCormack on August 30th 2013 with 48 Comments

@robmccormack
robmccormack / tp_message_dialog.py
Created August 22, 2013 16:40
tp_message_dialog.py
import sublime
import sublime_plugin
import os
# run this with at the Python console with:
# view.run_command("message_dialog")
class MessageDialogCommand(sublime_plugin.TextCommand):
@robmccormack
robmccormack / tp_status_message.py
Created August 22, 2013 16:54
tp_status_message.py
import sublime
import sublime_plugin
# did it work
# run this with at the Python console with:
# view.run_command("status_message")
# filename: tp_status_message.py
class StatusMessageCommand(sublime_plugin.TextCommand):