This file contains hidden or 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 | |
# Define variables | |
SERVICE_NAME="stremio.service" | |
SERVICE_PATH="/etc/systemd/system/$SERVICE_NAME" | |
NODE_PATH=$(which node) | |
# Get the original username, even if running with sudo | |
if [ "$SUDO_USER" ]; then | |
CURRENT_USER=$SUDO_USER |
This file contains hidden or 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 | |
sudo apt-get install openjdk-8-jre openjdk-8-jdk -f -y | |
mkdir -p /home/${USER}/streama/data | |
cd /home/${USER}/streama/ | |
wget -c https://gist.githubusercontent.com/shivasiddharth/f657e89c7ad00f441421278291b9ebf8/raw/2f5b2d94ae45b72fac2b0fb32a5bb9be21f0649a/streama_application.yml -O application.yml | |
wget -c https://github.com/streamaserver/streama/releases/download/v1.10.3/streama-1.10.3.jar -O server.jar | |
read -p "Do you wish to set the server to autostart on boot?" yn | |
case $yn in |
This file contains hidden or 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
/************************************************************* | |
Download latest Blynk library here: | |
https://github.com/blynkkk/blynk-library/releases/latest | |
Blynk is a platform with iOS and Android apps to control | |
Arduino, Raspberry Pi and the likes over the Internet. | |
You can easily build graphic interfaces for all your | |
projects by simply dragging and dropping widgets. | |
Downloads, docs, tutorials: http://www.blynk.cc |
This file contains hidden or 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
sudo sh -c "echo 'deb http://ftp.us.debian.org/debian/ bullseye main contrib non-free' >> /etc/apt/sources.list" | |
sudo sh -c "echo 'deb http://deb.debian.org/debian bullseye main contrib non-free' >> /etc/apt/sources.list" | |
sudo apt-get update | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys XXXXXXXXXXXX | |
Replace XXXXXXXXXX with the first alphanumeric key. | |
sudo apt-get update | |
sudo apt-get install kodi |
This file contains hidden or 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
#*************************************************************************************** | |
# Code for Controlling Pi Volume Using Rotary Encoder | |
# Original Code: https://bit.ly/2OcaQGq | |
# Re-Written by Sid for Sid's E Classroom | |
# https://www.youtube.com/c/SidsEClassroom | |
# All text above must be included in any redistribution. | |
# If you find this useful and want to make a donation -> https://paypal.me/sidsclass | |
# *************************************************************************************** | |
from RPi import GPIO |
This file contains hidden or 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
/************************************************************************************** | |
Code for DIY Digitial Photoframe using Wemos D1 Mini and Adafruit 1.44" TFT Display | |
Written by Sid for Sid's E Classroom | |
https://www.youtube.com/c/SidsEClassroom | |
Arduino Libraries Used | |
1. ArduinoJson – 5.13.5 | |
2. Adafruit ST7735 and ST7739 Library – 1.6.0 | |
3. Adafruit GFX Library – 1.10.4 | |
4. TFT – 1.2.1 |
This file contains hidden or 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
1. Install snap: | |
#Do not worry if the below command says no file or directory | |
sudo rm /etc/apt/preferences.d/nosnap.pref | |
sudo apt-get update | |
sudo apt-get install snapd | |
#For Raspberry Pi Users alone: | |
sudo nano /etc/ld.so.preload | |
Comment the line that says /usr/lib/arm-linux-gnueabihf/libarmmem.so | |
sudo snap install snap-store |
This file contains hidden or 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 | |
for f in *.mp4; | |
do ffmpeg -i "$f" -c:v dnxhd -profile:v dnxhr_hq -pix_fmt yuv422p -c:a pcm_s16le -preset ultrafast -f mov "$f".mov | |
done |
This file contains hidden or 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 | |
clear | |
cd /home/${USER}/Downloads/ | |
echo "Lets get entertained....................." | |
echo "" | |
wget "https://dl.strem.io/shell-linux/v4.4.116/stremio_4.4.116-1_amd64.deb" | |
sudo dpkg -i stremio_4.4.116-1_amd64.deb | |
wget "http://archive.ubuntu.com/ubuntu/pool/universe/x/x264/libx264-152_0.152.2854+gite9a5903-2_amd64.deb" | |
sudo dpkg -i libx264-152_0.152.2854+gite9a5903-2_amd64.deb |
This file contains hidden or 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
pip3 install google-assistant-grpc==0.3.0 | |
pip3 install google-assistant-sdk==0.6.0 | |
pip3 install google-assistant-sdk[samples]==0.6.0 | |
google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk-prototype --scope https://www.googleapis.com/auth/gcm --save --headless --client-secrets $credname |
NewerOlder