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.
"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 #JavaScript interpreter, the code points translate into executable code."
Sigh.
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
#ntfy #notifications #programming #Android #Linux #sh #bash #csh #ksh #zsh #fish #curl #http #javascript #golang #powershell #python #php #technology #OpenSource #POSIX
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.
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ยถ
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 ()
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
https://docs.ntfy.sh/publish/#markdown-formatting
Sources:
https://docs.ntfy.sh/publish/#markdown-formatting
#ntfy #notifications #programming #Android #Linux #sh #bash #csh #ksh #zsh #fish #curl #http #javascript #golang #powershell #python #php #technology #OpenSource #POSIX
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.
#HTML #static #Dynamic #database #JavaScript #HTML5 #programming
Hi everyone ๐
Iโm the creator of an open-source project: https://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 ๐
#opensource #openSourceSoftware #indieDev #buildInPublic #softwareDevelopment #webdev #programming #developers #coding #javascript #reactjs #nextjs #startups #entrepreneurship #indieHacker #selfhosted #saas #founderLife #techCommunity #foss #mastodonDev
Well, once I became the person to guess that and I'm simply translating some textures with #Cpp everything is butter smooth again.
- switching between #Zig versions, I liked it more than the dedicated anyzig
- #Python 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 #Lua, #TypeScript, and trying out various options for Python
- setting LANG="C.UTF-8" only in the specific project folder because #Ansible refused to work with Polish...
The final boss was getting a really comfortable Tree-sitter setup: get the #Rust CLI, write grammar in #JavaScript, 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
Live location is very sensitive data, but #selfhosting 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 #Docker image based on #NodeJS