Skip to content

Instantly share code, notes, and snippets.

View cmackay's full-sized avatar

Craig MacKay cmackay

View GitHub Profile
@cmackay
cmackay / resume.json
Last active February 5, 2024 02:04
resume.json
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Craig MacKay",
"label": "Senior Full Stack Engineer/Architect",
"image": "https://media.licdn.com/dms/image/C5603AQF1K5J7qdOlvA/profile-displayphoto-shrink_400_400/0/1604448700970?e=1712793600&v=beta&t=Lp0iwdtQH8l2UqVTUDCprMA8uNLMomCW2wsRNo5S9Sg",
"email": "craig2600@gmail.com",
"phone": "(919) 412-8755",
"summary": "Seasoned professional with over 25 years of experience in software design and development, specializing in web and mobile applications. Possess a comprehensive skill set and a proven track record in delivering cutting-edge software solutions.",
"location": {
@cmackay
cmackay / _.md
Created January 29, 2016 18:20
form mask
@cmackay
cmackay / _.md
Last active October 20, 2015 17:08
d3 stacked bar
@cmackay
cmackay / README.md
Last active September 11, 2015 01:03
fresh block

block builder test

<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#core_drawer_panel {
top: 80px;
right: 0px;
bottom: 0px;
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@cmackay
cmackay / markup.html
Last active December 30, 2015 17:59
Angular Hammer.js Sortable
<!DOCTYPE html>
<html ng-app='app'>
<head>
<meta name="description" content="Angular Hammer.js Sortable" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<!-- Styles -->
<style>
body {
background-color: #fff;
@cmackay
cmackay / gist:5863257
Last active January 29, 2024 17:16
AppleScript to save and restore window position and sizes.
-- allSettings is a list of records containing {width:? height:? apps:{{name:? pos:? size:?},...}
-- for each display setup store the apps and their associated position and size
property allSettings : {}
-- create a variable for the current settings
set currentSettings to {}
display dialog "Restore or save window settings?" buttons {"Restore", "Save"} default button "Restore"
set dialogResult to result