Skip to content

Instantly share code, notes, and snippets.

Aaron Gustafson aarongustafson

Block or report user

Report or block aarongustafson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ala-audio-width-download-fallback.html
<figure id="">
<audio controls>
<source src="http://alistapart.com/d/misc-images/comment-edit.mp3" type="audio/mp3">
<source src="http://alistapart.com/d/misc-images/comment-edit.ogg" type="audio/ogg">
<!-- fall back to a simple image -->
<p>Your browser doesn't support HTML5 audio, but you can <a href="http://alistapart.com/d/misc-images/comment-edit.mp3">download the MP3</a> instead.</p>
View disabled-readonly.html
<label for="username-1">Disabled Username</label>
<input id="username-1" name="username-1" disabled value="AaronGustafson">
<label for="username-2">Readonly Username</label>
<input id="username-2" name="username-2" readonly value="AaronGustafson">
@aarongustafson
aarongustafson / print.css
Created Oct 18, 2017
Print Style Switching
View print.css
body { background: white; color: black; }
@aarongustafson
aarongustafson / category-manifest.json
Last active Aug 30, 2017
sample manifest with categories
View category-manifest.json
{
"name": "Gojiro",
"description": "Gojiro, a freak mutation with a cynical worldview, suffers the pain of solitude as well as several maladies experienced by entertainers, including drug abuse and suicidal tendencies.",
"icons": [{
"src": "images/icon.png",
"sizes": "192x192"
}],
"categories": ["books", "fiction", "science fiction & fantasy", "kaiju", "怪獣"]
}
View email-input.html
<input type="email" name="email" id="email"
required aria-required="true">
View video-avi-fallback.html
<video>
<source src="my.avi" type="video/avi">
<p>Your browser doesn’t support AVI, but you can
<a href="my.avi" download>download this movie</a></p>
</video>
View osx-special-chars.ahk
#UseHook
!VKC0SC029::Return ; grave -> the grave ` accent gave some probs, used the virtualkey + scancode instead
!e::Return ; acute
!i::Return ; circumflex
!t::Return ; tilde
!u::Return ; umlaut
; 1 2 3 4 5 6 7 8 9 1
; 0
; r g G a A c C t T u U
View deployment-php-no-composer.json
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"type": "string",
"metadata": {
"description": "The name of the web app that you wish to create."
}
},
View deployment-php.json
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"type": "string",
"metadata": {
"description": "The name of the web app that you wish to create."
}
},
View gist:631b89efb66213b97b26c8463c71c02c
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"type": "string",
"metadata": {
"description": "The name of the web app that you wish to create."
}
},
You can’t perform that action at this time.