Categories
Workflow

Sublime Text Preferences File

Over the past few years, I’ve picked up a few cool settings for Sublime Text 2.

Remember to edit your Settings – User file, otherwise your settings get overwritten when ST2 is updated.

Screenshot of getting to Settings - User in OSX. (Sublime Text 2, Preferences, Settings - User

I’ve added a bunch of comments explaining most of them. This is meant as a reference. Please don’t just paste this into your settings.

{
	//Distinguish Folders from files
	"bold_folder_labels": true,
	//Need to download here: https://github.com/thinkpixellab/flatland
	"color_scheme": "Packages/Theme - Flatland/Flatland.tmtheme",
	//I had some plugins choking on my VPN
	"detect_slow_plugins": false,
	//Because I exclusively use SCSS, I turned off css. Can be an issue if you have a project that is vanilla css.
	"file_exclude_patterns":
	[
		"*.css",
		".DS_Store",
		"*.scssc"
	],
	//Excluding junk files
	//Also excluding wordpress core (If I need to reference core, I'm using Project Find feature)
	"folder_exclude_patterns":
	[
		"bin",
		".git",
		".sass-cache",
		"tmp",
		"wp-admin",
		"wp-includes"
	],
	//Need to download and install from here: http://font.ubuntu.com/
	"font_face": "Ubuntu Mono",
	//Can't remember what this is for :(
	"font_options":
	[
		"no_bold",
		"subpixel_antialias"
	],
	//I like big fonts on my big monitor :)
	"font_size": 20.0,
	//I'm not bad-ass enough for VIM mode. Someday I'll turn this back on.
	"ignored_packages":
	[
		"Vintage"
	],
	//This is an OSX bug
	"open_files_in_new_window": false,
	//I like to scroll so my last line of code can be at the top of the page.
	"scroll_past_end": true,
	//Found this out after asking the question on ShopTalk: http://shoptalkshow.com/episodes/016-with-ian-stewart/
	"spell_check": true,
	"theme": "Flatland.sublime-theme",
	//Great if you are OCD or just JSHint.
	"trim_trailing_white_space_on_save": true
}
Categories
Links of Interest

Article Roundup for 7.8.13

Categories
Troubleshooting

Using CMS Made Simple with Nginx

I am pretty much a WordPress guy these days, but I do have one legacy site on CMS Made Simple. I was migrating it over to my new Ubuntu server running Nginx, and was having issues.

The Issue

CMS Made Simple was thinking for some reason that the site was using SSL. I’m guessing the test for SSL wasn’t compatible with Nginx. I pinpointed it down to the fact that CMSMS was adding a <base> tag at the top of the site that contained https://.

The Fix

After a few hours I figured out the fix. You can tell CMSMS to disregard this <base> tag with one line of code in your config.php file:

$config['showbase'] = false;

That’s it. I didn’t see this specific fix out there at all, so I thought I’d make this quick post. I’m not sure why this tag is there to begin with.

Categories
Links of Interest

Article Roundup for 6.29.13

Finally figured out the Delicious Curator issue. I switched the plugin to use the V1 API rather than RSS API. I have a version of it on GitHub.

Categories
Links of Interest

Article Roundup for 6.24.13

Sorry the lack of Article Roundup. I’m using Delicious Curator for a to automate these links and it’s been a bit buggy the delicious API seems to be omitting some bookmarks. I’ll post here if I can replicate the issue and fix it. I’ve contacted delicious via Twitter. We’ll see if it’s user error or not. 🙂 Here are the last 20 links I’ve bookmarked. Check out my Delicious page for all links.

Tvenge Design