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 March 12, 2025 15:59
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
## docker builder prune --all
## docker buildx du --verbose
## For Ubuntu 24.04 try: sudo apt install docker-buildx
@ygotthilf
ygotthilf / jwtRS256.sh
Last active March 12, 2025 23:51
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