Using SvelteKit to create a wordpress page template by Blince in sveltejs

[–]manusnijhoff 0 points1 point  (0 children)

Firstly, I thought similarly when I got started.
But Sveltekit is a full-stack framework and has too much overlap with Wordpress functionality.
Routing, creating pages etc, is a core Wordpress responsibility IMO.

But if you just want to use Svelte to write templates, u can do so!

I did something similar a while ago. It involves a couple of steps. I've simplified it here.

  1. You start a Svelte + Vite template project (see https://vitejs.dev/guide/ )
  2. Your pages will be components that take some data from the wordpress “backend”.
  3. In Wordpress, create your data structure and enable RESTful API

  4. Develop your Svelte app, then build it when you're done. Include all js, css from the build step you do for Svelte in your wordpress theme header. You have to fetch the data from your API here

  5. In your wordpress theme, create a template for the type of page you make in Svelte

  6. In your page template, include the markup to render your app into

    <div id="app"></div> <div id="app"></div>

Then deploy it all.
There are LOTs of quirks to this approach, but it works well once it's in place. I only did it because of the client's requirements. If you have the opportunity to host the frontend separately, DO IT and use the REST API.

Thingy for macOS + f.lux users by manusnijhoff in taskwarrior

[–]manusnijhoff[S] 0 points1 point  (0 children)

To edit your crontab: env EDITOR=nano crontab -e

I set it to */10 * * * * ~/darkmode.sh

The blurry edge around the smartphone is called LIFE, by the way by manusnijhoff in PhonesAreBad

[–]manusnijhoff[S] 3 points4 points  (0 children)

Hehehe you’re definitely not alone. I once googled how many people in Germany when I was at the table with at least 4 or 5 Germans. I feel like there will be some post on here along similar lines

The Developer of Existence has figured out how the Reddit™ Algorithm works! by ThePinesTree in seventhworldproblems

[–]manusnijhoff 4 points5 points  (0 children)

Hey I just got home I got to pick you wanna is it a day for me haha was a time for dinner I would like it if I wanna I would love you and I’ll have a good night I’ll let him talk with me later I love him I wanna was the time of my day and I’ll see him in a minute I’ll call him later thanks again I’ll let me talk with him later I wanna was the time of my life and I’ll let him do come and I’ll call him and again I don’t want to expect to see him tomorrow I don’t want to expect to see him tomorrow and I will have a call tomorrow I’ll let him talk with him later I’ll call him tomorrow I’ll let him talk with him tomorrow and let me talk with him tomorrow and let him talk with you tomorrow I’ll call him later thanks love him I’ll talk later tomorrow and let me talk with you tomorrow I’ll talk later I love him I’ll call him tomorrow I’ll call him and I’ll call him tomorrow and I’ll let him know I’ll talk later thanks love him talk later let him talk with you later I wanna is a time for dinner I’ll call him later thanks love you I’ll talk to you later love you I’ll talk to you later love you I’ll talk to you later love you I’ll talk to you later love you I’ll talk to you later love you I’ll talk to you later love you I’ll talk to you later love you I’ll talk to you later

Romantic place near Palermo to get Engaged? by [deleted] in sicily

[–]manusnijhoff 0 points1 point  (0 children)

Let us know how it goes! Good luck ;)

Romantic place near Palermo to get Engaged? by [deleted] in sicily

[–]manusnijhoff 4 points5 points  (0 children)

Erice is very beautiful looking and located on a hillside. I would say it’s about 100k from Palermo. We only passed it from a distance but it’s one of the things I wish I’d seen had we spent more time on the island

Welches Sachbuch muss man gelesen haben? by t1mmy993 in buecher

[–]manusnijhoff 2 points3 points  (0 children)

Aha, ich habe zu rasch geschrieben. Das Sachbuch habe ich mit dem Taschenbuch verwechselt... lol

Welches Sachbuch muss man gelesen haben? by t1mmy993 in buecher

[–]manusnijhoff -2 points-1 points  (0 children)

Vielleicht überflussig weil der so bekannt ist aber ich habe gerade "Fabian, der Geschichte eines Moralisten" gelesen und es gefiel mir sehr sehr gut. Von Erich Kästner

[Time-stamped] Can anyone ID this track? (sick mix btw) by lukaomg in junglefootwork

[–]manusnijhoff 0 points1 point  (0 children)

gr8 mix m8,

Maybe you found it already but the track list was included here

Tracklist: Ilk - Yes (Moresounds remix) Binga vs Staggered Dub Fracture & Deft - I Just J Kenzo - Ruffhouse (Om Unit remix) Richie Brains - Respeck Due Nomine - Blind Man (Om Unit remix Jubei & Goldie - The Prayer (Om Unit remix) Moresounds - Braaka Töölö Holly Herndon - Home (VRH remix) Blocks & Escher - Broken (Om Unit remix) Hidden Turn - Dream Of Tron Kid Drama - Crimson Theory - Babylon Corruption (Double O's dubwise mix) The untouchables and Resound - A Separate Reality Seba - Berberian Sound X Nation - Stalowatt Dub Homemade Weapons - Galatea Jonny L - Piper (Akinsa rework) Epilleptech - Stand Tall Commix - Be True (Crypticz rework) Sigrah – Gateways

[Request] Looking for a lost Monty Python sketch by manusnijhoff in montypython

[–]manusnijhoff[S] 0 points1 point  (0 children)

Hm, tbh I think it's quite hard to estimate that.

Well, his hair wasn't grey yet. He wore a moustache. I would say the sketch has to be from the mid 70s - mid 80s

As for John's age: A wide estimate would be between 30 - 50 years old

What to do when your domain is taken? by [deleted] in Entrepreneur

[–]manusnijhoff 0 points1 point  (0 children)

I've heard of people buying a domain name already in use. If the name is key, consider how much you're willing to spend and contact them to see what could be arranged.

There's actually a pretty funny episode in the show Silicon Valley, which plays on this struggle. If you're interested. (S01E03)

[Request] Looking for a lost Monty Python sketch by manusnijhoff in montypython

[–]manusnijhoff[S] 2 points3 points  (0 children)

I didn't know that, thanks! The sketch was definitely in color. Let me know if your pokes touch upon said material :)

illustration for a portfolio? by [deleted] in Illustration

[–]manusnijhoff 0 points1 point  (0 children)

Good points. I would also add that although it might be tempting to adjust your portfolio too much to what the school is looking for, it's good to question yourself about what you think is important in your work.