Javascript Array.reduce() sounds awesome

Basic

Roughly speaking, it is a function that returns single value from multiple element (arrays and objects)

1
Array.prototype.reduce(callback( accumulator, currentValue[, index[, array]] )[, initialValue])
🀯 🀦 😱 😡 πŸ’€ πŸ’©β€¦

Read More

Terminal command and Create aliases

β›³ Terminal Command

  • pwd: Print Working Directory
  • cd ~: Move to home directory
  • cd: Move to home directory
  • command + k: Clear
  • nano <file_name>: Edit with nano
  • rm -r <directory_name>: -r is recursive option

Read More

Getting started with Mapbox

πŸ‘‘ Goal

Display map with Mapbox

πŸŽ“ Agenda

  1. Create Mapbox account
  2. Go to Mapbox studio
  3. Add Dataset
  4. Add Style
  5. Add map in markup and script

Read More

Print web page

How to print background images in website

The background images in website are not printed while Background graphics checkbox is unchecked by default.

Read More