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
| name: Build and Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | |
| HOST: ${{ secrets.HOST }} |
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
| import { AnchorHTMLAttributes } from 'react' | |
| import NextLink from 'next/link' | |
| import type { LinkProps as NextLinkProps } from 'next/link' | |
| type LinkProps = NextLinkProps & AnchorHTMLAttributes<HTMLAnchorElement> | |
| export const Link = (props: LinkProps) => { | |
| return <NextLink prefetch={false} {...props} /> | |
| } |
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
| [ | |
| { | |
| "id": 1, | |
| "city": "Bakı", | |
| "lat": 40.4093, | |
| "lng": 49.8671 | |
| }, | |
| { | |
| "id": 2, | |
| "city": "Sumqayıt", |
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
| [alias] | |
| co = checkout | |
| br = branch | |
| st = status | |
| cp = cherry-pick | |
| lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
| gr = log --all --decorate --oneline --graph | |
| cleanup = "!git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs -r git branch -D" | |
| last = log -1 HEAD --stat | |
| stats = log --stat --oneline |