Skip to content

Instantly share code, notes, and snippets.

View Allysh0w's full-sized avatar
🏠
Working from home

Allyson Martins Allysh0w

🏠
Working from home
View GitHub Profile
@Allysh0w
Allysh0w / multiple_ssh_setting.md
Created February 28, 2023 15:40 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@Allysh0w
Allysh0w / annotation.md
Created March 18, 2020 17:48 — forked from erikerlandson/annotation.md
Monads for using break and continue in scala for comprehensions

Applied Functional Programming with Scala - Notes

Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.

1. Mastering Functions

A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.

val square : Int => Int = x => x * x