| term | [IPA][I] | [respelling][r] | notes |
|---|---|---|---|
| [ASIC][asic] | /ˈeɪsɪk/ | [source][asic] | |
| [Bash][B] | /bæʃ/ | bash | [source][B-1] |
| [CAPTCHA][cap] | /kæp.tʃə/ | kap-TCHA | [source][cap] |
| [cout][c] | see-out | [✓ source][c-1] | |
| [char][ch] | /tʃɑr/ | tchar | [source][ch-1] |
| [deque][dq] | /:dek/ | deck | |
| [etcd][e] | /ˈɛtsiːdiː/ | ET-see-dee | [✓ source][e-1] |
| [fsck][f] | fisk | [✓ source][f-1], [alt][f-2] |
git log --graph --oneline --decorate ( git fsck --no-reflog | awk '/dangling commit/ {print $3}' )This will show you all the commits at the tips of your commit graph which are no longer referenced from any branch or tag – every lost commit, including every stash commit you’ve ever created, will be somewhere in that graph.
| function logColor(color, args) { | |
| console.log(`%c ${args.join(' ')}`, `color: ${color}`); | |
| } | |
| const log = { | |
| aliceblue: (...args) => { logColor('aliceblue', args)}, | |
| antiquewhite: (...args) => { logColor('antiquewhite', args)}, | |
| aqua: (...args) => { logColor('aqua', args)}, | |
| aquamarine: (...args) => { logColor('aquamarine', args)}, | |
| azure: (...args) => { logColor('azure', args)}, |
The LambdaConf Ladder of Functional Programming (LOFP) is a standardized progression of different concepts and skills that developers must master on their journey to becoming expert-level functional programmers. LOFP can be used to rank workshops, talks, presentations, books, and courseware, so that aspiring functional programmers have a better understanding of what material is appropriate for them given their current experience.
- Immutable Data
- Second-order Functions
| /** | |
| * @param {Function} fn Function to curry. | |
| * @param {Number} lenght The arguments required to invoke the function. Optional. By default is fn.length | |
| * @returns {Function} The currified function. | |
| */ | |
| function curry(fn, length) { | |
| length = length || fn.length; | |
| return function currified() { | |
| var args = [].slice.call(arguments); |
| const Task = require('data.task') | |
| const Either = require('data.either') | |
| const { Left, Right } = Either | |
| const request = require('request') | |
| const { List } = require('immutable-ext') | |
| const { drop, prop, map } = require('lodash/fp') | |
| const effect = f => x => { | |
| f(x) | |
| return x |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout. This is also called reflow or layout thrashing, and is common performance bottleneck.
elem.offsetLeft,elem.offsetTop,elem.offsetWidth,elem.offsetHeight,elem.offsetParentelem.clientLeft,elem.clientTop,elem.clientWidth,elem.clientHeightelem.getClientRects(),elem.getBoundingClientRect()
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |