For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
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
# http://webapps.stackexchange.com/questions/39587/view-estimated-size-of-github-repository-before-cloning | |
# tested on macOS | |
echo https://github.com/torvalds/linux.git | perl -ne 'print $1 if m!([^/]+/[^/]+?)(?:\.git)?$!' | xargs -I{} curl -s -k https://api.github.com/repos/'{}' | grep size | |
# output: | |
# "size": 1746294, |
A dead simple React Twemoji component.
npm install --save twemoji
Download Flutter SDK, extract the "Flutter" folder and put somewhere on your machine https://flutter.dev/docs/get-started/install
Add path for 'location/flutter/bin'
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. | |
* |
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
// 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 |
Based on this blogpost.
Install with Homebrew:
$ brew install postgresql@14
(The version number 14
needs to be explicitly stated. The @
mark designates a version number is specified. If you need an older version of postgres, use postgresql@13
, for example.)
OlderNewer