Skip to content

Instantly share code, notes, and snippets.

@craiggists
craiggists / .zshrc
Created August 29, 2013 23:50
oh-my-zsh .zshrc
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="craig"
# Turn off autocorrect
@craiggists
craiggists / Monokai.tmTheme
Created August 22, 2013 16:41
Tweaked Monokai to remove italics (for SCSS and CSS)
<?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">
<plist version="1.0">
<dict>
<key>name</key>
<string>Monokai</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@craiggists
craiggists / Custom.css
Created August 10, 2013 22:23
Chrome dev tools custom CSS Based on article: http://darcyclarke.me/design/skin-your-chrome-inspector/
/*
Chrome Developer Tools - Monokai Color Theme
Author: Béres Máté Csaba / bjmatt.com / @bjmatt / beres.mate@bjmatt.com
-----------------------------------------------------------------------------------------------------------
Installation:
1. Find your Chrome's user stylesheets directory:
@craiggists
craiggists / Toy Chest.tmTheme
Created July 27, 2013 00:37
sublime text theme
<?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>
@craiggists
craiggists / Side Bar.sublime-menu
Last active October 22, 2017 17:23
Sublime Text "Open files with..." on the sidebar
[
{"id": "side-bar-files-open-with",
"children":
[
// Chrome
{
"caption": "Chrome",
"id": "side-bar-files-open-with-chrome",
"command": "side_bar_files_open_with",
@craiggists
craiggists / craig.zsh-theme
Last active October 11, 2015 10:17
oh-my-zsh theme
function toon {
echo -n ""
}
get_git_dirty() {
git diff --quiet || echo '*'
}
autoload -Uz vcs_info
autoload -U colors && colors
@craiggists
craiggists / gist:3709104
Created September 12, 2012 18:58
iPhone 5 screen dimensions
1136 x 640
@craiggists
craiggists / gist:2306208
Created April 4, 2012 22:41
SublimeText: Solarized Dark
<?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>name</key>
<string>Solarized (dark)</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@craiggists
craiggists / user-settings.txt
Last active October 2, 2015 19:38
SublimeText: Settings-User
{
"close_windows_when_empty": true,
"color_scheme": "Packages/Color Scheme - Default/toychest.tmTheme",
"detect_slow_plugins": false,
"file_exclude_patterns":
[
".DS_Store",
"*.lib",
"*.log"
],
@craiggists
craiggists / gist:2306019
Created April 4, 2012 22:00
SublimeText: Settings - Default
// While you can edit this file, it's best to put your changes in
// "User/Preferences.sublime-settings", which overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// Note that the font_face and font_size are overriden in the platform