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
>>> How many Rs are in the word "strawberry"? | |
<think> | |
Okay, so I need to figure out how many times the letter 'R' appears in the word "strawberry." Let me start by writing down the word | |
clearly: S-T-R-A-W-B-E-R-R-Y. Wait, no, that's not quite right. Let me think again. | |
Wait, the correct spelling of "strawberry" is S-T-R-A-W-B-E-R-R-Y? Hmm, maybe I should break it down letter by letter to be sure. So, | |
starting from the beginning: S, T, R, A, W, B, E, then comes another R, and then two more letters before Y? Or is that correct? | |
Wait a second, maybe I'm getting confused with how "strawberry" is spelled. Let me write it out step by step. The word starts with 'S', | |
then 'T', followed by 'R'. So that's the first R right there. Then comes A, W, B, E. After E, I think another R comes in. But wait, does |
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
--- C:\temp\index.hbs.orig Sat May 18 17:04:00 2024 | |
+++ C:\src\conduit\theme\index.hbs Sat May 18 17:04:34 2024 | |
@@ -47,6 +47,8 @@ | |
{{#each additional_css}} | |
<link rel="stylesheet" href="{{ ../path_to_root }}{{ this }}"> | |
{{/each}} | |
+ <link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet"> | |
+ <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet"> | |
{{#if mathjax_support}} |
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
[ | |
{ | |
"id": "f64fc2c05427d1ff", | |
"type": "mqtt in", | |
"z": "329ba4b7632a95c8", | |
"name": "BlueIris/+/alert-image-b64", | |
"topic": "BlueIris/+/alert-image-b64", | |
"qos": "2", | |
"datatype": "json", | |
"broker": "e811c8eb637d26a5", |
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
{ | |
"message": message, | |
"data": { | |
"clickAction": "http://cameras.vpn.d.sb:81/ui3.htm?maximize=1&tab=alerts&cam=" & original_payload.camera & "&rec=" & original_payload.id, | |
"image": "/media/local/alerts/" & image_filename, | |
"actions": [{ | |
"action": "URI", | |
"title": "Live View", | |
"uri": "http://cameras.vpn.d.sb:81/ui3.htm?maximize=1&cam=" & original_payload.camera | |
}, { |
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
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # | |
# Yet-Another-Bench-Script # | |
# v2024-01-01 # | |
# https://github.com/masonr/yet-another-bench-script # | |
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # | |
Sun Feb 18 01:52:40 PM PST 2024 | |
Basic System Information: | |
--------------------------------- |
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
const {img, ...otherPayloadFields} = msg.payload; | |
const objectsToFilter = new Set([ | |
'ball', | |
'sports ball', | |
'horse', | |
'book', | |
'suitcase', | |
]); | |
let formattedObjectNames = 'Nothing'; |
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
zigbee2mqtt: | |
container_name: zigbee2mqtt | |
restart: unless-stopped | |
image: koenkk/zigbee2mqtt:latest | |
volumes: | |
- /var/local/docker/zigbee2mqtt:/app/data | |
- /run/udev:/run/udev:ro | |
ports: | |
- 8080:8080 | |
environment: |
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
We are writing to let you know about a bug we recently discovered and fixed in Slack's Shared Invite Link functionality. This | |
feature allows you to create a link that will permit anyone to join your Slack workspace; it is an alternative to inviting | |
people one-by-one via email to become workspace members. You are receiving this email because you created and/or revoked one | |
of these links for your workspace between April 17, 2017 and July 17, 2022. We'll go into detail about this security issue below. | |
Important things first, though: We have no reason to believe that anyone was able to obtain your plaintext password because | |
of this vulnerability. However, for the sake of caution, we have reset your Slack password. You will need to set a new Slack | |
password before you can login again. | |
Now, for some technical details — feel free to skip the next two paragraphs if that doesn't interest you. When you're |
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 React, {useEffect, useState} from 'react'; | |
import ReactDOM from 'react-dom'; | |
import {Placement} from '@popperjs/core'; | |
import useMouseOver from '../hooks/useMouseOver'; | |
import useLazyRef from '../hooks/useLazyRef'; | |
import {usePopper} from 'react-popper'; | |
type Props = Readonly<{ | |
children: React.ReactNode; |
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
# /etc/nginx/snippets/wordpress/common.conf | |
index index.php; | |
# Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac). | |
location ~ /\. { | |
deny all; | |
} | |
# Block PHP files in uploads, content, and includes directory. | |
location ~* /(?:uploads|files|wp-content|wp-includes)/.*\.php$ { |
NewerOlder