example driver module:
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/fs.h>
sudo apt-get install cmake libusb-1.0-0-dev | |
sudo echo -e "\nblacklist dvb_usb_rtl28xxu\nblacklist rtl2832\nblacklist rtl2830" >> /etc/modprobe.d/blacklist.conf | |
rmmod dvb_usb_rtl28xxu | |
git clone git://git.osmocom.org/rtl-sdr.git | |
cp rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/ | |
cd rtl-sdr | |
mkdir bin | |
cd bin | |
cmake ../ | |
make |
sudo apt install git cmake clang-3.9 opencl-headers ocl-icd-dev ocl-icd-opencl-dev | |
sudo ln -s /usr/bin/clang{-3.9,} | |
git clone https://github.com/doe300/VC4C.git | |
git clone https://github.com/doe300/VC4CL.git | |
git clone https://github.com/doe300/VC4CLStdLib.git | |
mkdir VC4C/build | |
cd VC4C/build |
This is an example of a resource called "disc-base", I have only taken parts of it and removed the mentions of ESX, because I am running this on an empty server. The part we are looking at here especially is the marker drawing. This is also an outdated version of this resource before they applied performance improvements, but we are also going to go deeper than their changes.
Base of this tutorial: https://github.com/DiscworldZA/gta-resources/blob/54a2aaf7080286c8d49bbd7b1978b6cc430ec755/disc-base/client/markers.lua (client.lua here)
Few months ago, I've made a similar work but I wanted something a little more easier to manage. Please have a look at here for my previous work.
This time, I'm gonna do pretty much the same thing but using Pi-hole as base then modify it to include unbound
and stubby
.
This way, I can use the power of Pi-hole with some additional security layers:
unbound
)stubby
)