This file contains hidden or 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
| # bootstrap.ps1 - Public gist for zero-dependency machine setup | |
| # Usage: iex (irm 'https://gist.githubusercontent.com/dfaivre/GIST_ID/raw/bootstrap.ps1') | |
| # | |
| # This script bootstraps a fresh Windows machine by: | |
| # 1. Installing Git (required for chezmoi to clone private repos) | |
| # 2. Installing Chezmoi (dotfiles manager) | |
| # 3. Running chezmoi init --apply to clone and apply dotfiles | |
| # | |
| # The dotfiles repo contains run_once_* scripts that will automatically | |
| # run to complete the full machine setup. |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using GeoAPI.Geometries; | |
| using NetTopologySuite.Geometries; | |
| namespace Foo | |
| { | |
| /// <summary> | |
| /// Finds the largest area inside a polygon (ie, for a label) |