Skip to content

Instantly share code, notes, and snippets.

View speedingdeer's full-sized avatar

Filip Wiśniewski speedingdeer

View GitHub Profile

Code Challenge

Create an API that provides information about Overwatch heroes and their abilities according to the JSONAPI (http://jsonapi.org) spec. Task should be implemented in 90 minutes using ruby language but you are free to choose any open source library which helps to accomplish it.

Prepared solution should be easily ran using a single command. To achieve it, we suggest you to use Docker.

Your API should have the following endpoints:

@speedingdeer
speedingdeer / letsencrypt.md
Created March 8, 2016 17:03 — forked from xrstf/letsencrypt.md
Let's Encrypt on Ubuntu 14.04, nginx with webroot auth

Let's Encrypt on Ubuntu 14.04, nginx with webroot auth

This document details how I setup LE on my server. Firstly, install the client as described on http://letsencrypt.readthedocs.org/en/latest/using.html and make sure you can execute it. I put it in /root/letsencrypt.

As it is not possible to change the ports used for the standalone authenticator and I already have a nginx running on port 80/443, I opted to use the webroot method for each of my domains (note that LE does not issue wildcard certificates by design, so you probably want to get a cert for www.example.com and example.com).

Configuration

For this, I placed config files into etc/letsencrypt/configs, named after <domain>.conf. The files are simple:

"""==============================
Branded IPython Notebook Launcher
=================================
Executing this module will create an overlay over ipython notebooks own static
files and templates and overrides static files and templates and copies over all
example notebooks into a temporary folder and launches the ipython notebook server.
You can use this to offer an interactive tutorial for your library/framework/...