Skip to content

Instantly share code, notes, and snippets.

View craigkeeling's full-sized avatar
☯️
werk

Craig Keeling craigkeeling

☯️
werk
View GitHub Profile
@craigkeeling
craigkeeling / Contract Killer 3.md
Created November 17, 2018 22:28 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@craigkeeling
craigkeeling / toychest.tmThme
Created July 23, 2014 19:19
Markdown Sublime Syntax
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Jackson Gariety</string>
<key>name</key>
<string>Toy Chest</string>
<key>semanticClass</key>
<string>theme.dark.toy-chest</string>
@craigkeeling
craigkeeling / markdown
Created July 23, 2014 19:19
Markdown Sublime Settings
{
"color_scheme": "Packages/toychest.tmTheme",
"draw_white_space": "all",
"extensions":
[
"mdown",
"txt",
"md",
"markdown"
],
@craigkeeling
craigkeeling / craig
Created July 23, 2014 19:16
marked custom css theme
/*
This document has been created with Marked.app <http://markedapp.com>, Copyright 2011 Brett Terpstra
Please leave this notice in place, along with any additional credits below.
---------------------------------------------------------------
Title: Highlighter
Author: Gordon Brander http://gordonbrander.com
Description: Minimal theme with careful typographic scale and highlighed bold.
Tweaks by Craig
*/
/* http://retinart.net/typography/typographicscale/ */
@craigkeeling
craigkeeling / .ftpsettings
Last active August 29, 2015 14:01
Mixture JSON FTP settings
{
"host": "SERVER",
"port": 21,
"username": "USERNAME",
"password": "PASSWORD",
"path": "../",
"secure": false
}
@craigkeeling
craigkeeling / Main.sublime-menu
Created May 6, 2014 18:15
Menu command for Straight Quotes
// 1. Make a folder under your Data/Packages folder, call it "Straight Quotes"
// 2. Create a file in there called "Straight Quotes.py" and paste in the following:
// 3. Create another file in there called "Main.sublime-menu" and paste the below.
// http://www.sublimetext.com/forum/viewtopic.php?f=3&t=14451
[
{
"id": "edit",
"children":
[
@craigkeeling
craigkeeling / StraightQuotes.py
Created May 6, 2014 18:12
Find/replace those curly ones
# 1. Make a folder under your Data/Packages folder, call it "Straight Quotes"
# 2. Create a file in there called "Straight Quotes.py" and paste in the following:
# 3. Create another file in there called "Main.sublime-menu" (see that filename)
# http://www.sublimetext.com/forum/viewtopic.php?f=3&t=14451
import sublime, sublime_plugin
class StraightQuotesCommand(sublime_plugin.TextCommand):
def run(self, edit):
for rgn in self.view.find_all("[“”]"):
@craigkeeling
craigkeeling / Preferences.sublime-settings
Last active August 29, 2015 14:01
ST Settings USER
{
"close_windows_when_empty": true,
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme",
"detect_slow_plugins": false,
"default_encoding": "UTF-8",
"file_exclude_patterns":
[
".DS_Store",
"*.lib",
"*.log"
@craigkeeling
craigkeeling / Default (OSX).sublime-keymap
Last active August 29, 2015 14:01
ST key bindings USER
// Original by C0D312
// I added the single quote and curly brace to the regex.
// http://www.sublimetext.com/forum/viewtopic.php?f=3&t=5174
//
// Add the following to your user keybindings:
[
{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)}'\"\\]]", "match_all": true },
<ul>
<li><a href="/" {% if mixture.url == "index" %}class="selected"{% endif %}>Home</a></li>
<li><a href="/about" {% if mixture.url == "about" %}class="selected"{% endif %}>About</a></li>
<li><a href="/contact" {% if mixture.url == "contact" %}class="selected"{% endif %}>Contact</a></li>
</ul>