Skip to content

Instantly share code, notes, and snippets.

View ngrnv's full-sized avatar
🏠
Working from home

Alexey Nagornov ngrnv

🏠
Working from home
  • Yerevan, Armenia
View GitHub Profile
@ngrnv
ngrnv / conventional_commit_messages.md
Created October 10, 2023 09:10 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@ngrnv
ngrnv / ubuntu-nextjs-nginx-config-file
Created September 19, 2023 21:21 — forked from oelbaga/01 - Setup Nextjs site on Ubuntu Server - Terminal commands
Setup NextJS app on Digital Ocean Ubuntu server Full Terminal Commands Step by Step
#nginx config file for Nextjs App
#place in /etc/nginx/sites-available/name_of_config_file
server {
listen 80;
server_name domainname.com;
gzip on;
gzip_proxied any;
gzip_types application/javascript application/x-javascript text/css text/javascript;
gzip_comp_level 5;
@ngrnv
ngrnv / jwtRS256.sh
Last active May 12, 2019 21:55 — forked from ygotthilf/jwtRS256.sh
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f fg-platform-auth.key
# Don't add passphrase
openssl rsa -in fg-platform-auth.key -pubout -outform PEM -out fg-platform-auth.key.pub
cat fg-platform-auth.key
cat fg-platform-auth.key.pub