find /sys/class/net/ -type l -print | grep -v "/lo$"
IFACE=wlan0
IFACEM=${IFACE:?}mon
grep -v '^#' ${0} | |
exit 2 | |
# https://docs.joinmastodon.org/client/token/#example-authorization-code-flow | |
# https://tinysubversions.com/notes/mastodon-bot/ | |
## --- STEP 01/06 - get client_id and client_secret | |
MSTDN_SERVER=mastodon.world |
#!/usr/bin/env python3 | |
# -*- coding:utf-8 -*- | |
# vim: set fileencoding=utf-8 : | |
# https://github.com/lussierc/StockSwingPredictor | |
# https://github.com/the-tyler/Stock_Price_Prediction_LSTM | |
# https://github.com/almutwakel/swing-trader | |
import sys | |
import numpy as np |
#!/bin/sh
type wget || exit 1
type grep || exit 1
type sed || exit 1
type cut || exit 1
type touch || exit 1
#REPO="<User>/<Repo>"
--- linux-rpi-4.19.81.orig/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile | |
+++ linux-rpi-4.19.81/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile | |
@@ -19,6 +19,8 @@ | |
-Idrivers/net/wireless/broadcom/brcm80211/brcmfmac \ | |
-Idrivers/net/wireless/broadcom/brcm80211/include | |
+ccflags-$(CONFIG_BRCMDBG) += -DDEBUG | |
+ | |
obj-$(CONFIG_BRCMFMAC) += brcmfmac.o | |
brcmfmac-objs += \ |
# copyright Threadsec Inc | |
# This script auto-configure and ssh auto-connect to RPi ZERO Ethernet gadget VID:0x1d6b PID:0x0137 | |
# This script require admin right to access to adapter conf. | |
# https://threadsec.wordpress.com/raspberry-pi-zero-usb-composite-gadget/ | |
# | |
# Edit $user="" | |
# Windows 10 : As Admin, run: | |
# powershell -ep bypass -file Configure-Ethernet-RNDIS-PiZero-connection.ps1 | |
# | |
Clear-Host |
# https://github.com/nopmop/picore-headless-setup/raw/master/picore-headless-setup.sh | |
# Raspberry Pi Zero W | |
# TinyCoreLinux | |
# Headless SetUp | |
# D0N'T RUN THI5 !!! | |
exit 2 |
#!/usr/bin/env python3 | |
# -*- coding:utf-8 -*- | |
# vim: set fileencoding=utf-8 : | |
""" | |
piMenu | |
1.3" OLED Display HAT for Raspberry Pi by Waveshare | |
128x64 | |
Driver: SH1106 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim: set fileencoding=utf-8 : | |
from __future__ import print_function, unicode_literals | |
""" | |
Simple HTTP Server With Upload ...and SSL ... and Authentication. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. |