Spyke

Posts

mikrotik·MikrotikbyOwlPaste

[Resolved] Is there an easy way to clear settings via terminal?

I am trying to create a setup script for configuring router + AP via CAPsMAN, but would like to ask if there is an easy way to clear my settings as I am testing and exploring the setup to clean up the various config changes I am doing to clear the state easier?

I am changing things like

/caps-man datapath
/caps-man configuration
/caps-man provisioning

And others. Is there some way I can just drop all entries from those config paths? Or something like that to tidy up config while I am editing and trying out things?

View original on lemmy.world
9

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

View original on lemmy.world
9
cat·catsbyOwlPaste

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)

View original on lemmy.world
44
selfhosted·SelfhostedbyOwlPaste

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!

View original on lemmy.world
72
london·LondonbyOwlPaste

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?

View original on lemmy.world
10
react·ReactbyOwlPaste

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

Using react router and have a route definition:

  {
       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?

View original on lemmy.world
6

You reached the end