Skip to content

Instantly share code, notes, and snippets.

Board = List[List[bool]]
def print_board(board: Board) -> None:
for row in board:
for space in row:
print('Q' if space else '.', end='')
print()
print()
def create_board(n: int) -> Board:
@brianhelba
brianhelba / girder_public_symbols.txt
Created October 27, 2017 00:59
Girder Public Symbols
girder
LogFormatter
format
formatException
LogLevelFilter
filter
StreamToLogger
write
api
access
@brianhelba
brianhelba / extract_isic2017_superpixels.py
Created December 16, 2016 16:53
Extract ISIC-2017 Part 2 features into individual superpixel tiles.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
###############################################################################
# Copyright Kitware Inc.
#
# Licensed under the Apache License, Version 2.0 ( the "License" );
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#