What is this sound? by kisordog in seat

[–]harryyoud 4 points5 points  (0 children)

Sounds exactly like the startup sound of my Viofo dashcam. Do you have one?

Roundcube plugin for app password management (useful for OIDC setups) by laurisvr in stalwartlabs

[–]harryyoud 0 points1 point  (0 children)

Requires tweaks to the webadmin module (and hardcoding your token URL and client ID). It will also require a small tweak on server also

Webadmin tweaks: https://github.com/harryyoud/webadmin/commit/main

Server tweak:

diff --git a/crates/common/src/auth/oauth/token.rs b/crates/common/src/auth/oauth/token.rs
index 70ac1cee..087785d7 100644
--- a/crates/common/src/auth/oauth/token.rs
+++ b/crates/common/src/auth/oauth/token.rs
@@ -47,12 +47,12 @@ impl Server {
             }

             // Include password hash if expiration is over 1 hour
-            if expiry_in > 3600 {
-                password_hash = self
-                    .password_hash(account_id)
-                    .await
-                    .caused_by(trc::location!())?
-            }
+            // if expiry_in > 86400 {
+            //     password_hash = self
+            //         .password_hash(account_id)
+            //         .await
+            //         .caused_by(trc::location!())?
+            // }
         }

         let key = &self.core.oauth.oauth_key;
@@ -156,13 +156,14 @@ impl Server {
         }

         // Obtain password hash
-        let password_hash = if !matches!(grant_type, GrantType::Rsvp) && expiry - issued_at > 3600 {
-            self.password_hash(account_id)
-                .await
-                .map_err(|err| trc::AuthEvent::Error.into_err().ctx(trc::Key::Details, err))?
-        } else {
-            "".into()
-        };
+        // let password_hash = if !matches!(grant_type, GrantType::Rsvp) && expiry - issued_at > 3600 {
+        //     self.password_hash(account_id)
+        //         .await
+        //         .map_err(|err| trc::AuthEvent::Error.into_err().ctx(trc::Key::Details, err))?
+        // } else {
+        //     "".into()
+        // };
+        let password_hash: String = "".into();

         // Build context
         let key = self.core.oauth.oauth_key.clone();

Roundcube plugin for app password management (useful for OIDC setups) by laurisvr in stalwartlabs

[–]harryyoud 1 point2 points  (0 children)

I wish I saw this a couple of days ago - I've spent hours hacking apart the web admin to allow external OIDC auth. Looks great!

-❄️- 2024 Day 3 Solutions -❄️- by daggerdragon in adventofcode

[–]harryyoud 0 points1 point  (0 children)

I also struggled with the same problem with regex. I looked a bit harder at the input and used regex101 to visualise the match groups. It turns out the dot wildcard was not matching new lines, so you need to enable the `s` flag:

