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
- year: 2024 | |
url: https://www.pantone.com/color-of-the-year/2024 | |
colors: | |
- name: Peach Fuzz | |
code: 13-1023 | |
hex: "#febe98" | |
rgb: [254, 190, 152] | |
- year: 2023 | |
url: https://www.pantone.com/color-of-the-year/2023 | |
colors: |
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
from machine import Pin | |
from time import sleep | |
vu=Pin(15,Pin.OUT) | |
di=Pin(16,Pin.IN) | |
while True: | |
try: | |
if di.value()== True: | |
vu.value(True) |
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
from gpiozero import LEDBoard, PWMLED | |
from gpiozero.tools import random_values | |
from signal import pause | |
from time import time, sleep, strftime | |
class Tree(object): | |
def __init__(self): | |
self.active = False | |
self.tree = LEDBoard(*range(4,28),pwm=True) | |
self.star = PWMLED(2) |
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
cms: | |
- name: "WordPress" | |
description: "A free and open-source content management system (CMS) that powers over 40% of the web. WordPress provides a flexible platform for creating blogs, websites, and e-commerce stores, and is known for its ease of use and customization options." | |
url: "https://wordpress.org/" | |
headers: | |
- "x-powered-by: WP Engine" | |
body: | |
- "//meta[@name='generator' and contains(@content, 'WordPress')]" | |
- "//*[contains(@href, 'wp-content')]" | |
- "//form[contains(@action, 'wp-login.php')]" |
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
[Atmosphere & Lighting] | |
Ambient_Color = RGB(41,33,27) HSL(27,20,13) | |
Blue_Horizon = RGB(61,61,61) HSL(0,0,24) | |
Blue_Density = RGB(8,8,8) HSL(0,0,3) | |
Haze_Horizon = 0.24 | |
Haze_Density = 1.89 | |
Moisture_Level = 0.000 | |
Droplet_Radius = 800.0 | |
Ice_Level = 0.000 | |
Density_Multiplier = 0.3100 |
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
// ==UserScript== | |
// @name IMDb Name Output for Plex | |
// @version 0.2 | |
// @description Prints out a pre-formatted name for my Plex library. Click on the name to copy to clipboard. | |
// @author soup-bowl | |
// @namespace https://gist.github.com/soup-bowl/c98165af8a13e9e0956cadb71ea0354f | |
// @match https://www.imdb.com/* | |
// @match https://imdb.com/* | |
// @grant none | |
// ==/UserScript== |
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
{ | |
"next": "2025-01-24" | |
} |
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
FROM mcr.microsoft.com/devcontainers/typescript-node:0-20 | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
wget \ | |
ca-certificates \ | |
apt-transport-https \ | |
gnupg \ | |
dirmngr \ | |
&& wget https://packages.microsoft.com/config/debian/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ |
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 urllib3 | |
from lxml import html | |
http = urllib3.PoolManager() | |
r = http.request('GET', 'https://www.rightmove.co.uk/properties/<ID>') | |
if r.status == 200: | |
content = html.fromstring(r.data.decode('utf-8')) | |
scripts = content.xpath('//script') |
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
function autoReply() { | |
var label = GmailApp.getUserLabelByName("AutoReply"); | |
var threads = GmailApp.search('label:inbox label:unread to:admin@revive.today'); | |
var sender = "admin@revive.today"; | |
var senderName = "ReviveToday Do Not Reply"; | |
var message = "Hello,<br><br>Thank you for your email. Unfortunately, due to a high level of spam and malicious emails this inbox is now closed.<br><br>The following are now the alternative options:<ul><li>For discussions on all things retro, please consider joining the <a href='http://revive.today/discord'>ReviveToday Discord</a>.</li><li>For website matters, please use the <a href='http://revive.today/contact'>Contact form</a>.</li></ul><br><br>Kind regards,<br>ReviveToday Team"; | |
var subject = "Auto-Reply: Discontinued Inbox"; | |
for (var i = 0; i < threads.length; i++) { | |
var thread = threads[i]; |
NewerOlder