key | |
---|---|
⌘Space | Opens up finder - use it to open or switch applications, or find files |
⌘w | Close current tab |
⌘t | Open new tab |
⌘Shiftt | Open most recently closed tab (Chrome and Sublime and Firefox, not universal) |
⌘; | Open up settings for the current application |
⌘Tab | Switch between applications |
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
exception ItemAlreadyExists of string | |
exception ItemNotFound of string | |
exception DomainError of string | |
type Command = | |
| CreateInventoryItem of Id: int | |
| RenameInventoryItem of Id: int * Name: string | |
| RemoveItemsFromInventory of Id: int * Amount: int | |
| AddItemsToInventory of Id: int * Amount: int | |
| DeactivateInventoryItem of Id: int |
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
defmodule FizzBuzz do | |
@doc """ | |
Given a range, returns an array of values conforming to the FizzBuzz pattern. | |
## Example | |
FizzBuzz.calculate 1..15 | |
-> 1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz | |
""" | |
def calculate(range) do |