This is so that I can remember how to join Gnome IRC / GIMP Networks rooms via Matrix.org.
This works for Fractal, but should work for any Matrix client
#_gimpnet_#ROOM_NAME:gnome.orgExample:
| const el = document.querySelector('.my-el'); | |
| el.classList.remove(...el.classList); |
| function arrayMoveByOne(source: unknown[], reverse = false): unknown[] { | |
| const s = [...source]; | |
| const c = [...s]; | |
| let i = 0; | |
| while (i < s.length) { | |
| if (reverse) { | |
| if (s[i - 1] == null) { | |
| c[s.length - 1] = s[0]; |
This is so that I can remember how to join Gnome IRC / GIMP Networks rooms via Matrix.org.
This works for Fractal, but should work for any Matrix client
#_gimpnet_#ROOM_NAME:gnome.orgExample:
| .dropdown { | |
| position: absolute; | |
| top: 30px; | |
| z-index: 10; | |
| left: 0; | |
| width: 300px; | |
| height: 300px; | |
| opacity: 0; | |
| transition: transform 0.3s, opacity 0.5s; | |
| will-change: transform, opacity; |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Awesome mega dropdown</title> | |
| </head> | |
| <body> | |
| <nav> |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // choose either `'stable'` for receiving highly polished, | |
| // or `'canary'` for less polished but more frequent updates | |
| updateChannel: 'stable', |