Skip to content

Instantly share code, notes, and snippets.

View kevincoleman's full-sized avatar

Kevin Coleman kevincoleman

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kevincoleman on github.
  • I am kevincoleman (https://keybase.io/kevincoleman) on keybase.
  • I have a public key whose fingerprint is DA5A EAA5 F033 0091 C3D7 E2AE 9913 B4D0 FB66 3979

To claim this, I am signing this object:

@kevincoleman
kevincoleman / catsOnLap.js
Last active August 29, 2015 14:12
A script to explain the interaction that takes place when a cat jumps on a lap.
var cat = {
annoyance: 30 // cats are never not annoyed
};
var lapContents = [];
var needToPee = 0;
var catSettle = function(settlingCat) {
if (cat.annoyance < 100) {
lapcontents.push(settlingCat);
} else {
<gwrcmds>
<gwrcmd>
<gcmd>RoomGetCarousel</gcmd>
<gdata>
<gip>
<version>1</version>
<rc>200</rc>
<room>
<rid>0</rid>
<name>Bedroom</name>
<gwrcmds><gwrcmd><gcmd>RoomGetCarousel</gcmd><gdata><gip><version>1</version><rc>200</rc><room><rid>0</rid><name>Bedroom</name><desc></desc><known>1</known><type>0</type><color>000000</color><colorid>0</colorid><img>images/black.png</img><power>0</power><poweravg>0</poweravg><energy>0</energy><device><did>216390408111808475</did><known>1</known><lock>0</lock><state>0</state><level>0</level><node>238</node><port>0</port><nodetype>16386</nodetype><name>Bedroom</name><desc>LED</desc><colorid>0</colorid><imgs>images/lighting/TCP/TCP-A19.png</imgs><imgm>images/lighting/TCP/TCP-A19.png</imgm><imgb>images/lighting/TCP/TCP-A19.png</imgb><imgs_s>images/lighting/TCP/TCP-A19.png</imgs_s><imgm_s>images/lighting/TCP/TCP-A19.png</imgm_s><imgb_s>images/lighting/TCP/TCP-A19.png</imgb_s><type>multilevel</type><rangemin>0</rangemin><rangemax>99</rangemax><power>0</power><poweravg>0</poweravg><energy>0</energy><score>0</score><productid>1</productid><prodbrand>TCP</prodbrand><prodmodel>LED A19 11W</prodmodel><prodtype>LED</prod
@kevincoleman
kevincoleman / tbl
Last active August 29, 2015 14:17
table centering
<table width="600" border="0" align="center" cellpadding="0" cellspacing="10" style="color: #333333;">
<tbody>
<tr>
<td style="text-align: center;">
<img src="http://echo7.bluehornet.com/cimages/27a9ce511d38437d10bdd1c4ce973fa8/DSLogosmallest.jpg" alt="" align="" style="margin: 0px;" border="0" />
</td>
<td style="text-align: center;"></td>
</tr>
</tbody>
</table>
@kevincoleman
kevincoleman / spacerCell
Created March 30, 2015 21:11
Table Spacer Cell
<td width="25" style="font-size: 1px; line-height: 1px;">
<img width="25" height="1" src="http://emails.premiercellar.com/GeneralAssets/spacer.gif" border="0" hspace="0" style="display:block" alt="">
</td>

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

@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
@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 / 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