Advertisement Β· 728 Γ— 90

Posts by Nick Sergeant

Post image

πŸ˜‚ yep the internet does suck now

1 year ago 2 0 0 0
Post image

@calendly-official.bsky.social this is why we hate chatbots. Stop it with this nonsense 🀣.

1 year ago 3 0 0 0

As a long-time YNAB (@ynabofficial.bsky.social) customer, I was pretty bummed to learn they _sell your private information_ by default. Make sure you go and turn this off -- and I'll be on the hunt for a replacement soon, I think. bsky.app/profile/nick...

1 year ago 3 0 0 0
Screenshot of YNAB showing that "Allow Sale of My Personal Info & Sharing of My Personal Info for Targeted Ads" is enabled by default and opt-out only.

Screenshot of YNAB showing that "Allow Sale of My Personal Info & Sharing of My Personal Info for Targeted Ads" is enabled by default and opt-out only.

@ynabofficial.bsky.social I feel like you should be called out for this being opt-out πŸ™„. I literally pay you money every month, why do you also need to sell my information?

1 year ago 4 0 0 1

β€œwe need to talk about your ad blocker”

NO WE NEED TO TALK ABOUT THE FACT THAT YOU ABNEGATED YOUR RESPONSIBILITY TO FIND A BUSINESS MODEL, TO OFFER A VALUABLE SERVICE FOR MONEY, AND SURPRISE! IT DIDN’T WORK

1 year ago 39 8 0 0
Mom: Hi there!  My tv is telling me I need to sign in. I’ve look thru all the settings and not sure where I’m supposed to sign in. Any ideas?

Mom: I see where I can reset the app but I will lose my accounts and will need to sign back in. Settings will also be reset 

Mom: I figured it out haha!

Me: Oh okay! Sorry haha just got to basketball practice

Mom: Hi there! My tv is telling me I need to sign in. I’ve look thru all the settings and not sure where I’m supposed to sign in. Any ideas? Mom: I see where I can reset the app but I will lose my accounts and will need to sign back in. Settings will also be reset Mom: I figured it out haha! Me: Oh okay! Sorry haha just got to basketball practice

Rubber ducking works on parents, too!

1 year ago 2 0 0 0

oh nooo ahahah

1 year ago 11 1 0 0

That would match both targets in my original post here. The problem I have is that I want to style the inline code blocks differently from the box-style code blocks.

1 year ago 0 0 0 0
Post image

This is actually much more bearable once I became more liberal with child labor laws.

1 year ago 1 0 0 0
Advertisement

And yea I adjust the drill setting to very low for most pieces.

1 year ago 0 0 0 0

Uhhhh can I just ship all future furniture to you for assembly and you ship me the finished item!?

One of the bags of hardware broke open in the box and I'm short 21 cam lock combos 😭

1 year ago 0 0 1 0
A dining room table with tons of cheap furniture pieces to put together

A dining room table with tons of cheap furniture pieces to put together

Nightmare fuel

1 year ago 1 0 1 0

AIM buddy profiles! They supported basic HTML. From there it was a natural leap to "okay how do I do a website now".

