Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Star Trek TNG stagione 5 episodio 25, puntata bellissima...

Uncategorized
5 3 27

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    3 Views
    Bonus #JokesA typo walks into a bar.The bartender says, “What’ll it be?”The typo replies, “A bear, please.”An actor walks into a bar. "Can I get a stagehand to put some glow-tape on this, please?" he yells.A conspiracy theorist walks into a bar.Or did he? That’s just what they want you to think. Two conspiracy theorists walk into a bar.There’s no way that’s just a coincidence.(It's #HootinTootinTuesday again! Post some jokes or funny memes under this hashtag today, and bring lots of smiles to #Mastodon.)#Humor #Humour #FunnyMeme #DadJoke #BartenderJokes #WalksIntoABar
  • 0 Votes
    1 Posts
    12 Views
    Non tutti sanno che... E' semplicissimo fare un post (toot) sul proprio profilo #mastodon con un semplice comando, ad esempio utilizzando #curl. Vediamo come fare. Abilitazione e creazione token Accedere, con il vostro account, al l'istanza mastodon di riferimento. Andare su Preferenze (menù a destra) Andare su Sviluppo (menù a sinistra) Fare click su Nuova applòicazione Compilare tutti i campi e concedere almeno i permessi di scrittura post. Salvare in un luogo sicuro (password manager) quanto generato. Comando curl di esempio curl -s -X POST https://mastodon.uno/api/v1/statuses \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ -d "status=Ciao mondo" \ -d "visibility=public" \ Semplice Script di invio A questo punto possiamo farci un semplice script che prende in input, come parametro, del testo e lo invia per noi. cat toot.sh #!/bin/bash # Verifica che sia stato passato almeno un argomento if [ -z "$1" ]; then echo "Errore: devi passare il testo del toot come parametro." echo "Uso: $0 \"Testo del toot\"" exit 1 fi # Salva il parametro in una variabile TOOT="$1" # Esegui la richiesta POST curl -s -X POST https://mastodon.uno/api/v1/statuses \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ -d "status=$TOOT" \ -d "visibility=public" \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ | jq '.uri' Ho inserito #jq in fondo con un filtro (che possiamo modificare a nostro piacimento), perché l'output in formato json è abbastanza prolisso Perché? A parte che è bello fare il nerd è usare #mastodon da command line, ma la cosa può essere molto utile se la usiamo in abbinata ad altre azioni/comandi. Pensiamo ad esempio ad un integraszione con #forgejo, ad esempio potremmo fare un post (tramite #webook) al termine del nostro workflow. Un altro esempio è il collegare l'account ad un servizio di monitoraggio come #uptimekuma in questo modo si avrà una pagina che indica ai follower lo stato dei nostri servizi. Oppure usarlo al termine di un nostro script che preleva i prossimi appuntamenti da un caledario ics. Insomma, potete integrare l'invio di un toot alla fine di un vostro script custom, il limite a questo punto è solo la fantasia! E voi come lo usate? Seguimi su mastodon: @magostinelli@mastodon.uno Articolo pubblicato con licenza CC BY-NC-SA
  • 0 Votes
    1 Posts
    7 Views
    I'm just running my own #Mastodon instance here, so I don't have a ton of reach. I'd love it if any of you who are willing would boost/quote this post.My current SRE role is coming to an end, and the current market is scary.The most current project was getting 3 line-of-business applications (for a national retailer!) moved to AWS, with some infra design, and lots of Terraform and Ansible.I've got some Python chops, too.I'm looking for a new role, remote preferred, or local to the PDX area.https://linkedin.com/in/akulbeI'd love to get #FediHired#Portland #PDX
  • 0 Votes
    1 Posts
    15 Views
    Su https://Fedimedia.it raccogliamo alcune tra le realtà #Mastodon più interessanti del panorama italiano.Tra le istanze coinvolte ci sono:▶️ https://Mastodon.uno▶️ https://Poliversity.it▶️ https://Vivere.uno▶️ https://Senigallia.oneprogetti che collaborano attivamente, si supportano a vicenda e costruiscono ponti tra comunità 💪Un esempio concreto di come sia possibile la cooperazione e interconnessione, per offrire un servizio libero nel #fediverso italiano.💬 @fediverso