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
const curry = (fn, ...initialArgs) => (...args) => fn(...initialArgs, ...args); | |
// const add = (a, b) => a + b; | |
// const add5 = curry(add, 5); | |
// const result = add5(1) // 6 | |
// https://programming-idioms.org/idiom/37/currying |
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
set hlsearch " highlight all search results | |
set ignorecase " do case insensitive search | |
set incsearch " show incremental search results as you type | |
set number relativenumber " display hybrid relative line numbers | |
set nobackup | |
set nowritebackup | |
set noundofile | |
set noswapfile " disable swap file | |
" https://swordandsignals.com/2020/12/13/5-lines-in-vimrc.html | |
" https://lee-phillips.org/badvim/ |
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
(3) ⚀ ⚀ ⚀ | |
(4) ⚀ ⚀ ⚁ | |
(4) ⚀ ⚁ ⚀ | |
(4) ⚁ ⚀ ⚀ | |
(5) ⚀ ⚀ ⚂ | |
(5) ⚀ ⚁ ⚁ | |
(5) ⚀ ⚂ ⚀ | |
(5) ⚁ ⚀ ⚁ | |
(5) ⚁ ⚁ ⚀ | |
(5) ⚂ ⚀ ⚀ |
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
# Full Stack Development Course User’s Manual | |
Welcome to the Full Stack Development Course! This course is designed to equip you with the knowledge and skills to build comprehensive full stack software projects. You'll learn how to make informed decisions, work effectively in teams, and explore new territories of knowledge. This manual lays out what to expect from the course and how the final score is determined. If anything is unclear, please ask! | |
# Course Principles | |
These principles guide class decisions and evaluations. | |
**Process: **Focus on _how_ decisions are made to improve the decisions themselves. |
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
export const chooseRandomElement = <T>(array: T[]) => array[Math.floor(Math.random() * array.length)] | |
export const generateRandomFinnishSentence = () => { | |
type Subject = "minä" | "sinä" | "hän" | "me" | "te" | "he" | |
const verbAssociationTuples: [string, string[]][] = [ | |
[ | |
"aloittaa", | |
["opinnot", "projektin", "työt", "harjoituksen", "kokouksen", "urheiluharrastuksen"], | |
], |
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
/* | |
Output: | |
You believe a rumor. | |
She respects rules. | |
He greets a guest. | |
He considers a plan. | |
I count calories. | |
It considers a proposal. | |
She kicks a bucket. | |
*/ |
OlderNewer