1 year ago 0 0 0 0
Hello, again! Feeling inspired to start blogging again ✨. I recently started using an RSS reader again after a failed attempt at [building our own](https://github.com/nickse

First new blog post in 9 years πŸ™ˆ nicksergeant.com/hello-again

1 year ago 0 0 0 0

Oh I mean the character count. Funny though, I can just screenshot the code and use up to 2,000 chars for alt text πŸ˜†

1 year ago 0 0 0 0
'use client';

import { useEffect, useRef } from 'react';

export default function PostContent({ content }: { content: string }) {
  const ref = useRef<HTMLDivElement>(null);

  useEffect(() => {
    const codeElements = ref.current?.querySelectorAll('p code');

    codeElements?.forEach((codeElement) => {
      const codeElementWrappedInnerHtml = `<code>${codeElement.innerHTML}</code>`;

      if (
        codeElement.parentElement?.innerHTML === codeElementWrappedInnerHtml
      ) {
        codeElement.classList.add('code-block');
      }
    });
  }, [ref]);

  return <div ref={ref} dangerouslySetInnerHTML={{ __html: content }} />;
}

'use client'; import { useEffect, useRef } from 'react'; export default function PostContent({ content }: { content: string }) { const ref = useRef<HTMLDivElement>(null); useEffect(() => { const codeElements = ref.current?.querySelectorAll('p code'); codeElements?.forEach((codeElement) => { const codeElementWrappedInnerHtml = `<code>${codeElement.innerHTML}</code>`; if ( codeElement.parentElement?.innerHTML === codeElementWrappedInnerHtml ) { codeElement.classList.add('code-block'); } }); }, [ref]); return <div ref={ref} dangerouslySetInnerHTML={{ __html: content }} />; }

Yeah what a bummer. Ended up doing this to explicitly mark block-level code elements (had to post this as an image because of Bluesky's character limit... are we for real gonna do this again 😭)

1 year ago 1 0 1 0
Preview
CSS selector for elements without text siblings I'm trying to find a CSS selector that can help me distinguish between the &lt;var&gt; tags in these 2 different usages: &lt;p&gt;&lt;var&gt;Foo&lt;/var&gt;&lt;/p&gt; And &lt;p&gt;Some text &lt;...

😭 stackoverflow.com/questions/23...

1 year ago 0 0 0 0
Post image

I think the problem I'm having is that :first-child matches the <code> element inside <p>some<code>code</code></p> because "some" is not inside an element.

1 year ago 0 0 2 0
A screenshot illustrating that I want to target the code element inside the p tag of code <p>some<code>code</code>text</p>, but _not_ the code element inside <p><code>code</code></p>.

A screenshot illustrating that I want to target the code element inside the p tag of code <p>some<code>code</code>text</p>, but _not_ the code element inside <p><code>code</code></p>.

CSS wizards:

Anyone know how I can target the child of a selector that has siblings but those siblings are not within elements!?

Ie., I have <p>some<code>code</code>text</p>, I want to style the <code> element differently than <p><code>code</code></p>.

/cc @wesbos.com 🀣 #nerd-snipe

1 year ago 0 0 2 0
Advertisement
Post image

Ermigherrrrd thank you!! πŸ’―

1 year ago 1 0 0 0

{homerAppear}

/me checks for "disable retweets" on users. doesn't exist.

{homerDisappear}

1 year ago 0 0 1 0

How many trees had to die for my credit card company to mail me a letter saying "if there is a mistake on your statement, you have a right to dispute it.”?

2 years ago 0 0 0 0
A ridiculous captcha by LinkedIn asking me to rotate a fucking animal

A ridiculous captcha by LinkedIn asking me to rotate a fucking animal

What in the actual fucking fuck

2 years ago 0 0 0 0

I HATE NEW SLACK SO MUCH

2 years ago 8 3 0 0
Photo of the Playdate gaming system on top of a MacBook Air

Photo of the Playdate gaming system on top of a MacBook Air

😻

2 years ago 0 0 0 0

RIP to web pioneer Molly Holzschlag. May her name continue to ring out as a true champion of the open web, someone who made the internet a better place for all of us. [tucsonsentinel.com]

2 years ago 15 7 0 0

I've tried a huge amount of NA beer over the last couple of years and Untitled Art blows away everything, likely due to their RO process through their contract brewer Octopi.

It's very easy to fool a "leaded" beer drinker w/ UA's beers, not so much with Athletic and other breweries IMO.

2 years ago 0 0 0 0

Here now!

2 years ago 1 0 0 0

Is this place like Old Dev Twitter? It seems like it might be.

Ie., the OG An Event Apart speaker cohort. I just went through @simplebits.bsky.social's followers and pretended it was 2008 πŸ˜‚.

2 years ago 1 0 0 0
Advertisement

Hello, world.

2 years ago 5 0 0 0