Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
This file contains hidden or 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
#!/bin/sh | |
# https://phoenixnap.com/kb/install-vscode-ubuntu | |
# sh -c "$(wget -qO- https://gist.githubusercontent.com/nemanjam/a41b50d9c3d79109ff5020f0b7adb38d/raw/a9b28342a01daa0a4e02fe3633dffd5f8aa6b4bd/install-vs-code.sh)" | |
sudo apt update && \ | |
sudo apt install software-properties-common apt-transport-https wget -y && \ | |
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - && \ | |
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" && \ | |
sudo apt install code && \ |
This file contains hidden or 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
# create gitlab repo | |
git remote add origin [email protected]:nemanjam/myrepo.git && \ | |
git remote add gitlab [email protected]:nemanjam/myrepo.git && \ | |
git remote add all [email protected]:nemanjam/myrepo.git && \ | |
git remote set-url --add --push all [email protected]:nemanjam/myrepo.git && \ | |
git remote set-url --add --push all [email protected]:nemanjam/myrepo.git && \ | |
git remote -v | |
This file contains hidden or 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
ubuntu@arm1:~$ cd traefik-proxy/apps/dokku/ | |
ubuntu@arm1:~/traefik-proxy/apps/dokku$ tree -da . | |
. | |
└── dokku-data | |
├── etc | |
│ ├── nginx | |
│ └── ssh | |
│ ├── ssh_config.d | |
│ └── sshd_config.d | |
├── home |
This file contains hidden or 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
ubuntu@arm1:~$ dokku ps:inspect nextjs-app | |
[ | |
{ | |
"AppArmorProfile": "docker-default", | |
"Args": [ | |
"yarn", | |
"start", | |
"--", | |
"--port", | |
"5000" |
This file contains hidden or 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
ubuntu@arm1:~$ dokku report nextjs-app | |
-----> uname: Linux 2c3660d832dd 5.15.0-1029-oracle #35-Ubuntu SMP Tue Jan 24 15:21:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux | |
-----> memory: | |
total used free shared buff/cache available | |
Mem: 11940 748 7114 4 4077 10966 | |
Swap: 0 0 0 | |
-----> docker version: | |
Client: Docker Engine - Community | |
Version: 23.0.1 | |
API version: 1.42 |
This file contains hidden or 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
# Stage 1: Build the Node.js app | |
FROM node:12 AS build | |
WORKDIR /app | |
COPY . /app | |
RUN npm install | |
RUN npm run build | |
# Stage 2: Run the app using PM2 and a lightweight Node.js image | |
FROM node:12-slim | |
RUN npm install pm2 -g |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents