Table of Contents
https://docs.aws.amazon.com/workspaces/latest/adminguide/azs-workspaces.html
The intent is to define terse, standards-supported names for AWS regions.
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
| " Specify a directory for plugins | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
| Plug 'scrooloose/nerdtree' | |
| "Plug 'tsony-tsonev/nerdtree-git-plugin' | |
| Plug 'Xuyuanp/nerdtree-git-plugin' | |
| Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
| Plug 'ryanoasis/vim-devicons' | |
| Plug 'airblade/vim-gitgutter' |
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
| """ | |
| Osprey Code Challenge | |
| We have a report of ~1000 images taken by 10 cameras in the past month. | |
| Each image metadata object contains a 'camera_id' and 'size' property. | |
| For example: | |
| { | |
| "camera_id": 1, | |
| "size": 42048 |
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
| # If you come from bash you might have to change your $PATH. | |
| export PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin:$HOME/Library/Python/2.7/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=/Users/nelsonochoam/.oh-my-zsh | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-zsh is loaded. | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
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
| """ | |
| Coding Challenge | |
| Given a square airspace, 128km x 128km, and N=10,000 drones occupying the | |
| airspace our challenge is to efficiently compute how many drones are flying | |
| too close to one another. | |
| Drone positions will be provided as an Nx2 array of [x,y] | |
| coordinates (in meters). Drones must maintain a horizontal separation of | |
| radius 0.5km from other drones. If a drone is within 0.5km of another drone, |
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
| import threading | |
| from Queue import Queue, Empty | |
| import numpy as np | |
| import cv2 | |
| from PIL import Image | |
| import boto | |
| from boto.s3.connection import S3Connection | |
| import boto3 |