Skip to content

Instantly share code, notes, and snippets.

View tornikeo's full-sized avatar
🎯
Focusing

tornikeo tornikeo

🎯
Focusing
View GitHub Profile
@tornikeo
tornikeo / bootstrap-image-upload-preview-plugin.markdown
Created February 18, 2022 15:14
Bootstrap image upload preview plugin

Bootstrap image upload preview plugin

JQuery & Bootstrap image upload with advance functionality

A Pen by Tornike on CodePen.

License.

@tornikeo
tornikeo / install_gh.sh
Created November 8, 2024 19:28
install-gh
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh