Skip to content

Instantly share code, notes, and snippets.

@mcewand
mcewand / Map Challenge
Last active July 17, 2018 16:19
Coding Challenge
The goal of this exercise is to display a map at a custom path on a Drupal 8 site. Please do not spend more than a couple hours on this exercise.
In a Docker container:
1. Create a Drupal 8 site
* Create a content type that accepts a title, description, and latitude / longitude points
* Display a map using OpenStreetMap at the path /map/osm
* On the map, display a marker for each content item entered that has both a latitude and longitude
* Create a README explaining how to set up the project
2. Check the project into Github
@mcewand
mcewand / PennInHand_grabber.py
Last active August 29, 2015 14:02
Quick script to help students in the Rare Book School M-95 course.
#!/bin/python
# 1. Save this file to your local machine where you want to save the files
# 2. Change 'manuscript' to the one you want
# 3. Change 'lastItem' to the last numbered item of the text section of the manuscript
# 4. Add a directory 'jpgs' that the images will be stored in
# 5. Run "python PennInHand_grabber.py"
import sys
import urllib