Skip to content

Instantly share code, notes, and snippets.

@csimmons0
csimmons0 / WaitingListViewController.swift
Last active January 12, 2018 01:58
UICollectionView cells are misaligned
/*
NOTE: I've removed code that I'm certain is irrelevant, things code that has nothing to do with the collection view.
"executive" is the view model that provides the cells' contents, their widths relative to the collection
view's width, and their heights relative to their widths. This collection view uses different cell types in different
sections. The cells that are misaligned are of the SelectableCollectionViewCell type.
*/
//
@csimmons0
csimmons0 / register_persons.py
Last active August 5, 2020 06:17
Doclily screening question for Python coders
#!/usr/bin/env python3
"""
This is a screening question for potential hires. See the comment on
the register_persons function for how to answer this question. Please
share your response in a private github gist or an attachment. (Upwork
will remove the code's formatting if you simply paste it into a message.)
"""
import collections
@csimmons0
csimmons0 / ExecutiveCommon.hpp
Last active December 9, 2016 22:02
Doclily screening question.
//
// Created by Christopher Simmons on 12/6/16.
//
#pragma once
#include <chrono>
#include <map>
namespace doclily {