mjpg-streamer is a popular tool for streaming MJPEG video from webcams. In this tutorial, we will learn how to configure mjpg-streamer to run automatically at system startup using a systemd service unit file. Installation via Snap Step 1: Create the Service Unit File In the text editor, paste the following content: [Unit] Description=MJPG Streamer After=network.target [Service] ExecStart=ExecStart=mjpg-streamer -i “input_uvc.so” -o “output_http.so -w /home/kzorluoglu/charts/octoprint/www” Restart=always [Install] WantedBy=multi-user.target Step 2: Enable and Start the Service BONUS: if you want to run mjpg-streamer without sudo, you can try the following steps. Add your user to the video group: sudo usermod -aG video <your_username> […]
AI Model Trainer with EleutherAI/gpt-j-6b for Chameleon Shop Codes
The Trainer use actually the best chatgpt alternative model on huggingface. Here is the Training notice from Original Source: This model was trained for 402 billion tokens over 383,500 steps on TPU v3-256 pod. It was trained as an autoregressive language model, using cross-entropy loss to maximize the likelihood of predicting the next token correctly. https://huggingface.co/EleutherAI/gpt-j-6b#training-procedure Dataset Links: https://d8devs.com/chameleon-base-and-chameleon-shop-datasets-20230530-1918/ Views: 13
A runtime developer console, interactive debugger for Chameleon System 7.1.x
https://github.com/kzorluoglu/chameleon-bash #ChameleonShop #runtimeDeveloperConsole #InteractiveDebugger #psysh #symfony #php Views: 7
Dump PHP 8.1 OPCodes using Vulkan Logic Dumper with Bonus
The VLD a.k.a Vulkan Logic Dumper extension must be installed, we can compiling if from source. with the sudo make && sudo make install command, our vld extension is compilied and copied directly to the php extensions folder. The next step is to active the plugin in the php.ini file Let’s find our php.ini file. we found our php.ini file, now let’s active our vld extension with a text editor at the bottom of file, find the ;extension= section. Let’s add extension=vld, and save it.. We are all set!. and we can dump any php file with this vld.active=1 parameter. […]
Get shell access to nodes in Kubernetes via kubectl
First, let’s learn the names of the nodes we have i only have one node at the moment 🙂 then i just need to give this commanf for shell login, i already have given ubuntu as image here, you can give any another image you want. Views: 14