Skip to content

Instantly share code, notes, and snippets.

View mcgwier's full-sized avatar

Jason Mcgwier mcgwier

View GitHub Profile
@mcgwier
mcgwier / index.html
Last active August 30, 2018 19:05
Slim HTML5 Maintenance Page
<!doctype html>
<head>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
@mcgwier
mcgwier / gist:52babdc7c3347700d80cf0b6e52e3e50
Created November 11, 2016 23:08
Set External drives to automount with user login - Mac OS Sierra
sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true
@mcgwier
mcgwier / quote.txt
Last active July 22, 2016 20:56
"Keep your sense of humor, my friend; if you don't have a sense of humor it just isn't funny anymore."
Ram Dass? Unable to find source.
Found it. - Wavy Gravy
https://en.wikipedia.org/wiki/Wavy_Gravy
@mcgwier
mcgwier / blocklist.md
Created July 13, 2016 02:56
Ultimate Blocklist
button {
font-size: 14px;
font-weight: 700;
line-height: 1.2;
display: inline-block;
min-width: 75px;
margin: 0;
padding: 7px 20px;
cursor: pointer;
-webkit-transition: color ease-out .3s, background ease-out .3s, border-color ease-out .3s;
@mcgwier
mcgwier / subscribe.html
Created April 5, 2016 19:55
Campaign Monitor AJAX Subscribe Form
<!-- 1. Take your Campaign Monitor subscribe form as generated from within your account: -->
<form action="http://myaccount.createsend.com/t/r/s/aljhk/" method="post" id="subForm">
<div>
<label for="name">Name:</label><br /><input type="text" name="cm-name" id="name" /><br />
<label for="aljhk-aljhk">Email:</label><br /><input type="text" name="cm-aljhk-aljhk" id="aljhk-aljhk" /><br />
<input type="submit" value="Subscribe" />
</div>
</form>
@mcgwier
mcgwier / LICENSE
Created April 5, 2016 19:54 — forked from jdennes/LICENSE
Subscribing to a Campaign Monitor list using AJAX
The MIT License (MIT)
Copyright (c) James Dennes
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mcgwier
mcgwier / ajaxsubscribe.html
Created April 5, 2016 19:53 — forked from itgoeslikethis/ajaxsubscribe.html
Subscribing to a Campaign Monitor list using AJAX and a really basic animation on success
<!-- 1. Take your Campaign Monitor subscribe form as generated from within your account: -->
<form action="http://myaccount.createsend.com/t/r/s/aljhk/" method="post" id="subForm">
<div>
<label for="name">Name:</label><br /><input type="text" name="cm-name" id="name" /><br />
<label for="aljhk-aljhk">Email:</label><br /><input type="text" name="cm-aljhk-aljhk" id="aljhk-aljhk" /><br />
<input type="submit" value="Subscribe" />
</div>
</form>
@mcgwier
mcgwier / Ionic Button Bar with Text and Icon - Centered.markdown
Created February 1, 2016 15:00
Ionic Button Bar with Text and Icon - Centered