Skip to content

Instantly share code, notes, and snippets.

View kevincoleman's full-sized avatar

Kevin Coleman kevincoleman

View GitHub Profile
@kevincoleman
kevincoleman / Considerations.md
Last active November 26, 2019 18:18
Things to consider when writing features.

Considerations when writing code features

  • code complexity
  • overall amount of work
  • speed/time to production
  • code obfuscation vs simple readability
    • developer skill threshold for comprehension?
  • extensibility
    • modularity for reuse
  • separation of concerns
@kevincoleman
kevincoleman / threeWays.js
Created March 1, 2019 17:19
Three import styles
// way #1
import Storage from "storage";
class MyClass {
setCache(data) {
return Storage.insert(data);
}
}
@kevincoleman
kevincoleman / calendarblock
Last active July 27, 2018 18:02 — forked from wroman/calendarblock
Auto Block Time on Primary Google Calendar from Events on Secondary Calendar - Instructions: https://medium.com/@willroman/auto-block-time-on-your-work-google-calendar-for-your-personal-events-2a752ae91dab
function sync() {
var id="XXXXXXXX"; // CHANGE - id of the secondary calendar to pull events from
var secondaryCal=CalendarApp.getCalendarById(id);
var today=new Date();
var enddate=new Date();
enddate.setDate(today.getDate()+30); // how many days in advance to monitor and block off time
var easement = 30; // set easement, in case you need travel time, or any other buffer
### Keybase proof
I hereby claim:
* I am kevincoleman on github.
* I am kevincoleman (https://keybase.io/kevincoleman) on keybase.
* I have a public key ASDmdD5UppS0YXQiWfsd2MtoXD8JHdLDHwwUk8tfVKs06go
To claim this, I am signing this object:
@kevincoleman
kevincoleman / favoriteMovies.json
Last active May 30, 2016 00:44
Favorite Movies
{
"favoriteMovies":
{
"movie": {
"title": "Across the Universe",
"rating": 0.80
},
"movie": {
"title": "Adjustment Bureau, The",
"rating": 0.80

There once was a suitor from Jot. He liked this young lady a lot. She knew he was wealthy and perfectly healthy, but she just didn’t think he was hot.

@kevincoleman
kevincoleman / log.txt
Created June 30, 2015 18:44
Play Button iTunes Patch Log for OS X 10.10.3 Build 14D136
Build target Play Button iTunes Patch
PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/kevincoleman/Library/Developer/Xcode/DerivedData/Play_Button_iTunes_Patch-cxvmuzuqnmkhlibdokthonfhxhss/Build/Intermediates/Play\ Button\ iTunes\ Patch.build/Debug/Play\ Button\ iTunes\ Patch.build/Script-FA161A16BAE12069639205DA.sh
cd /Users/kevincoleman/dev/play-button-itunes-patch
/bin/sh -c \"/Users/kevincoleman/Library/Developer/Xcode/DerivedData/Play_Button_iTunes_Patch-cxvmuzuqnmkhlibdokthonfhxhss/Build/Intermediates/Play\ Button\ iTunes\ Patch.build/Debug/Play\ Button\ iTunes\ Patch.build/Script-FA161A16BAE12069639205DA.sh\"
Ld /Users/kevincoleman/Library/Developer/Xcode/DerivedData/Play_Button_iTunes_Patch-cxvmuzuqnmkhlibdokthonfhxhss/Build/Products/Debug/Play\ Button\ iTunes\ Patch.app/Contents/MacOS/Play\ Button\ iTunes\ Patch normal x86_64
cd /Users/kevincoleman/dev/play-button-itunes-patch
export MACOSX_DEPLOYMENT_TARGET=10.7
@kevincoleman
kevincoleman / classOutlines
Created June 23, 2015 18:13
Web Design Class Outlines
Typography
* typesetting practice
* font licensing
* creative type illustrations
* typographic document layout
* digital font managment
Intro to Web Design
* HTML
* CSS
@kevincoleman
kevincoleman / thingsToLearn.md
Created May 20, 2015 17:35
Javascript Things to Learn
  • user accounts
  • oauth
  • databases (mongodb?)
  • live-update feeds (twitter, instagram...)
  • csv -> json -> csv
  • nodegit

Living with @jxnblk

A few years ago I moved into a basement apartment with @jxnblk. I was only around two weeks a month as I was splitting time between LA and DC. During this period of time, to say I learned a lot would be a discredit to how much he taught me about living life, being a designer, and being a better person.

  • Pick one small thing and do it every day. Over and over. Focus on quantity not quality. Quality will come as a direct result of quantity. This is the quickest and most efficient way I’ve found to attain the agency to build anything you can dream up. You don’t have to work in 5-hour stretches. An hour of dedicated work a day will go a long way.

  • Have fewer things. The fewer things in your life, the more mental energy you’ll have for other stuff. Our shared apartment space consisted of a small desk, a fold-up table, four fold-up chairs that were kept in a closet when we weren’t using them, and a set of speakers. That was it. Our rooms contained beds and nothing more. My LA house was no