Skip to content

Instantly share code, notes, and snippets.

View jalbertbowden's full-sized avatar

albert jalbertbowden

View GitHub Profile
@jalbertbowden
jalbertbowden / _fonts.scss
Created October 3, 2017 07:13 — forked from sumul/_fonts.scss
A list of SASS variables to help manage numerical CSS font-weight values.
// Weights
$hairline-weight: 100;
$thin-weight: 200;
$light-weight: 300;
$normal-weight: 400;
$medium-weight: 500;
$semibold-weight: 600;
$bold-weight: 700;
$xbold-weight: 800;
$black-weight: 900;
@jalbertbowden
jalbertbowden / data-gov-csw-howto.rst
Created September 30, 2017 18:25 — forked from kalxas/data-gov-csw-howto.rst
Data.gov CSW HowTo
@jalbertbowden
jalbertbowden / meta-tags.md
Created September 10, 2017 02:27 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@jalbertbowden
jalbertbowden / SMBDIS.ASM
Created August 5, 2017 07:34 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger ([email protected])
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@jalbertbowden
jalbertbowden / index.html
Created August 3, 2017 06:19 — forked from simonewebdesign/index.html
Play WAV and MP3 files with HTML5 Audio
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>audio test</title>
</head>
<body>
<!-- <audio controls="controls" autoplay>
Your browser does not support the <code>audio</code> element.
<source src="smb_gameover.wav" type="audio/wav">
@jalbertbowden
jalbertbowden / gist:51afbed61040a007be46edbf810ee29a
Created July 25, 2017 22:09 — forked from trevorgreenleaf/gist:8513341
Installing Laravel on Media Temple GS
Go into domain folder
transfer or run a new install of laravel
git clone https://github.com/laravel/laravel example.com && cd example.com
// get composer
curl -sS https://getcomposer.org/installer | php -d allow_url_fopen=On
// install composer
php -d allow_url_fopen=On composer.phar install
@jalbertbowden
jalbertbowden / htaccess cache and stuff
Created July 22, 2017 15:34 — forked from wycks/htaccess cache and stuff
Boilerplate .htaccess from Paul Irish with WordPress added
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
@jalbertbowden
jalbertbowden / epaurls.txt
Created July 21, 2017 16:47 — forked from max-mapper/epaurls.txt
epa edg metadata
This file has been truncated, but you can view the full file.
639 "https://www.epa.gov/enviroatlas/enviroatlas-data"
276 "https://enviroatlas.epa.gov/arcgis/rest/services"
194 "https://enviroatlas.epa.gov/arcgis/rest/services/Communities"
142 "https://edg.epa.gov/metadata/"
118 "https://www3.epa.gov/enviro/html/fii/downloads/state_files/Facility%20State%20File%20Documentation.pdf"
54 "http://www.epa.gov/geospatial/"
41 "https://edg.epa.gov/clipship/"
34 "https://epa.maps.arcgis.com/home/webmap/viewer.html?&url=https%3A%2F%2Fenviroatlas.epa.gov%2Farcgis%2Frest%2Fservices%2FSupplemental%2FConnectivity_AllCommunities%2FMapServer"
34 "https://enviroatlas.epa.gov/arcgis/rest/services/Supplemental/Connectivity_AllCommunities/MapServer/kml/mapImage.kmz"
34 "https://enviroatlas.epa.gov/arcgis/rest/services/Supplemental/Connectivity_AllCommunities/MapServer?f=nmf"
@jalbertbowden
jalbertbowden / bookmarklet
Created July 20, 2017 00:37 — forked from kekscom/bookmarklet
Switch to OSM
javascript:(function(m,k){
if(m=location.href.match(/@([+\d,.-]+)/)) {
k=m[1].split(',');
location.href='http://www.openstreetmap.org/#map=Z/Y/X'.replace('X',k[1]).replace('Y',k[0]).replace('Z',k[2]);
}
}())
@jalbertbowden
jalbertbowden / new.html
Created July 19, 2017 00:13 — forked from isstaif/new.html
Simple website using PHP and MySQL
<form action='newpost.php' method=post>
Title: <input type=text name=title />
Body: <input type=text name=body />
<input type=submit />
</form>