install keychain
sudo apt update
sudo apt install -y keychain
add below to shell rc file
you can change from id_rsa to another private key file name
- bash
version=2.27.0 | |
source_code_path=/tmp/git-${version} | |
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.gz -O ${source_code_path}.tar.gz | |
tar -xzf ${source_code_path}.tar.gz -C /tmp | |
# install Git dependencies | |
sudo apt-get install -y dh-autoreconf libcurl4-gnutls-dev libexpat1-dev \ | |
gettext libz-dev libssl-dev | |
# Install additional required dependencies for docs |
install keychain
sudo apt update
sudo apt install -y keychain
add below to shell rc file
you can change from id_rsa to another private key file name
#!/bin/bash | |
function error() { | |
echo $1 | |
exit 1 | |
} | |
function deps_check() { | |
which $1 > /dev/null || error "$1 is required to install WebSSH2" | |
} |
sudo apt update | |
sudo apt install -y fzf git kitty-terminfo screen wget xclip zsh | |
# enable scrolling in screen terminal | |
echo "termcapinfo xterm* ti@:te@" >> ~/.screenrc | |
##### Install Oh My ZSH ##### | |
echo Y | sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# install zsh-autosuggestions plugin |
browser-sync -w
\file
query parameter instead of in pathhttp://localhost:3000?file=index.css
http://localhost:3000/index.css
# gcc -Wall -o match match.c && ./match | |
# | |
#include <stdio.h> | |
#include <string.h> | |
#include <regex.h> | |