Skip to content

Instantly share code, notes, and snippets.

View cgarrard's full-sized avatar

Chris Garrard cgarrard

  • RS/GIS Lab at Utah State University
  • Logan, UT
View GitHub Profile
@cgarrard
cgarrard / cities.geojson
Last active January 28, 2025 17:03
Sample geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cgarrard
cgarrard / evernoteTags.py
Created May 18, 2013 01:22
Shared notebooks in Evernote do not allow anyone but the notebook owner to tag notes. I wanted people to be able to add a note and tag it, so I came up with this and set it to run periodically on one of my computers. Add "tag:xxx" (without the quotes, and where xxx the tag you want to add) to the title of the note, and this script will find all …
import evernote.edam.userstore.constants as UserStoreConstants
from evernote.api.client import EvernoteClient
from evernote.api.client import NoteStore
auth_token = "put-your-auth-token-here"
client = EvernoteClient(token=auth_token, sandbox=False)
note_store = client.get_note_store()
# Get the tags and their guids for tagging later