Skip to content

Instantly share code, notes, and snippets.

View antnruban's full-sized avatar

Anton antnruban

  • Kharkov, Ukraine
View GitHub Profile
@jniltinho
jniltinho / install-buildkit.sh
Last active October 7, 2024 19:54
Enable BuildKit Docker on Linux Dist, Debian, Ubuntu, Fedora
#!/bin/bash
#
# https://docs.docker.com/build/buildkit/
# https://github.com/docker/buildx/releases/
# https://github.com/docker/buildx
## For Ubuntu 24.04 try: sudo apt install docker-buildx
## Or run the commands below.
#VERSION=v0.14.1
@ygotthilf
ygotthilf / jwtRS256.sh
Last active November 7, 2024 10:42
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@amitpatelx
amitpatelx / command.sh
Created September 23, 2015 10:47
fatal: Could not read from remote repository error while deploying using Capistrano
#Run following commands in sequence to fix the issue
$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_rsa
$ cap production deploy