CPU value | Memory value (MiB) |
---|---|
256 (.25 vCPU) | 512 (0.5GB), 1024 (1GB), 2048 (2GB) |
512 (.5 vCPU) | 1024 (1GB), 2048 (2GB), 3072 (3GB), 4096 (4GB) |
1024 (1 vCPU) | 2048 (2GB), 3072 (3GB), 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168 (7GB), 8192 (8GB) |
2048 (2 vCPU) | Between 4096 (4GB) and 16384 (16GB) in increments of 1024 (1GB) |
4096 (4 vCPU) | Between 8192 (8GB) and 30720 (30GB) in increments of 1024 (1GB) |
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
# Find | |
import\s(([^;]|\n)*)\sfrom\s(['"])(\.{1,2}\/.*)(?<!\.js)(?<!\.(css|pdf|png|jpg|jsx|mjs|mp3|mp4|svg|ttf))(?<!\.(avif|json|webm|webp|woff))(?<!\.woff2)(['"]); | |
# Replace with | |
import $1 from $3$4.js$7; |
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
const input1 = [1, 1, 2, 2, 3, 3, 8, 4, 4]; | |
const onlyOnce = (input) => { | |
const result = []; | |
input.filter((item) => { | |
let times = 0; | |
input.forEach((item2) => { | |
if (item === item2) { | |
times += 1; |
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
./ | |
├── Avatar/ | |
│ └── Avatar.tsx | |
├── Button/ | |
│ ├── Base.spec.tsx | |
│ ├── Base.tsx | |
│ ├── Button.module.scss | |
│ ├── Button.spec.tsx | |
│ ├── Button.stories.mdx | |
│ ├── Button.tsx |
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
body { | |
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, | |
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; | |
padding: 5px; | |
line-height: 1.15; | |
-webkit-text-size-adjust: 100%; | |
-webkit-tap-highlight-color: transparent; | |
} |
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
import React from "react"; | |
const NestedListRenderer = ({ data }) => { | |
const ListType = ({ children, style }) => | |
style === "unordered" ? <ul>{children}</ul> : <ol>{children}</ol>; | |
const renderWalk = (items) => | |
!!items.length && ( | |
<ListType style={data.style}> | |
{items.map((item) => ( |
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
from datetime import datetime | |
datetime.utcnow().isoformat()[:-3]+'Z' |
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
export ZSH="/Users/sabbir/.oh-my-zsh" | |
export UPDATE_ZSH_DAYS=30 | |
ZSH_THEME="spaceship" | |
DISABLE_UPDATE_PROMPT="true" | |
COMPLETION_WAITING_DOTS="true" | |
plugins=(git zsh-iterm-touchbar zsh-autosuggestions history-substring-search git-extras git-flow npm node z extract fancy-ctrl-z zsh_reload docker git-extras osx yarn zsh-syntax-highlighting) | |
source $ZSH/oh-my-zsh.sh |
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
Show hidden characters
{ | |
"parser": "babel-eslint", | |
"extends": "airbnb/base", | |
"plugins": [ | |
"flowtype", | |
"flowtype-errors", | |
"html" | |
], | |
"rules": { | |
"import/no-extraneous-dependencies": 0, |
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
image: node:7.0 #node v7 | |
clone: # the 'clone' section | |
depth: 1 # latest commit only | |
pipelines: | |
default: | |
- step: | |
script: | |
- npm i -g yarn | |
- yarn |
NewerOlder