Skip to content

Instantly share code, notes, and snippets.

View kconner's full-sized avatar
✍️

Kevin Conner kconner

✍️
View GitHub Profile
@kconner
kconner / gist:5057423
Last active June 19, 2020 18:20
A shell tool for opening GitHub pages
## For bash or zsh:
# Opens the github page, issue, or new pull request for the current git repository in your browser
# Based on https://github.com/jasonneylon/dotfiles/
function gh {
giturl=$(git config --get remote.origin.url)
if [ "$1" = "help" ]; then
echo "gh: Opens this repository's GitHub homepage."
echo "gh 123 246: Opens the page for issues or pull requests #123 and #246."
echo "gh issues: Opens the repository's issues."
@kconner
kconner / gist:3453403
Created August 24, 2012 17:47
Solarized Dark colors for Marked.app Github style
/*
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: GitHub
Author: Brett Terpstra
Description: Github README style. Includes theme for Pygmentized code blocks.
Colors tweaked toward Solarized Dark by Kevin Conner.
*/
@kconner
kconner / gist:3029300
Created July 1, 2012 19:18
Vimlike SublimeText setup

Some parts of this are personal preference, others are specific to Mac OS X.

  • First, install SublimeText.
  • In SublimeText / Preferences / Color Scheme, choose Solarized Dark (or don't).
  • Open the user preference file (SublimeText / Preferences / Settings — User), add a comma after the last preference before the closing brace, and paste all of this after the comma:
    // Don't exclude Vim.
 "ignored_packages": [