Steps
- Install Noto Emojis Fonts
sudo pacman -S noto-fonts-emoji
- Create /etc/fonts/local.conf
- Copy and paste content
- Run fc-cache (Maybe reboot required)
- Test with
https://getemoji.com/
kubectl create secret docker-registry --dry-run=true docker-regcred \ | |
--docker-server=https://index.docker.io/v1/ \ | |
--docker-username=xxx \ | |
--docker-password=xxx \ | |
[email protected] \ | |
--namespace=xxx \ | |
-o yaml > docker-secret.yaml |
#!/bin/bash | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install -y build-essential python3-dev python-smbus i2c-tools python3-pil python3-pip python3-setuptools python3-rpi.gpio git | |
pip install psutil netifaces requests |
Steps
sudo pacman -S noto-fonts-emoji
https://getemoji.com/
queue = [] | |
queue.append(1) | |
queue.append(2) | |
queue.append(3) | |
queue.append(4) | |
queue.append(5) | |
print(queue) |
FROM node:latest | |
RUN mkdir -p /app | |
WORKDIR /app | |
COPY package*.json . | |
RUN npm install | |
COPY . . |
FROM node:latest as build-stage | |
WORKDIR /app | |
COPY package*.json ./ | |
RUN npm install | |
COPY ./ . | |
RUN npm run build | |
FROM nginx as production-stage | |
RUN mkdir /app | |
COPY --from=build-stage /app/dist /app |
MONGODB_URL=xxxx | |
POSTGRESQL_URL=xxxx | |
API_URL=xxxx | |
PROXY_URL=xxxx | |
CLIENT_ID=xx |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Update Productos</title> | |
</head> | |
<body> | |
<!-- Código simple para hacer solicitudes sincronas --> |
location ~ \.pdf { | |
try_files $uri $uri/ @aws; | |
} | |
location @aws { | |
proxy_pass https://<bucket_name>.s3.amazonaws.com; | |
proxy_set_header Host "<bucket_name>.s3.amazonaws.com"; | |
proxy_set_header Authorization ''; | |
proxy_hide_header x-amz-id-2; | |
proxy_hide_header x-amz-storage-class; |
upstream nodejs-app { | |
server 127.0.0.1:3000; | |
keepalive 64; | |
} | |
# Server on port 80 | |
server { | |
listen 80; | |
server_name app.nodejs.com; | |
root /app; |