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 / gist:56bdc0b3303956665d5af4420d3eeda7
Created November 11, 2020 21:40
Installing GNU Radio Ubuntu 18.04 LTS
sudo apt install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 liblog4cpp5-dev libzmq3-dev python3-yaml python3-click python3-click-plugins python3-zmq python3-scipy python3-pip python3-gi-cairo
pip3 install git+https://github.com/pyqtgraph/pyqtgraph@develop
pip3 install numpy scipy
echo 'export PYTHONPATH=/usr/local/lib/python3/dist-packages:usr/local/lib/python2.7/site-packages:$PYTHONPATH' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH=/user/local/lib:$LD_LIBRARY_PATH' >> ~/.bashrc
echo 'export PYTHONPATH=/usr/local/lib/python3/dist-packages:usr/local/lib/python2.7/site-packages:$PYTHONPATH' >> ~/.profile
echo 'export LD_LIBRARY_PATH=/user/local/lib:$LD_LIBRARY_PATH' >> ~/.profile
cd ~/
git clone --recursive https://github.com/gnuradio/gnuradio
cd gnuradio
#!/bin/bash
#
# Build script for UHD+GnuRadio on Fedora and Ubuntu
#
#
#
# Updates: https://github.com/guruofquality/grextras/wiki
# Updates: https://github.com/balint256/gr-baz.git
#
#
@AnythingLinux
AnythingLinux / urh.sh
Created November 9, 2020 11:24
Universal Radio Hacker
# !/bin/sh
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
sudo apt-get install build-essential checkinstall
sudo apt autoremove
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
cd /opt
sudo wget https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tgz
sudo tar xzf Python-3.8.6.tgz
@AnythingLinux
AnythingLinux / cassandra.sh
Created November 8, 2020 08:39
cassandra centos
java --version
cqlsh
show VERSION
SELECT cql_version FROM system.local;
nodetool version
select peer, release_version from system.peers;
@AnythingLinux
AnythingLinux / MySQLFocal.sh
Last active February 11, 2022 22:52
Install MySQL on Ubuntu 20.04 [Quickstart]
apt install mysql-server
mysql_secure_installation
mysql --version
service mysql start
service mysql enable
service mysql restart
service mysql status
ufw allow from any to any port 3306 proto tcp
systemctl restart mysql
systemctl enable mysql
@AnythingLinux
AnythingLinux / Latest Docker and Docker Compose Install Ubuntu 26.04 LTS Linux
Last active August 1, 2026 09:36
Docker and Docker Compose Install Ubuntu 26.04 LTS Linux
#!/bin/sh
apt update -y
apt-get upgrade -y
dpkg-reconfigure tzdata
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt install software-properties-common
apt upgrade -o APT::Get::Show-Upgraded=true
apt-show-versions | grep upgradeable
@AnythingLinux
AnythingLinux / focal.sh
Created November 3, 2020 17:01 — forked from afahitech/focal.sh
Things To Do After Installing Ubuntu 20.04 LTS Desktop
#!/bin/sh
# Select The Fastest Apt Mirror and Adjust Ubuntu Default Setting: https://youtu.be/lWHOECQ7t9Q
# Open your terminal by ctrl+alt+t and run all commands one by one. You can copy and paste into terminal too.
sudo apt update && sudo apt-get upgrade --fix-missing
sudo apt install build-essential checkinstall
@AnythingLinux
AnythingLinux / googlechrome.sh
Created November 2, 2020 16:15
How to install google chrome on Ubuntu
cd Downloads/
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt install -f
@AnythingLinux
AnythingLinux / Anbox.sh
Created November 1, 2020 10:26
Install the Anbox Ubuntu
# !/bin/sh
# install Anbox
sudo snap install --devmode --beta anbox
snap refresh --beta --devmode anbox
snap info anbox
# Uninstall Anbox
$ snap remove anbox
@AnythingLinux
AnythingLinux / volk.sh
Last active November 1, 2020 00:20
Installing Volk To Fix Gnuradio could not be found because dependency Volk could not be found
#!/bin/bash
sudo apt install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy \
python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev \
libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 \
liblog4cpp5-dev libzmq3-dev python3-yaml python3-click python3-click-plugins \
python3-zmq python3-scipy python3-gi python3-gi-cairo gobject-introspection gir1.2-gtk-3.0
cd
git clone --recursive https://github.com/gnuradio/volk.git