- https://html.spec.whatwg.org/multipage/interaction.html#focus
- https://www.w3.org/TR/2016/REC-html51-20161101/editing.html#can-be-focused
- https://www.oreilly.com/ideas/proposing-css-input-modality
- https://www.sitepoint.com/learning-to-focus/
- https://egghead.io/lessons/css-focus-management-using-css-html-and-javascript
- https://youtu.be/ilj2P5-5CjI?list=PLNYkxOF6rcICWx0C9LVWWVqvHlYJyqw7g
- https://drafts.csswg.org/selectors-4/#the-focus-pseudo
- https://www.w3.org/TR/WCAG21/#focus-visible
- http://webaim.org/techniques/keyboard/
- http://www.outlinenone.com/#test2
Or baemaps if you're typing too quickly
First question:
- All teh works
Then desktop GIS is for you! Go ahead and find every single background layer you could ever think of and download it! Parks, roads, cemeteries, buildings, streams, water bodies, railroads, wetlands, parking lots, forests, farms...
Now load them all up in your desktop GIS of choice (who are we kidding. It's ArcGIS). Style away! Don't forget to think about scale ranges. So style each thing for each scale range!
Not keen on GUIs? Then grab an old dusty copy of Tilemill, load up each of your layers per usual, and then start writing CartoCSS. It's fun!
This Gist's content has been added to http://government.github.io/best-practices/design-systems/ and will no longer be edited here
Initially focused on Open Design Systems used by U.S. Federal agencies (e.g. Vets.gov Playbook), and looking to include more in the Open Source Government space.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "vars": { | |
| "@gray-base": "#000", | |
| "@gray-darker": "lighten(@gray-base, 13.5%)", | |
| "@gray-dark": "lighten(@gray-base, 20%)", | |
| "@gray": "lighten(@gray-base, 33.5%)", | |
| "@gray-light": "lighten(@gray-base, 46.7%)", | |
| "@gray-lighter": "lighten(@gray-base, 93.5%)", | |
| "@brand-primary": "darken(#428bca, 6.5%)", | |
| "@brand-success": "#5cb85c", |
##QGIS Resources ##Maptime MSP - March 2015
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Maptime MSP - February 2015 Favorite Data Sources | |
| Hennepin County [Agata] | |
| http://www.hennepin.us/your-government/open-government/gis-open-data | |
| Minnesota Population Center - TerraPop [Agata] | |
| http://www.terrapop.org/ | |
| National Highway Planning Network [Nat] | |
| http://www.rita.dot.gov/bts/sites/rita.dot.gov.bts/files/publications/national_transportation_atlas_database/index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
- Related Setup: https://gist.github.com/hofmannsven/6814278
- Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
- Interactive Beginners Tutorial: http://try.github.io/
- Git Cheatsheet by GitHub: https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
Press minus + shift + s and return to chop/fold long lines!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import shapefile | |
| # read the shapefile | |
| reader = shapefile.Reader("my.shp") | |
| fields = reader.fields[1:] | |
| field_names = [field[0] for field in fields] | |
| buffer = [] | |
| for sr in reader.shapeRecords(): | |
| atr = dict(zip(field_names, sr.record)) | |
| geom = sr.shape.__geo_interface__ | |
| buffer.append(dict(type="Feature", \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Json2CSV(objArray) | |
| { | |
| var | |
| getKeys = function(obj){ | |
| var keys = []; | |
| for(var key in obj){ | |
| keys.push(key); | |
| } | |
| return keys.join(); | |
| }, objArray = format_json(objArray) |
NewerOlder