I hereby claim:
- I am nilsandrey on github.
- I am nilsandrey (https://keybase.io/nilsandrey) on keybase.
- I have a public key ASCa0L4jG7UpSExhx7EfSguzVkf4dMxEw2pbwAyMHr2IFgo
To claim this, I am signing this object:
import { | |
HttpEvent, | |
HttpHandler, | |
Httpinterceptor, | |
HttpRequest | |
} from "@angular/common/http"; | |
import { Injectable } from "@angular/core"; | |
import * as moment from "moment"; | |
import { Observable } from "rxjs"; | |
import { tap } from "rxjs/operators"; |
I hereby claim:
To claim this, I am signing this object:
Dependency https://xkcd.com/2347/
FROM node: 14-alpine as build | |
ENV NEXT_TELEMETRY_DISABLED=1 | |
RUN apk add --no-cache libc6-compat | |
WORKDIR /app | |
COPY .. | |
RUN yarn install && \ | |
yarn build | |
FROM node: 14-alpine |
# config/initializers/01_ensure_environment.rb | |
if Rails.env.development? | |
%w[ | |
AWS_ACCESS_KEY_ID | |
AWS_SECRET_ACCESS_KEY | |
S3_BUCKET | |
ALGOLIA_ID | |
ALGOLIA_API_KEY | |
ALGOLIA_SEARCH_KEY |
// If you want reusable util function for mocking pipes, you can try this option: | |
export function mockPipe(options: Pipe): Pipe { | |
const metadata: Pipe = { | |
name: options.name | |
}; | |
return <any>Pipe(metadata)(class MockPipe {}); | |
} | |
{ | |
"log-driver": "syslog", | |
"log-opts": { | |
"tag": "dockerlogs {{.Name}}/{{.ID}}" | |
} | |
} |
# Using Ubuntu | |
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - | |
sudo apt-get install -y nodejs |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="initial-scale=1.0" /> | |
<title>Document</title> | |
<link href="style.css" rel="stylesheet"> | |
</head> | |
<body> | |
<input type="checkbox" id="menu-toggle" /> |