This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* create some database and administrator account, for example. */ | |
create user dummy_admin; | |
alter user dummy_admin with password 'dummy_pass'; | |
create database "dummy_dbase" owner dummy_admin; | |
\c "dummy_dbase" | |
create extension if not exists postgis; | |
create extension if not exists fuzzystrmatch; | |
create extension if not exists postgis_tiger_geocoder; | |
create extension if not exists postgis_topology; | |
\c postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Tuple | |
import numpy as np | |
class MineSweeper(object): | |
def __init__(self, shape: Tuple, n_mines: int): | |
""" |
OlderNewer