Value | Color |
---|---|
\e[0;30m | Black |
\e[0;31m | Red |
\e[0;32m | Green |
\e[0;33m | Yellow |
\e[0;34m | Blue |
\e[0;35m | Purple |
This file contains 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
Microsoft Windows [Version 10.0.17763.1282] | |
(c) 2018 Microsoft Corporation. All rights reserved. | |
C:\Users\Ephraim Atta-Duncan\Documents\Projects\tutorial-projects\learning-react\stephen-grider>npx create-react-app my-app | |
Creating a new React app in C:\Users\Ephraim Atta-Duncan\Documents\Projects\tutorial-projects\learning-react\stephen-grider\my-app. | |
Installing packages. This might take a couple of minutes. | |
Installing react, react-dom, and react-scripts with cra-template... |
This file contains 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 strict"; | |
var isElectronRenderer = function isRenderer() { | |
if (typeof process === "undefined") return true; | |
if (!process) return true; | |
if (!process.type) return false; | |
return process.type === "renderer"; | |
}; | |
module.exports = function (url, event) { |
This file contains 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
# Clone the arch repository | |
git clone [the package url] | |
# Build It | |
cd [the package] | |
makepkg -si | |
# Remove Package | |
sudo pacman -R [package-name] |
This file contains 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
# Quick Install Nodejs LTS Version | |
curl -sL install-node.now.sh/lts | bash |
This file contains 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
Reset = "\x1b[0m" | |
Bright = "\x1b[1m" | |
Dim = "\x1b[2m" | |
Underscore = "\x1b[4m" | |
Blink = "\x1b[5m" | |
Reverse = "\x1b[7m" | |
Hidden = "\x1b[8m" | |
FgBlack = "\x1b[30m" | |
FgRed = "\x1b[31m" |
This file contains 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
// Source: https://stackoverflow.com/a/46705010 | |
const { r, g, b, w, c, m, y, k } = [ | |
['r', 1], | |
['g', 2], | |
['b', 4], | |
['w', 7], | |
['c', 6], | |
['m', 5], | |
['y', 3], |
This file contains 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
Operator | Purpose | For DataType | |
---|---|---|---|
= | Equal to operation | string | |
== | Equal to operation | string | |
!= | is not equal to | string | |
< | is less than in ASCII alphabetical order | string | |
> | is greater than in ASCII alphabetical order | string | |
-z | if a string is empty (or null) | string | |
-n | if a string is not empty (or not null) | string | |
-eq | is equal to | number | |
-ne | is not equal to | number |
This file contains 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
pragma solidity 0.6.4; | |
import "./Context.sol"; | |
import "./IERC20.sol"; | |
import "./SafeMath.sol"; | |
import "./Ownable.sol"; | |
/** | |
* @dev Implementation of the {IERC20} interface. | |
* |
OlderNewer