Skip to content

Instantly share code, notes, and snippets.

View AnythingLinux's full-sized avatar
🏠
Working from home

Karim AnythingLinux

🏠
Working from home
View GitHub Profile
@AnythingLinux
AnythingLinux / smpp.sh
Created April 13, 2020 17:50
smppsms
#!/bin/bash
unknown_os ()
{
echo "Unfortunately, your operating system distribution and version are not supported by this script."
echo
echo "You can override the OS detection by setting os= and dist= prior to running this script."
echo "You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version"
echo
echo "For example, to force Ubuntu Trusty: os=ubuntu dist=trusty ./script.sh"
@AnythingLinux
AnythingLinux / nine.sh
Last active April 16, 2021 15:13
Day 9 Training Session
# YouTube: https://www.youtube.com/watch?v=G7T1Cim0xos
# Part: 1
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
sudo git config --global user.name "YourName"
sudo git config --global user.email youremail@gmail.com
git --version
@AnythingLinux
AnythingLinux / avro.sh
Last active April 2, 2020 17:36
Script For Install Avro in Deepin OS
#!/bin/sh
sudo apt update
sudo apt install ibus ibus-m17n dconf-editor wget -y
echo "export GTK_IM_MODULE=ibus" >> /$HOME/.bashrc
echo "export XMODIFIERS=@im=ibus" >> /$HOME/.bashrc
echo "export QT_IM_MODULE=ibus" >> /$HOME/.bashrc
echo "ibus-daemon -drx" >> /$HOME/.bashrc
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
@AnythingLinux
AnythingLinux / setup.sh
Created March 26, 2020 09:23
phpWallet - e-wallet and online payment gateway system
update your system, Install prerequisites:
sudo apt install -y git curl wget zip unzip
Install PHP 7+
==============
sudo apt install php libapache2-mod-php php-mysql
sudo apt install php7.2-common php7.2-cli php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-mbstring php7.2-bcmath php7.2-imap php7.2-xml php7.2-zip
php --version
@AnythingLinux
AnythingLinux / setup.sh
Created March 26, 2020 09:23
phpWallet - e-wallet and online payment gateway system
update your system, Install prerequisites:
sudo apt install -y git curl wget zip unzip
Install PHP 7+
==============
sudo apt install php libapache2-mod-php php-mysql
sudo apt install php7.2-common php7.2-cli php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-mbstring php7.2-bcmath php7.2-imap php7.2-xml php7.2-zip
php --version
@AnythingLinux
AnythingLinux / I Will Do LEMP Stack Setup Linux
Last active December 19, 2021 16:10
I Will Do LEMP Stack Setup
PING ME FOR WORK:
SMS: +8801890757616
IMO: +8801890757616
BiP: +8801890757616
Viber: +8801890757616
Signal: +8801890757616
Discord: blockchain#9191
Telegram: https://t.me/LinuxGun
WhatsApp: https://wa.link/o9zcd5
Skype: https://join.skype.com/wjhRb0v3AeoM
@AnythingLinux
AnythingLinux / Node.js Install Ubuntu Linux
Last active October 4, 2023 21:30
Node.js Install Ubuntu Linux
#!/bin/sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
source ~/.bashrc
command -v nvm
nvm install 18
nvm use 18
node -v
@AnythingLinux
AnythingLinux / nine.sh
Last active February 24, 2020 08:52
Day 9
What is SSH?
SSH is Secure Shell. Using the SSH protocol, you can connect and authenticate to remote servers and services. With SSH keys, you can connect to GitHub and remote cloud Linux server.
How to check for existing SSH keys?
ls -al ~/.ssh
NOTE: If their is any key u will see id_rsa.pub into a list.
How to generate a new SSH key and adding it to the ssh-agent?
@AnythingLinux
AnythingLinux / git.sh
Created February 24, 2020 08:31
Git Install Linux
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
sudo git config --global user.name "YourName"
sudo git config --global user.email youremail@gmail.com
git --version
git config --list
@AnythingLinux
AnythingLinux / explorer.sh
Last active February 23, 2020 20:05
Block Explorer For Bitcoin Blockchain
sudo apt-get update
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install gcc g++ make
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install yarn
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 4B7C549A058F8B6B
echo "deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list