Skip to content

Instantly share code, notes, and snippets.

View kylecesmat's full-sized avatar
🦑
all the things

Kyle Cesmat kylecesmat

🦑
all the things
View GitHub Profile
{
"caret_extra_width": 1,
"caret_style": "phase",
"close_windows_when_empty": false,
"color_scheme": "Packages/User/SublimeLinter/predawn (SL).tmTheme",
"create_window_at_startup": false,
"default_line_ending": "Unix",
"detect_indentation": false,
"detect_slow_plugins": false,
"draw_minimap_border": true,
@kylecesmat
kylecesmat / gSheets.gs
Last active May 24, 2018 13:36
A Google Script for creating a RESTful store using Google Sheets
// 1. Enter sheet name where data is to be written below
var SHEET_NAME = "DATA";
// 2. Run > setup
//
// 3. Publish > Deploy as web app
// - enter Project Version name and click 'Save New Version'
// - set security level and enable service (most likely execute as 'me' and access 'anyone, even anonymously)
//
// 4. Copy the 'Current web app URL' and post this in your form/script action
import sublime_plugin
import sublime
import os
class MyEvents( sublime_plugin.EventListener ):
def on_activated( self, view ):
s = view.file_name()
if s:
if not os.path.exists( s ):
@kylecesmat
kylecesmat / SassMeister-input.scss
Created March 12, 2015 20:46
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
//amp targets item directly
.amp__item {
font-family : 'Lato';
& + & {
@kylecesmat
kylecesmat / gist:e0d68f345d5635442290
Created February 27, 2015 23:09
It's a real drag...
/* jshint globalstrict: true */
'use strict';
var React = require('react');
var Day = require('../schedule/day');
var Profile = require('../schedule/user-profile');
var UserTypes = require('../schedule/userTypes');
var DragDropMixin = require('react-dnd');
module.exports = React.createClass({