wget -q -O - https://gist.github.com/sam210723/2422e56cd42593aeb49d23c512320888/raw/personalise-debian.sh | bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
adsbx-feeder-connection.py | |
Check the status of your ADS-B Exchange feeder | |
""" | |
import sys | |
import urllib.request | |
json_output = "json" in sys.argv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prepare for installation | |
cd ~ | |
mkdir nrf | |
cd nrf | |
sudo apt update | |
sudo apt install -y git cmake build-essential libtclap-dev | |
echo "Enable SPI in raspi-config" | |
sudo raspi-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options: | |
parameters: | |
author: sam210723 | |
catch_exceptions: 'True' | |
category: '[GRC Hier Blocks]' | |
cmake_opt: '' | |
comment: '' | |
copyright: '' | |
description: '' | |
gen_cmake: 'On' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM https://ffmpeg.org/ffmpeg-filters.html | |
REM https://trac.ffmpeg.org/wiki/FancyFilteringExamples | |
ffplay -window_title "FFmpeg Waveform and Vectorscope" -i %1 -vf "split=4[vid][vec][wavh][wavv],[vec]vectorscope=mode=color3:graticule=green[vec],[wavh]waveform=mode=column:graticule=green:components=1:display=overlay[wavh],[wavv]waveform=mode=row:components=1:display=overlay[wavv],[vid][wavh]vstack[s1],[wavv][vec]vstack[s2],[s1][s2]hstack[out]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install dependencies (GNURadio 3.9.1) | |
sudo apt update | |
sudo apt install -y build-essential cmake git gnuradio gr-osmosdr swig3.0 libsndfile1-dev pybind11-dev python-tk | |
sudo apt install -y --no-install-recommends mplayer | |
volk_profile | |
# Install gr-iridium OOT | |
git clone https://github.com/muccc/gr-iridium | |
cd gr-iridium | |
git checkout maint-3.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install dependencies | |
sudo apt update | |
sudo apt install -y build-essential cmake git make libtclap-dev | |
# Install pigpio | |
git clone https://github.com/joan2937/pigpio | |
cd pigpio | |
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install dependencies | |
sudo apt-get install -y build-essential git cmake pkg-config libglm-dev libgtkmm-3.0-dev libsigc++-2.0-dev libyaml-cpp-dev liblxi-dev texlive texlive-fonts-extra libglew-dev | |
# Install Catch2 v2 | |
git clone https://github.com/catchorg/Catch2 | |
cd Catch2 | |
git checkout v2.x | |
git fetch | |
git pull | |
mkdir build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install RISC-V build toolchain on Xilinx ISE 14.7 VM (Oracle Linux Server 6.4) | |
# Build libmpc from source | |
rm -rf mpc-0.8.1 | |
wget ftp://gcc.gnu.org/pub/gcc/infrastructure/mpc-0.8.1.tar.gz | |
tar zxvf mpc-0.8.1.tar.gz | |
cd mpc-0.8.1 | |
./configure --disable-shared --enable-static --prefix=/tmp/gcc --with-gmp=/#tmp/gcc --with-mpfr=/tmp/gcc | |
make |
Download and install Xming with all default settings. Uncheck "Launch Xming" on the last setup screen.
Start "XLaunch" from the Start Menu and click next until the "Specify parameter settings" screen. Check "No Access Control" then click next, then finish.
Launch a WSL2 instance and run the following commands:
NewerOlder