## search throught the command history
ctrl-r
!! ## Run the last executed command
top -0 vsize #check why mac is slow
uptime #check how long the system has been running.
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
/* Big tablet to 1200px */ | |
@media only screen and (max-width: 1200px) { | |
} | |
/* Small tablet to big tablet: from 768px to 1023px */ | |
@media only screen and (max-width: 1023px) { | |
} |
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
################################################################### | |
###################### DOCKER ################################# | |
################################################################### | |
# check docker is installed in your system by typing docker | |
$ docker | |
###################### IMAGES ################################# | |
# To check all exisiting docker images | |
$ docker images |
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
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
// use reduce function to find sum of all elements in array | |
const array = [1,2,3,4,5]; | |
const sumValue = array.reduce((sum, value)=> sum + value, 0); // 15 | |
// check all the children is valid or not. | |
root.children.every(child => !child) | |
// filtering the values in JSON.stringify. |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<meta http-equiv='X-UA-Compatible' content='IE=edge'> | |
<title>Ebay node api demo</title> | |
<meta name='viewport' content='width=device-width, initial-scale=1'> | |
<link rel='stylesheet' type='text/css' media='screen' href='main.css'> | |
<script src='main.js'></script> | |
</head> |
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
curl https://www.ebay.com --header "Accept-Language: es" | |
curl https://www.ebay.com --silent | grep JavaScript |
/**
* The Object.seal() method seals an object: that is, prevents new properties to be getting added and making all existing properties
* non-configurable.
*
* @Reference:
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/seal
*/
- Install brew (package manager for mac os)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- Install mkcert[https://github.com/FiloSottile/mkcert] a. For mac
brew install mkcert
OlderNewer