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
aarongustafson / basic-manifest.json
Last active Jan 29, 2020
Working with multi-lingual manifest files
View basic-manifest.json
"lang": "en-US",
"name": "Aaron Gustafson",
"short_name": "AaronG",
"scope": "/",
"display": "minimal-ui",
"start_url": "/",
"theme_color": "#27831B",
"description": "The online home and work of Aaron Gustafson.",
"orientation": "any",
View ala-audio-width-download-fallback.html
<figure id="">
<audio controls>
<source src="" type="audio/mp3">
<source src="" type="audio/ogg">
<!-- fall back to a simple image -->
<p>Your browser doesn't support HTML5 audio, but you can <a href="">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 / print.css
Created Oct 18, 2017
Print Style Switching
View print.css
body { background: white; color: black; }
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
<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>
View osx-special-chars.ahk
!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": "",
"contentVersion": "",
"parameters": {
"siteName": {
"type": "string",
"metadata": {
"description": "The name of the web app that you wish to create."
View deployment-php.json
"$schema": "",
"contentVersion": "",
"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.