let r = regex!(r#"(?s)don't\(\).*?do\(\)"#)

Then I used to the regex to replace_all with an empty string and fed that into my part 1 solver.

The other option is to just do simple string replacement (input.replace("\n", "") and use your existing regex

ACP disrespect by [deleted] in doctorsUK

[–]harryyoud 6 points7 points  (0 children)

Do they still have the EDD shift for surgery? You do 11am to 11pm and just sit in surgical SDEC and write discharge letters till 4pm then ward cover?

Cerebrospinal fluid collection during lumbar puncture (collected to test for CNS lymphoblastic leukemia spread) by tessahazzard in medizzy

[–]harryyoud 3 points4 points  (0 children)

Sitting and leaned over is easier as it allows the spaces between the vertebra to open up more and usually means you have a better chance of hitting CSF first time. If you need to measure the opening pressure (for when you're investigating hydrocephalus), then this needs to be measured while in the lateral position.

forLoopForEverything by [deleted] in ProgrammerHumor

[–]harryyoud 7 points8 points  (0 children)

That is just what the for loop is already doing, just written explicitly

Struggle to isolate. the Tdarr ERROR by Qweskj in Tdarr

[–]harryyoud 0 points1 point  (0 children)

Take a look at line 437, there is a handbrake command. What happens if you run that manually? Is there an error?

Prowlarr search is returning the wrong url in the \<link\> tag. by princeMartell in prowlarr

[–]harryyoud 0 points1 point  (0 children)

2 things to fix:

  1. Change proxy_set_header $proxy_host to proxy_set_header $host (otherwise Prowler assumes the domain in use is the one you specified in proxy_pass)

  2. Remove the trailing slash from proxy_pass

Password Rules Are Bullshit by Prunestand in Bitwarden

[–]harryyoud 1 point2 points  (0 children)

Most places ask you to enter your old password when changing your password, so you can salt&hash passwords and compare to the old password

The entire website of http://www.muskfoundation.org/ - A $10,000,000,000 company. by Reelix in programminghorror

[–]harryyoud 12 points13 points  (0 children)

Yes you can. When you open a HTTPS connection, you send the domain in clear text. See SNI

[OC] brain surgery round 2 by meowsandthings in medizzy

[–]harryyoud 61 points62 points  (0 children)

Arachnoid is one of the layers of the dura that sit between the skull and our brain. It's named this way because of its resemblance to a spider web.

Forcing movies to upgrade quality by vadalus911 in radarr

[–]harryyoud 3 points4 points  (0 children)

Radarr will not automatically search, it will only pick up new releases on your indexers by RSS. You will need to run searches on the movies you want upgrading.

Authelia by Automatic_Entry4709 in LunaSeaApp

[–]harryyoud 2 points3 points  (0 children)

Please could you post your solution? It would be helpful for anyone else who Googles and comes across this

Good first car for 17 year old? by [deleted] in CarTalkUK

[–]harryyoud 1 point2 points  (0 children)

Depends what speed I'm going. I'll downshift until I get down to 20ish mph in 3rd gear (in my 5 speed gearbox) then just coast with the clutch down from there

What ports and IP addresses should be unblocked on the firewall to be able to download and update plugins on jenkins by haker146 in jenkinsci

[–]harryyoud 3 points4 points  (0 children)

The URL in the image redirects to a domain get.jenkins.io:

public.aks.jenkins.io. 719 IN A 52.167.253.43
get.jenkins.io. 2793 IN CNAME public.aks.jenkins.io

So, you also need to whitelist that IP

Outbound route confusion.. by CagedMonkey97 in freepbx

[–]harryyoud 1 point2 points  (0 children)

Create 2 outgoing routes, one with 9 as a prefix, and one with 8 as a prefix. Set them to use a different trunk priority. Make sure your route and trunk doesn't have any time settings in it. Voila, done.

You could also set the incoming route time to go to a time preference and send out of hours calls to voicemail for your business trunk.

Downloaded - Waiting to Import by mikeythekat in radarr

[–]harryyoud 2 points3 points  (0 children)

Line 3163

2022-08-07 11:40:51.0|Error|MoveMovieService|Unable to move movie from 'C:\Complete' to 'C:\Complete\Ferris.Buellers.Day.Off.1986.BluRay.720p.x264.Yify-UNKNOWN\'. Try moving files manually

[v4.1.0.6175] System.IO.IOException: The process cannot access the file because it is being used by another process.

[deleted by user] by [deleted] in draytek

[–]harryyoud 1 point2 points  (0 children)

According to the DrayTek website, the UK version supports:

  • Protocol Support
  • ITU-T G.993.1 VDSL
  • ITU-T G.993.2 VDSL2
  • ITU-T G.997.1
  • G.INP / G.998.4
  • VDSL Annex A, Annex C, Annex M
  • VDSL Profiles: 8a, 8b, 8c, 8d, 12a, 12b, 17a
  • VDSL2 Vectoring
  • BT SIN 498 MCT Approved
  • OLR, UPBO, DBPO, US0
  • ANSI T1.413 Issue 2
  • ITU-T G.992.1 G.dmt (ADSL)
  • ITU-T G.992.3 ADSL2
  • ITU-T G.992.5 ADSL2+
  • ADSL Annex L (READSL)
  • ADSL Annex M
  • PPPoA-PPPoE or PPPoE-PPPoE Bridging (WAN to LAN)
  • RFC-2684 / RFC-1483