Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)OW
Posts
9
Comments
405
Joined
2 yr. ago
diy @sh.itjust.works
OwlPaste @lemmy.world

Faceplate that hides cables into trunking

I got a cable channel going between floors with a backbox on the ground floor wall and a hidden plastic guide channel for the cables on floor above.

so wanted to ask, is there a faceplate that hides cables into trunking to a side in a nice way? got some d-line trunking that would come to this box but id prefer not to have cables sticking out of it and just pop into the trunking.

pic of the box location, i need the cables to pop out towards the brown colour wall (but probably going up first to coven level) but would like the cables to not be visible

cats @lemmy.world
OwlPaste @lemmy.world

Bike carrier for cat recommendations (mostly for vet trips)

Hiya, anyone has recommendations for bike carriers for cats? I would prefer something in the front so i can keep an eye on my cat mostly for going to the vet.

Wifes bike is one of those folding ones so there is no carry bit at the back so looking for something that either secures to the handlebars or between the seat and handlebars.

Seen a few whicker basket types, but never used those before. Would appreciate any recommendations 🐱

Cat tax (and future carrier user)

Linux @lemmy.ml
OwlPaste @lemmy.world

What are common tools on Linux to wipe an HDD pre RMA?

A Qnap NAS has a drive with some bad sectors, I want to RMA it, but before just want to figure out how to prepare a drive? It's part of a raid 5 setup of 4 drives unencrypted. So I want to remove it and wipe it. Got a Linux machine I can use, but never done this before.

What are common Linux tools to do that sensibly?

cats @lemmy.world
OwlPaste @lemmy.world

Almost a void seal

She's almost a void, just a couple of drops of not void paint.

Selfhosted @lemmy.world
OwlPaste @lemmy.world

Looking for some kind of local DB manager? "application" with a gui

I need to record information about what my cat eats and does, as she might have a food allergy and I need to track down what it is.

So I am after some kind of a user friendly locally hosted database (maybe via some kind of app), preferably Linux friendly.

It would be nice if it had similar relationships to the added image, some kind of relational DB that I can fill with data. But essentially I need to have a bunch of lookup tables to return some data specific to difference events.

Its a bit of a pain (and takes time) to have to write an entire webapp to manage all this from scratch, that's why I am looking for some kind of user friendly GUI way to do it. Surely there must be some kind of relational database managing "application" that lets you set up some lookup tables and enter data in a nice and easy GUI way to do it? sqllitebrowser doesn't count as it doesn't handle linked tables in a nice way (would be nice if its friendly for my wife to use) :)

Cheers!

London @feddit.uk
OwlPaste @lemmy.world

Where to recycle treadmill?

Got a small walking treadmill, that now became a fire hazard, rhe motor is sparking, but replacing it seems not feasible as i cannot get a replacement part (the company stopped existing a while ago and doesn't seem like a main manufacturer). And it seems a slightly more permanent installation than not.

So looking to scrap it, but how to scrap it in London without a car? Council bulk pickup seems not to mention anything about fitness equipment and neither does the "not so local" recycling centre, tried calling it but the number goes nowhere. Its a fair trip on a taxi if i wanted to bring it to the centre and not a straightforward walk either.

So the question is, how to scrap it? Contacted a random "local" company that mentioned picking up gym equipment but they quoted £200, which is more than the bloody thing cost!

Going to email the council, but anything else i can try?

React @programming.dev
OwlPaste @lemmy.world

How to properly throw a 404 status in react router 6?

Using react router and have a route definition:

 undefined
      
    {
         path: '/',
         element: <Root pageTitle={pageTitle} />,
         errorElement: <ErrorPage setPageTitle={updatePageTitle} />,
         children: [
            ...
            {
               path: '*',
               element: <ErrorPage setPageTitle={updatePageTitle} />,
               loader: async () => {
                  throw new Response('Not Found', { status: 404 });
               },
            },
         ],
      },

  

This shows me 404 page how I want but without the rest of the root element but also the http status is reported as 200. How do I properly throw it as a 404 and show it inside root element?

React @programming.dev
OwlPaste @lemmy.world

How to throw a 404 status and a pretty page?

Using react router and have a route definition:

 undefined
      
    {
         path: '/',
         element: <Root pageTitle={pageTitle} />,
         errorElement: <ErrorPage setPageTitle={updatePageTitle} />,
         children: [
            ...
            {
               path: '*',
               element: <ErrorPage setPageTitle={updatePageTitle} />,
               loader: async () => {
                  console.log('throwing a 404');
                  throw new Response('Not Found', { status: 404 });
               },
            },
         ],
      },

  

This does show me the 404 page how I want, but http status is reported as 200. How do I properly throw it as a 404?

It seems not to trigger the loader (console log does not appear), or is there another method to throw a 404 and show a pretty page?

cats @lemmy.world
OwlPaste @lemmy.world

Recharging solar batteries

Cat recharging in the sun https://imgur.com/a/MgsUN8W