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
| #(Update from Python2 -> Python3) | |
| from twython import Twython | |
| from urllib.request import urlopen | |
| from importlib import reload | |
| import urllib | |
| import sys | |
| #reload(sys) | |
| #sys.setdefaultencoding('utf8') |
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
| #This Script needs Python3. Original script from @funvill, | |
| #edit (urllib and http/request support, also added gpu temperature) by @staubgeborener | |
| #This edit allows to post raspberry pi stats on any php supported website. You could use this together with cron for example. | |
| import os | |
| import urllib.request, urllib.parse | |
| # Return CPU temperature as a character string | |
| def getCPUtemperature(): | |
| res = os.popen('vcgencmd measure_temp').readline() |
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
| #include "freertos/FreeRTOS.h" | |
| #include "nvs_flash.h" | |
| #include "lwip/err.h" | |
| #include "esp_wifi.h" | |
| #include "esp_wifi_internal.h" | |
| #include "esp_system.h" | |
| #include "esp_event.h" | |
| #include "esp_event_loop.h" | |
| uint16_t offset = 0; |
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
| /* ESP32 Get RSSI of packets- Promiscuous Mode | |
| (C) 2017, Staubgeborener | |
| https://github.com/Staubgeborener/ */ | |
| #include "esp_wifi.h" | |
| #include "esp_wifi_internal.h" | |
| #include "lwip/err.h" | |
| #include "esp_system.h" | |
| #include "esp_event.h" | |
| #include "esp_event_loop.h" |
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
| /* HexToBinary Headerfile | |
| Convert Hexdata into binary | |
| (C) 2017, Staubgeborener | |
| https://github.com/Staubgeborener/ */ | |
| #include "HexToBinary.h" | |
| #include <stdio.h> | |
| #include <string.h> | |
| HexToBinary::HexToBinary() { |
NewerOlder