en.osm.town is one of the many independent Mastodon servers you can use to participate in the fediverse.
An independent, community of OpenStreetMap people on the Fediverse/Mastodon. Funding graciously provided by the OpenStreetMap Foundation.

Server stats:

251
active users

#javascript

66 posts64 participants7 posts today

J'ai ajouté ce CSS ci-dessous pour avoir la colonne par défaut (celle pour voir le toot sur lequel on a cliqué) juste après la colonne "Accueil"

Le truc chiant, c'est qu'il y a un vieux js qui scroll à droite sur un clique. Est-ce qu'il y aura moyen de l'enlever?

```
div[role="region"][aria-label].column{
order: 2;
}

div[role="region"].column:not([aria-label]) {
order: 1;
}

div[role="region"][aria-label="Accueil"].column {
order: 0;
}
```

#mastodon, #ui, #javascript, #css

I've been dabbling with #JavaScript lately to do some automation for Google Sheet in form of the Google Apps Script.

One thing that has caught my attention is the position of docstring in JS, which with outside of the braces of the function. Unfortunately #RStats also use the same style. I have always preferred function documentation inside the "scope" of the function as folding the function also hides the docstring, and moving the function around would automatically take the doc with itself.

#introduction hello from my new account- I've moved off of #fosstodon

I do #openSource websites (preferring #ProcessWire cms these days but sometimes #drupal and #wordpress and #backdrop), databases (especially #CiviCRM) for organisations with good missions - a mix of charities, campaigns and journalism etc. - I'm particularly keen to work with orgs doing #ClimateEmergency #antiFascist #peace #LGBTQIA rights...

I post about #php #javascript #webdev #css and anti #ai nonsense.

About to release this JavaScript library 📚

It's a clock/scheduler which schedules notes for Web MIDI or Web Audio.

It can drive a MIDI clock 100% accurately, just like professional software such as Logic Pro or Ableton can do.

There’s no slowdown or drift as it uses an Audio Worklet to schedule using the audio thread 🧵

Continued thread

Some progress, I can successfully "hijack" #swad's login handler to display a special hidden form with (currently dummy) javascript attached plus a random challenge. Also, verify a nonce (passed as a password) whether when appended to the challenge hashes to a #sha256 hash with "x" leading zero nibbles.

So, now I "just" have to write some #javascript to make this fly ... 🙈