Skip to content

Instantly share code, notes, and snippets.

View beacrea's full-sized avatar

Coty Beasley beacrea

View GitHub Profile
@beacrea
beacrea / MoyoMed Map Code Export
Last active December 28, 2015 09:19
This is my customized google map thats styled to be complimentary with the MoyoMed brand. The tool used to create this can be found at: http://software.stadtwerk.org/google_maps_colorizr/#water/all/64afc3/simplified/landscape/labels/edb64f/simplified
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In -->
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
x="0px" y="0px" width="128px" height="128px" viewBox="0 0 128 128" enable-background="new 0 0 128 128" xml:space="preserve">
<defs>
</defs>
<g>
<image overflow="visible" opacity="0.3" width="128" height="128" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsSAAALEgHS3X78AAAA
GXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD8lJREFUeNrsXYty2zgMBGnZzuN6
@beacrea
beacrea / markItem.js
Last active December 11, 2015 20:09
A way to go through a list of items and mark all items.
var check = document.querySelectorAll('[type="checkbox"]');
var i = check.length;
while(i--){
if(check[i].disabled == true) continue;
check[i].checked = true;
}