aspe:keyoxide.org:5WXRNM7ZGPWOV7VWMY4HZTYXKU
This file contains 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
import imagehash | |
import mariadb | |
import sys | |
from PIL import Image | |
import hashlib | |
import os | |
# specify your path of directory | |
supported_extensions = ['.jpg', '.jpeg', '.png', '.tiff', '.jfif', '.jpe', '.gif'] |
This file contains 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Events; | |
using Sirenix.OdinInspector; | |
public enum SimpleDoorState | |
{ |
This file contains 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
<packages> | |
<package id="bind-toolsonly" /> | |
<package id="bitwarden" /> | |
<package id="Cmder" /> | |
<package id="docker-cli" /> | |
<package id="docker-compose" /> | |
<package id="docker-desktop" /> | |
<package id="ds4windows" /> | |
<package id="gimp" /> | |
<package id="git.install" /> |
This file contains 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 is the code for the AirGradient DIY Air Quality Sensor with an ESP8266 Microcontroller. | |
It is a high quality sensor showing PM2.5, CO2, Temperature and Humidity on a small display and can send data over Wifi. | |
For build instructions please visit https://www.airgradient.com/diy/ | |
Compatible with the following sensors: | |
Plantower PMS5003 (Fine Particle Sensor) | |
SenseAir S8 (CO2 Sensor) |
This file contains 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 <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
const char* ssid = ""; | |
const char* password = ""; // Enter WiFi password | |
const char* mqttServer = ""; | |
const int mqttPort = 1883; | |
const char* mqttUser = ""; | |
const char* mqttPassword = ""; | |
This file contains 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
covid_dates = [ | |
(datetime.datetime.strptime('2020-03-25', "%Y-%m-%d"), 'COVID-19 (Lockdown announced)' ), | |
(datetime.datetime.strptime('2020-04-16', "%Y-%m-%d"), 'COVID-19 (Lockdown measures come into force)' ), | |
(datetime.datetime.strptime('2020-04-30', "%Y-%m-%d"), 'COVID-19 (Lockdown extended)' ), | |
(datetime.datetime.strptime('2020-06-01', "%Y-%m-%d"), 'COVID-19 (People who cannot work from home return to work)' ), | |
(datetime.datetime.strptime('2020-06-15', "%Y-%m-%d"), 'COVID-19 (Phased school re-opening)' ), | |
(datetime.datetime.strptime('2020-06-23', "%Y-%m-%d"), 'COVID-19 (Non-essential shops re-open)' ), | |
(datetime.datetime.strptime('2020-07-04', "%Y-%m-%d"), 'COVID-19 ("There will be first local lockdown in parts of Leicestershire")' ), | |
(datetime.datetime.strptime('2020-07-18', "%Y-%m-%d"), 'COVID-19 (First local lockdown in parts of Leicestershire comes into force)' ), |
This file contains 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
/*** Cargo.toml | |
[dependencies] | |
futures = "0.3.15" | |
reqwest = { version = "0.11", features = ["json"] } | |
tokio = { version = "1", features = ["full"] } | |
*/ | |
// main.rs | |
use reqwest; |
This file contains 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
package repeating_interval | |
import org.joda.time.Instant | |
import org.joda.time.Instant.now | |
import org.joda.time.Interval | |
import java.lang.IllegalArgumentException | |
import org.joda.time.Duration | |
import org.joda.time.Period | |
fun java.time.Instant.toJodaInstant() = Instant.ofEpochMilli(toEpochMilli()) |
This file contains 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
#!/usr/bin/env python | |
import nltk | |
from nltk.sentiment.vader import SentimentIntensityAnalyzer | |
nltk.download('vader_lexicon') | |
import feedparser | |
import pandas as pd | |
import numpy as np |
NewerOlder