Skip to content

Instantly share code, notes, and snippets.

@miditkl
miditkl / raspberry_python.sh
Last active December 13, 2023 09:30 — forked from vbe0201/raspberry_python.sh
A shell script for installing Python 3.10.2 on your Raspberry Pi.
#!/bin/bash
# A bash script for installing Python 3.10.2 on your Raspberry Pi.
# (c) 2022 Valentin B. / Midian T. E.
#
# Open your terminal and type the following command:
# sudo wget https://gist.githubusercontent.com/realSnosh/cfe29370d2205bd1ad296e7bc7c9b9ea/raw/raspberry_python.sh && chmod +x raspberry_python.sh && ./raspberry_python.sh
sudo apt-get update -y
sudo apt-get upgrade
@mazzma12
mazzma12 / HTTPSServer.py
Last active March 26, 2021 15:09
Dummy HTTPS server in python3 based on http.server library
# Dummy HTTPS server
# Taken from : https://gist.github.com/dragermrb/108158f5a284b5fba806 and other repos
import http.server
import cgi
import base64
import json
from urllib.parse import urlparse, parse_qs
import ssl
import os
import socketserver
@paolocavagnolo
paolocavagnolo / gstreamer-build.sh
Created May 10, 2017 10:14
Gstreamer build for RPIZERO
#!/bin/bash --debugger
set -e
BRANCH="master"
if grep -q BCM2835 /proc/cpuinfo; then
echo "RPI ZERO BUILD!"
RPI="1"
fi
[ -n "$1" ] && BRANCH=$1