Skip to content

Instantly share code, notes, and snippets.

View kevinSuttle's full-sized avatar

Kevin Suttle kevinSuttle

View GitHub Profile
@kevinSuttle
kevinSuttle / new-issue-template.js
Created December 11, 2015 19:38
GitHub Issue Template
javascript:(function() {var e = document.getElementById('issue_body');if (e) {e.value += '# What? Why?\n\n\n# How was it tested?\n\n';}})();
@kevinSuttle
kevinSuttle / README.md
Last active December 22, 2015 18:45 — forked from anonymous/README.md
JSON-LD Playground: Icon Schema

Icon Schema

This gist was automatically created by the JSON-LD Playground. You can see it loaded there by visiting:

http://json-ld.org/playground/index.html#/gist/3c379dfb9c1086e6e686
@kevinSuttle
kevinSuttle / Color-Schema.jsonld
Last active December 23, 2015 04:48
UITheme Schema Proposal
{
"@context": "http://schema.org",
"@type": "Color",
"hasCSScolorName": {
"value": "true",
"name": "cornflower_blue"
},
"@values": {
"hexTriplet": "#6495ed",
"hexQuadruplet": "#6495edff",
@kevinSuttle
kevinSuttle / El Capitan Dark.alfredappearance
Created December 23, 2015 20:37
El Capitan Dark theme
alfred://theme/searchForegroundColor=rgba(255,255,255,1.00)&resultSubtextFontSize=1&searchSelectionForegroundColor=rgba(0,0,0,1.00)&separatorColor=rgba(63,63,63,0.00)&resultSelectedBackgroundColor=rgba(0,105,218,1.00)&shortcutColor=rgba(0,160,255,1.00)&scrollbarColor=rgba(72,72,72,1.00)&imageStyle=7&resultSubtextFont=System&background=rgba(37,37,37,1.00)&shortcutFontSize=1&searchFontSize=3&resultSubtextColor=rgba(168,168,173,1.00)&searchBackgroundColor=rgba(37,37,37,1.00)&name=El%20Capitan%20Dark&resultTextFontSize=2&resultSelectedSubtextColor=rgba(216,217,221,1.00)&shortcutSelectedColor=rgba(255,255,255,1.00)&widthSize=3&border=rgba(37,37,37,1.00)&resultTextFont=System&resultTextColor=rgba(255,255,255,1.00)&cornerRoundness=3&searchFont=System%20Light&searchPaddingSize=0&credits=Kevin%20Suttle&searchSelectionBackgroundColor=rgba(178,220,236,1.00)&resultSelectedTextColor=rgba(255,255,255,1.00)&resultPaddingSize=1&shortcutFont=System
@kevinSuttle
kevinSuttle / private.xml
Created December 24, 2015 06:27
Tmux: map CAPS to ctrl-b prefix with Seil/Karabiner
<?xml version="1.0"?>
<root>
<!-- Thanks Brett Terpstra for the tip -->
<!-- http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/ -->
<item>
<name>Tmux Prefix</name>
<appendix>CAPS to control-b</appendix>
<identifier>private.tmux_prefix</identifier>
<autogen>
--KeyOverlaidModifier--
@kevinSuttle
kevinSuttle / one-name.txt
Created January 4, 2016 16:23
Onename.com verification
Verifying that +kevinsuttle is my blockchain ID. https://onename.com/kevinsuttle
@kevinSuttle
kevinSuttle / ghost.conf
Last active July 17, 2016 18:53
Ghost + Nginx + letsencrypt + keybase.io + Digital Ocean + DNSimple
# /etc/nginx/sites-enabled/ghost
server {
root /usr/share/nginx/html;
index index.html index.htm;
listen 443 ssl;
server_name kevinsuttle.com www.kevinsuttle.com;
ssl_certificate /etc/letsencrypt/live/kevinsuttle.com/fullchain.pem;
{
"font_size": 21,
"line_numbers": false,
"gutter": false,
"wrap_width": 80,
"scroll_past_end": false,
"color_scheme": "Packages/User/SublimeLinter/Solarized (Light) (SL).tmTheme",
"line_padding_bottom": 10,
"line_padding_top": 10
}
@kevinSuttle
kevinSuttle / Sublime DFM.md
Created April 19, 2016 15:20
Distraction-free settings diff
{
	"line_numbers": false,
	"gutter": false,
	"draw_centered": true,
	-"wrap_width": 80,
	"word_wrap": true,
	-"scroll_past_end": true
}
@kevinSuttle
kevinSuttle / EmailInput.jsx
Last active May 3, 2017 15:28
Input higher-order components
import CreateInput from './Input.jsx';
const emailProps = {
type: "email",
inputMode: "email",
name: "email",
autoComplete: "email",
pattern: "[a-zA-Z0-9_]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?!([a-zA-Z0-9]*\.[a-zA-Z0-9]*\.[a-zA-Z0-9]*\.))(?:[A-Za-z0-9](?:[a-zA-Z0-9-]*[A-Za-z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?",
spellCheck: false,
autoCorrect: "off",