Skip to content

Instantly share code, notes, and snippets.

View kevincoleman's full-sized avatar

Kevin Coleman kevincoleman

View GitHub Profile

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