Skip to content

Instantly share code, notes, and snippets.

{
"name": "services-aux-personnes-dans-la-grande-precarite.json",
"mode": "server",
"skin": {
"logo": false,
"title": "Services aux personnes sans-abris",
"shortDescription": false,
"displayScope": false,
"docs": true,
"displayCommunexion": true,
@jibe-b
jibe-b / zerodechetstrasbourg
Created June 28, 2019 20:22 — forked from ninjatune007/zerodechetstrasbourg
zerodechetstrasbourg
{
"name" : "Carte ZéroDéchet",
"mode" : "server",
"skin" : {"logo" : "https://stockagehelloassoprod.blob.core.windows.net/images/logos/zerowastestrasbourg-47e8563f79974c7cb81f6e7edcfc1272.jpg",
"title" : "Carte Zéro Déchet Strasbourg",
"shortDescription" : "Carte du Groupe Local Zero Dechet Strasbourg (v2017/06/28-10h36)",
"displayScope" : false,
"docs":true,
"displayCommunexion" : true,
"displayNotifications" : false,
{
"name": "carillon-strasbourg.json",
"mode": "server",
"skin": {
"logo": false,
"title": "Réseau Carillon à Strasbourg",
"shortDescription": false,
"displayScope": false,
"docs": true,
"displayCommunexion": true,
{
"name": "coups-de-main-aux-assos.json",
"mode": "server",
"skin": {
"logo": false,
"title": "Coups de main aux assos",
"shortDescription": false,
"displayScope": false,
"docs": true,
"displayCommunexion": true,
@jibe-b
jibe-b / remove_already_seen_mastodon_posts.js
Created October 25, 2020 11:29
I wrote a small js script that get the ids of the Mastodon posts that have been displayed on my screen and removes the ones that already appeared. Hence enabling to only see freesh posts.
var store_seen_posts_ids = function () {
var alreadyseenpostsids = localStorage.getItem("alreadyseenpostsids")
for (el of document.querySelectorAll(".status")) {
alreadyseenpostsids += "," + el.dataset.id.toString()
}
localStorage.setItem("alreadyseenpostsids", alreadyseenpostsids)
}