m5l.eu is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
Yet another single-user instance
Admin account
@marek@m5l.eu

Search results for tag #javascript

AodeRelay boosted

[?]Simon Brooke ยป 🌐
@simon_brooke@mastodon.scot

"The code points represent every letter of the US alphabet when fed to computers, but their output is completely invisible to humans. People reviewing code or using static analysis tools see only whitespace or blank lines. To a interpreter, the code points translate into executable code."

Sigh.

arstechnica.com/security/2026/

    AodeRelay boosted

    [?]Radio_Azureus ยป 🌐
    @Radio_Azureus@ioc.exchange

    docs.ntfy.sh/install/

    debian

    sudo mkdir -p /etc/apt/keyrings
    sudo curl -L -o /etc/apt/keyrings/ntfy.gpg https://archive.ntfy.sh/apt/keyring.gpg
    sudo apt install apt-transport-https
    echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/ntfy.gpg] https://archive.ntfy.sh/apt stable main" \
    | sudo tee /etc/apt/sources.list.d/ntfy.list
    sudo apt update
    sudo apt install ntfy
    sudo systemctl enable ntfy
    sudo systemctl start ntfy

      AodeRelay boosted

      [?]Radio_Azureus ยป 🌐
      @Radio_Azureus@ioc.exchange

      TIL today I RTFM!

      command

      ntfy

      Today I read the brief synopsis of ntfy Android. I saw there that via linux the control and operation is fairly simple & straightforward

      I went to the site and started reading.

      ntfy via linux is easy to use

      • simple HTTP PUT/POST commands are used

      sh

      curl -d "Backup successful ๐Ÿ˜€" ntfy.sh/mytopic

      a.out

      ntfy publish mytopic

      "Backup successful ๐Ÿ˜€"

      HTML

      POST /mytopic HTTP/1.1
      Host: ntfy.sh

      Backup successful ๐Ÿ˜€

      javascript

      fetch('https://ntfy.sh/mytopic', {
      method: 'POST', // PUT works too
      body: 'Backup successful ๐Ÿ˜€'
      })

      golang

      http.Post("https://ntfy.sh/mytopic", "text/plain",
      strings.NewReader("Backup successful ๐Ÿ˜€"))

      python

      requests.post("https://ntfy.sh/mytopic",
      data="Backup successful ๐Ÿ˜€".encode(encoding='utf-8'))

      php

      file_get_contents('https://ntfy.sh/mytopic', false, stream_context_create([
      'http' => [
      'method' => 'POST', // PUT also works
      'header' => 'Content-Type: text/plain',
      'content' => 'Backup successful ๐Ÿ˜€'
      ]
      ]));

      Markdown formattingยถ

      Supported on Android & webApp

      You can format messages using Markdown ๐Ÿคฉ. That means you can use bold text, italicized text, links, images, and more. Supported Markdown features (web app only for now):

      Emphasis such as bold (bold), italics (italics)
      Links (some tool)
      Images (![some image](bing.com/logo.png))
      Code blocks (code blocks) and inline code (inline code)
      Headings (# headings, ## headings, etc.)
      Lists (- lists, 1. lists, etc.)
      Blockquotes (> blockquotes)
      Horizontal rules (---)

      Read more on

      docs.ntfy.sh/publish/#markdown

      Sources:

      docs.ntfy.sh/

      docs.ntfy.sh/install/

      docs.ntfy.sh/publish/#markdown

        AodeRelay boosted

        [?]Dendrobatus Azureus ยป 🌐
        @dendrobatus_azureus@polymaths.social

        In the period where we both wrote our static web pages in HTML and the period where I wrote Dynamic webpages with database backends in the most simple HTML and JavaScript possible all websites were still fast.

        The first is the netscape period. The second a few years later.

        Somewhere down the line people started to use IDEs to code static websites. The programmers of the IDEs never imagined that people would abuse those environments in such a way.

        Since those days it started to go down fast. It became catastrophic when people started to use yswyg HTML editors.

        @rl_dane

        #HTML #static #Dynamic #database #JavaScript #HTML5 #programming

          AodeRelay boosted

          [?]ีธีน ีธึ„ ยป 🌐
          @tigran@xn--y9a6bah4ck.xn--y9a3aq

          Hi everyone ๐Ÿ‘‹

          Iโ€™m the creator of an open-source project: zoomment.com/

          The project already has users and Iโ€™m actively maintaining and improving it. I really enjoy working on it and would love to invest much more time into development.

          The challenge is that I also need to earn money to make that possible.

          Iโ€™m curious if anyone here has experience turning an open-source project into something sustainable financially.
          What models worked for you? (donations, hosted version, paid features, consulting, sponsorships, etc.)

          Any advice, examples, or suggestions would be really appreciated ๐Ÿ™

            0 ★ 1 ↺

            [?]Marek S. ล. ยป 🌐
            @marek@m5l.eu

            Who could have guessed that running a package sending data over to a page with to render at runtime using two separate embedded Chrome processes could cause my flight simulator to have performance issues?

            Well, once I became the person to guess that and I'm simply translating some textures with everything is butter smooth again.

              0 ★ 1 ↺

              [?]Marek S. ล. ยป 🌐
              @marek@m5l.eu

              It's been only four weeks and I really love using mise-en-place by @jdx@fosstodon.org So far I've used it for (chronologically):

              - switching between versions, I liked it more than the dedicated anyzig
              - venv activation โ€“ it's silly but feels so good, and collaborates with uv
              - ensuring I have the right language server and formatter for a project, be it , , and trying out various options for Python
              - setting LANG="C.UTF-8" only in the specific project folder because refused to work with Polish...

              The final boss was getting a really comfortable Tree-sitter setup: get the CLI, write grammar in , re-generate and run tests on source change as a mise Task. And then I only cloned the repo on another machine and was ready to go!

              This post was written as a more cultured outlet for my excitement instead of aggresively committing mise.toml into every repository I touch

                2 ★ 1 ↺

                [?]Marek S. ล. ยป 🌐
                @marek@m5l.eu

                I just completed a application for feature phones that periodically reports the position. I was quite surprised I couldn't find anything ready made for my senior user, but it wasn't too difficult to make either.

                Live location is very sensitive data, but the server with TLS and basic authentication gives me more privacy than the big tech cloud. And it only needed reading a bit of MDN and making a basic image based on