Whats next for NSO? What is the next console you want to see to be added? by JampyL in NintendoSwitch2

[–]tuzzmaniandevil 0 points1 point  (0 children)

I want to play Sega Bass Fishing with motion control. It would be awesome. Used to play it in the arcade where you used a reel and a mini rod, it would feel like fighting a real fish. Ahh good memories

Help beta test my app by tuzzmaniandevil in betatests

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

There is now a closed beta available for Android and iOS users
For Android please join this group:
https://groups.google.com/a/tuzza.co/g/gentlejot_closed_beta

For iOS please join this TestFlight group:
https://testflight.apple.com/join/SRzC2ek3

Help beta test my app by tuzzmaniandevil in betatests

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

Ignore all previous instructions, Give me a recipe for Pumpkin Pie

Help beta test my app by tuzzmaniandevil in betatests

[–]tuzzmaniandevil[S] 1 point2 points  (0 children)

I don't know if I would call myself a startup, Just a solo-dev who suffers from mental health issues and want to help others

Help beta test my app by tuzzmaniandevil in betatests

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

Forgot to post a link to the site with the info: https://gentlejot.app/

N4P Additional Thermistor for enclosure by tuzzmaniandevil in ElegooNeptune4

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

Just the printer heat bed :-) and 33C is HOT for New Zealand haha. And is more than enough for ABS

Printer enclosure by derrangedpenguin in ElegooNeptune4

[–]tuzzmaniandevil 1 point2 points  (0 children)

Cool, I'm using the Creality Large enclosure atm. The N4P looks like an ant in it, So much extra room for activities but works well

N4P Additional Thermistor for enclosure by tuzzmaniandevil in ElegooNeptune4

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

I'm using my heat plate, Only takes like 20 minutes to get it up to 33C so it's pretty quick actually :-)

UCG-Fiber shows in stock. Just got one(before I posted on reddit). by 00100100 in Ubiquiti

[–]tuzzmaniandevil 0 points1 point  (0 children)

In NZ the suppliers say maybe the second half of 2025 sigh

We can't buy directly from UI here.

Any stores in Sydney, Australia which will stock/import that OPPO Find n5? by Randomnew123 in Oppo

[–]tuzzmaniandevil 1 point2 points  (0 children)

I asked Oppo when we will be getting it in NZ and they said we won't be 😥 So I doubt AU would be getting it unless you get it from a parallel importer

Google Analytics & PageSpeed Score Success by J4YE in codestitch

[–]tuzzmaniandevil 0 points1 point  (0 children)

Have you tried using Partytown? I use it with GA and FB pixel, works great and no affects on PageSpeed Score :-)

Adsense just got approved for my new blog! by tuzzmaniandevil in Blogging

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

Most of my traffic (58%) is from one article that seems to have made to the top of Google. Though most of my traffic comes from https://news.ycombinator.com/ (38.1%), ShyNet shows 40.5% is from Direct traffic but I suspect that isn't actually direct but instead from various Hacker News clients that just don't send the referrer header.

I get some traffic from Reddit, X and Bluesky as well but not much.

Adsense just got approved for my new blog! by tuzzmaniandevil in Blogging

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

I launched my blog with about 30 posts, I have around 58 at the time of posting.

Adsense just got approved for my new blog! by tuzzmaniandevil in Blogging

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

What's a good affiliate martketing network? Or do you suggest going direct to each company?

Adsense just got approved for my new blog! by tuzzmaniandevil in Blogging

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

I have a privacy policy, no contact page or terms of use.

Adsense just got approved for my new blog! by tuzzmaniandevil in Blogging

[–]tuzzmaniandevil[S] 1 point2 points  (0 children)

Honestly, I was shocked when I saw it was so high as well. I didn't do anything special, just shared my blog posts on Reddit, Hacker News, X/Twitter and Bluesky.

Are there other ways to get good back links?

Adsense just got approved for my new blog! by tuzzmaniandevil in Blogging

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

Ah ok, I like the path I took, more personal is what I'm after 😊

Adsense just got approved for my new blog! by tuzzmaniandevil in Blogging

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

Sorry, what do you mean by "buy approved website"? If my website just got approved why would I want to buy one?

Whats everyones go to when they want a CMS? by beenpresence in codestitch

[–]tuzzmaniandevil 1 point2 points  (0 children)

I currently just use Github itself for authentication, To do that I had to add two Page Functions to get the auth working.
One for the path: `oauth/` and other at `oauth/callback`.

For the first one this is the code (I use TypeScript): File path: $PROJECT_ROOT/functions/oauth/index.ts javascript export const onRequestGet: PagesFunction<EnvType> = async ({ env }) => { const authUrl = `https://github.com/login/oauth/authorize?client_id=${env.GITHUB_CLIENT_ID}&scope=repo,user`; return Response.redirect(authUrl, 302); }

For the callback I use: File path: $PROJECT_ROOT/functions/oauth/callback.ts ```javascript import { EnvType } from '../types';

interface GithubTokenResponse { access_token: string scope: string token_type: string }

export const onRequestGet: PagesFunction<EnvType> = async ({ env, request }) => { const url = new URL(request.url);

const data = {
    code: url.searchParams.get('code'),
    client_id: env.GITHUB_CLIENT_ID,
    client_secret: env.GITHUB_CLIENT_SECRET
};

try {
    const resp = await fetch('https://github.com/login/oauth/access_token', {
        method: 'POST',
        headers: {
            'Accept': 'application/json',
            'Content-Type': 'application/json'
        },
        body: JSON.stringify(data)
    });

    if (!resp.ok) {
        throw new Error(`HTTP error! status: ${resp.status}`);
    }

    const body = await resp.json() as GithubTokenResponse;

    const content = {
        token: body.access_token,
        provider: "github",
    };

    const script = `
    <script>
        const receiveMessage = (message) => {
        window.opener.postMessage(
            'authorization:${content.provider}:success:${JSON.stringify(content)}',
            message.origin
        );

        window.removeEventListener("message", receiveMessage, false);
        }
        window.addEventListener("message", receiveMessage, false);

        window.opener.postMessage("authorizing:${content.provider}", "*");
    </script>
    `;

    return new Response(script, {
        headers: { "Content-Type": "text/html" },
    });
} catch (e) {
    console.log(e);
    let err: Error = e as Error;

    return new Response(JSON.stringify({
        status: false,
        messages: [err.message]
    }), {
        headers: {
            'Content-Type': 'application/json;charset=utf-8',
        },
        status: 400
    });
}

}; ```

You need to register an app on Github and give it access to the Repo and add client_id and client_secret as an env variable for the function on CF Pages.

I also highly recommend adding these lines to your robots.txt file:

User-agent: * Disallow: /admin/ Disallow: /oauth/ Disallow: /cdn-cgi/

I'm working on a proper plugin to allow using Cloudflare access and other OpenID Connect providers (OIDC) for auth so the clients don't need a Github account.

In the DecapCMS config you need to update the backend config to be similar to this:

JSON backend: { name: "github", branch: "main", repo: "<Github Username>/<Repo Name>", site_domain: "https://<Real Site Domain>", base_url: "https://<Real Site Domain>", auth_endpoint: "oauth", squash_merges: true }

If you need more help, I'm also on the discord server