Skip to content

Instantly share code, notes, and snippets.

View joshearl's full-sized avatar

Josh Earl joshearl

View GitHub Profile
@joshearl
joshearl / Layout.cs
Created December 18, 2013 20:59 — forked from praeclarum/Layout.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using MonoTouch.UIKit;
namespace Async.iOS
{
public static class Layout
{
{
// standard one, non-standalone HTML to 00-MarkdownOutput.html
// Turabian citation style
"cmd": ["pandoc","--smart","-o","00-MarkdownOutput.html","$file_name","--csl","C:\\Users\\Duncan\\Github\\styles\\turabian-fullnote.csl","--bibliography","C:\\Users\\Duncan\\Github\\sources\\zotero-sources.bib","--bibliography","C:\\Users\\Duncan\\Github\\sources\\bibleworks-sources.bib"],//,"--bibliography","C:\\Users\\Duncan\\Github\\sources\\logos-sources.bib"],
// standalone HTML using source file name as base
// MLA Citation style
// "cmd": ["pandoc","--smart","-s","-o","$file_base_name.html","$file_name","--bibliography","C:\\Users\\Duncan\\Github\\sources\\zotero-sources.bib","--bibliography","C:\\Users\\Duncan\\Github\\sources\\bibleworks-sources.bib","--csl","C:\\Users\\Duncan\\Github\\styles\\modern-language-association.csl","-c","C:\\Users\\Duncan\\Dropbox\\standalone.css"],//"--bibliography","C:\\Users\\Duncan\\Github\\sources\\logos-sources.bib",
@joshearl
joshearl / PHP.sublime-settings
Created July 13, 2013 19:44
To enable double-clicking to select PHP variables (including the `$` prefix), save this file as `Data/Packages/User/PHP.sublime-settings`.
{
"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?"
}
@joshearl
joshearl / SampleProject.sublime-project
Created May 11, 2013 19:04
I created this gist for a video tutorial on using the sublime-github plugin for Sublime Text.
{
"folders":
[
{
"path": "folder/subfolder",
"folder_exclude_patterns": ["convert_html"],
"file_exclude_patterns": [".gitignore", "*.sublime*", "*Icon*"]
}
],
"settings":
@joshearl
joshearl / Fetch-sublime.settings
Last active May 2, 2017 13:34
Example Fetch.sublime-settings file that shows how to add the WordPress Plugin Boilerplate to the list of packages you can install with the Fetch plugin.
{
"files":
{
"jquery": "http://code.jquery.com/jquery.min.js"
},
"packages":
{
"html5_boilerplate": "https://github.com/h5bp/html5-boilerplate/zipball/master",
"wordpress_plugin_boilerplate": "https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/zipball/master"
}
@joshearl
joshearl / SassExampleProject.sublime-project
Last active December 16, 2015 11:29
Example Sublime Text project file customized for SASS development. It changes the output directory for compiled SASS files to a css folder, which is excluded from the side bar.
{
"folders": [{
"path": "src",
"folder_exclude_patterns": ["css"]
}],
"build_systems": [{
"name": "Sass",
"cmd": ["sass", "--update", "$file:${file_path}/../css/${file_base_name}.css"]
}]
}
@joshearl
joshearl / hello-sublime-github.js
Created April 3, 2013 11:02
Creating a gist using the sublime-github plugin
$(function() {
console.log("Hello, sublime-github");
});
@joshearl
joshearl / Sample.sublime-project
Created January 22, 2013 12:33
Sublime project file that includes a custom build system. The build.ps1 script will be selected by default when Sublime's auto build feature is enabled.
{
"folders":
[
{
"path": "/",
"folder_exclude_patterns": ["js", "css"],
"file_exclude_patterns": [".gitignore"]
}
],
"build_systems":
@joshearl
joshearl / PowerShell.sublime-build
Created January 12, 2013 14:23
Custom Sublime Text build system that executes the build.ps1 script. To use, save PowerShell.sublime.build in /Data/Packages/User and put build.ps1 in the same directory as the current Sublime project file.
{
"cmd": ["%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe", "./build.ps1"],
"shell": true,
"working_dir": "${project_path}"
}
@joshearl
joshearl / blank-sublime-text-snippet.xml
Created December 1, 2012 13:21
Sublime Text 2 Recruiter Response Snippet
<snippet>
<content><![CDATA[]]></content>
<tabTrigger></tabTrigger>
<scope></scope>
<description></description>
</snippet>