home.social

#script — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #script, aggregated by home.social.

  1. Brauche mal Hilfe für #linux #debian #trixie #nas #usbraid #nfs #usb #rsync #bash.

    Ich habe ein #Script das nicht funktioniert und doch funktioniert *grrrr*

    (Script Begin)
    #!/bin/bash

    set -ex

    # check for mount
    grep /backup /etc/mtab > /dev/null || exit 1

    # directory to backup
    BDIR=/home/wilma_wein/

    # Destination dir for rsync
    DDIR=/media/backup

    # excludes file - this contains a wildcard pattern per line of files to exclude
    EXCLUDES=/root/rsy.excl

    # BACKUPDIR=${1:-`date +%A`}
    BACKUPDIR=${1:-"day"`date +%d`}

    OPTS="--force
    --ignore-errors \
    --delete-excluded \
    --exclude-from=$EXCLUDES
    --delete --backup --backup-dir=$DDIR/$BACKUPDIR -a -v"

    export PATH=$PATH:/bin:/usr/bin:/usr/local/bin

    # if destination does not exist, make it;-)
    [ -d $DDIR ] || mkdir $DDIR

    # write logfile
    echo oooooooooooooooooooooooooooooooooooooooooooo >> /root/rsy.log
    date >> /root/rsy.log

    # delete existing backup dir
    [ -d $DDIR/$BACKUPDIR ] && (echo remaking $DDIR/$BACKUPDIR >> /root/rsy.log; rm -r $DDIR/$BACKUPDIR)

    # now the actual transfer
    rsync $OPTS $BDIR $DDIR/current >> /root/rsy.log

    (Script Ende)
    .
    .
    Dieses Script soll mir mein komplettes /home sichern und gelöschte dateien in den heutigen Tag (Ordner day20 anlegen) und die gelöschte oder alte Datei (sofern geändert) verschieben. Die geänderte neue Datei im BackUp Ordner belassen.

    Folgende Laufwerke sind in meiner #fstab gemountet:

    # Angeschlossenes USB RAID Laufwerk.
    /dev/sdb1 /media/USBRaid ext4 auto,nouser,exec,async,noatime 0 0
    # Network Attached Storage Synology
    192.168.2.120:/volume1/backup /media/synology223j/backup nfs auto,user,exec,async,noatime 0 0
    .
    .
    Das Script funktioniert einwandfrei mit dem #USBRaid Laufwerk (RAID 0 - Striping)
    aber nicht mit dem #Synology #NAS (RAID 1 - Mirroring), dort wird mir mein /home auch im Tagesordner gespeichert.
    .
    .
    ??? Kann sich hier wer vorstellen oder weiß warum das mit der #NAS nicht funzt ???

  2. Hi folks! ✌️

    Here's little changes in the script that will help you in setting up your Devuan (devuan.org/) after its first installation 👉 codeberg.org/xolatgames/setup-

    Thanks for attention! 🙂

    #devuan #devuan6excalibur #devuan6 #bash #script #linux #debian #debian13

  3. Hi folks! ✌️

    Here's little changes in the script that will help you in setting up your Devuan (devuan.org/) after its first installation 👉 codeberg.org/xolatgames/setup-

    Thanks for attention! 🙂

    #devuan #devuan6excalibur #devuan6 #bash #script #linux #debian #debian13

  4. While this is all going on, they're waging war on pornographers, abortion, gay rights, and anything else they can marginalize, despite their personal behavior. #control #script #moralmajority #conservative #republican #liberty #writer

    survivorliteracy.com/2026/05/1

  5. Bored about worpress i'm experimenting about how to manage a "simple" site and how to automate it.
    It is funny to experiment.

    #websites #website #howto #automate #script

  6. Ihr programmiert gerne und nutzt dabei auch #GitHub #Copilot?

    Dann solltet ihr jetzt in die Copilot Einstellung gehen und die Privacy Einstellung aktualisieren.

    Denn GitHub will ab dem 24. April 2026 "Interaktionsdaten von GitHub Copilot für das Training von KI-Modellen, sofern Sie dem nicht widersprechen" verwenden.

    Unter der Option: "Allow GitHub to use my data for AI model training" könnt ihr dem widersprechen, indem ihr einfach das Feld auf disabled setzt.

    github.com/settings/copilot/fe

    Andernfalls kann GitHub jede Datei, an die Copilot ran kommt, theoretisch für das Training von KI Modellen nutzen.

    #GitHubCopilot #KI #AI #GPT #Claude #Code #VSC #VisualStudioCode #VisualStudio #künstlicheintelligenz #AKI #Microsoft #Datenschutz #Privacy #Security #programmieren #entwickeln #Entwickler #Software #Anwendungsentwicklung #Apps #Programme #Scripting #Script #development #dev #Informatik #IT

  7. Ihr programmiert gerne und nutzt dabei auch #GitHub #Copilot?

    Dann solltet ihr jetzt in die Copilot Einstellung gehen und die Privacy Einstellung aktualisieren.

    Denn GitHub will ab dem 24. April 2026 "Interaktionsdaten von GitHub Copilot für das Training von KI-Modellen, sofern Sie dem nicht widersprechen" verwenden.

    Unter der Option: "Allow GitHub to use my data for AI model training" könnt ihr dem widersprechen, indem ihr einfach das Feld auf disabled setzt.

    github.com/settings/copilot/fe

    Andernfalls kann GitHub jede Datei, an die Copilot ran kommt, theoretisch für das Training von KI Modellen nutzen.

    #GitHubCopilot #KI #AI #GPT #Claude #Code #VSC #VisualStudioCode #VisualStudio #künstlicheintelligenz #AKI #Microsoft #Datenschutz #Privacy #Security #programmieren #entwickeln #Entwickler #Software #Anwendungsentwicklung #Apps #Programme #Scripting #Script #development #dev #Informatik #IT

  8. Ihr programmiert gerne und nutzt dabei auch #GitHub #Copilot?

    Dann solltet ihr jetzt in die Copilot Einstellung gehen und die Privacy Einstellung aktualisieren.

    Denn GitHub will ab dem 24. April 2026 "Interaktionsdaten von GitHub Copilot für das Training von KI-Modellen, sofern Sie dem nicht widersprechen" verwenden.

    Unter der Option: "Allow GitHub to use my data for AI model training" könnt ihr dem widersprechen, indem ihr einfach das Feld auf disabled setzt.

    github.com/settings/copilot/fe

    Andernfalls kann GitHub jede Datei, an die Copilot ran kommt, theoretisch für das Training von KI Modellen nutzen.

    #GitHubCopilot #KI #AI #GPT #Claude #Code #VSC #VisualStudioCode #VisualStudio #künstlicheintelligenz #AKI #Microsoft #Datenschutz #Privacy #Security #programmieren #entwickeln #Entwickler #Software #Anwendungsentwicklung #Apps #Programme #Scripting #Script #development #dev #Informatik #IT

  9. Ihr programmiert gerne und nutzt dabei auch #GitHub #Copilot?

    Dann solltet ihr jetzt in die Copilot Einstellung gehen und die Privacy Einstellung aktualisieren.

    Denn GitHub will ab dem 24. April 2026 "Interaktionsdaten von GitHub Copilot für das Training von KI-Modellen, sofern Sie dem nicht widersprechen" verwenden.

    Unter der Option: "Allow GitHub to use my data for AI model training" könnt ihr dem widersprechen, indem ihr einfach das Feld auf disabled setzt.

    github.com/settings/copilot/fe

    Andernfalls kann GitHub jede Datei, an die Copilot ran kommt, theoretisch für das Training von KI Modellen nutzen.

    #GitHubCopilot #KI #AI #GPT #Claude #Code #VSC #VisualStudioCode #VisualStudio #künstlicheintelligenz #AKI #Microsoft #Datenschutz #Privacy #Security #programmieren #entwickeln #Entwickler #Software #Anwendungsentwicklung #Apps #Programme #Scripting #Script #development #dev #Informatik #IT

  10. Alors on en est à ce niveau d'emmerdement par la panpuissance de la techno-machine qu'il faut aller désactiver les fonctionnalités IA des navigateurs via un script à lancer en shell ?
    Pouah ! justthebrowser.com/ #linux #windows #macosx #chrome #firefox #script #nettoyage #opensource

  11. Alors on en est à ce niveau d'emmerdement par la panpuissance de la techno-machine qu'il faut aller désactiver les fonctionnalités IA des navigateurs via un script à lancer en shell ?
    Pouah ! justthebrowser.com/ #linux #windows #macosx #chrome #firefox #script #nettoyage #opensource

  12. Alors on en est à ce niveau d'emmerdement par la panpuissance de la techno-machine qu'il faut aller désactiver les fonctionnalités IA des navigateurs via un script à lancer en shell ?
    Pouah ! justthebrowser.com/ #linux #windows #macosx #chrome #firefox #script #nettoyage #opensource

  13. Alors on en est à ce niveau d'emmerdement par la panpuissance de la techno-machine qu'il faut aller désactiver les fonctionnalités IA des navigateurs via un script à lancer en shell ?
    Pouah ! justthebrowser.com/ #linux #windows #macosx #chrome #firefox #script #nettoyage #opensource

  14. Themes of Objectivity versus Subjectivity (From Script)

    In this week’s round up brought to us by Script magazine, Twinless filmmaker James Sweeney discusses the importance of theme and point of view.
    The post Themes of Objectivity versus Subjectivity (From Script) appeared first on Writer's Digest.
    writersdigest.com/themes-of-ob

    #Resources #Script #ScriptMag #ScriptMagazine #scriptwriting
    @indieauthors

  15. What ‘Fantastic Four: First Steps’ Can Teach Screenwriters (From Script)

    In this week’s round up brought to us by Script magazine, learn key takeaways from The Fantastic Four: First Steps on how to make your characters resonate.
    writersdigest.com/what-fantast

    #Resources #Script #ScriptMag #ScriptMagazine #scriptwriting
    @indieauthors

  16. Serving Character Through Action (From Script)

    In this week’s round-up from Script magazine, the director of the new action-comedy Fight or Flight discusses the narrative needs of actions scenes, and more.
    The post Serving Character Through Action (From Script) appeared first on Writer's Digest.
    writersdigest.com/serving-char

    #Resources #Script #ScriptMag #ScriptMagazine #scriptwriting
    @indieauthors

  17. Writing the Historical Script That Sells (From Script)

    In this week’s round-up from Script magazine, read an interview with “Government Cheese” Filmmaker Paul Hunter, dive into “Andor” season two with Tony Gilroy, and more.
    writersdigest.com/writing-the-

    #Resources #Script #ScriptMag #ScriptMagazine #scriptwriting
    @indieauthors

  18. The Shows That Shaped Us (From Script)

    In this week’s round-up from Script magazine, examine why comedy’s that are celebrating a major milestone this year have had such a pop-cultural staying power, and more.
    The post The Shows That Shaped Us (From Script) appeared first on Writer's Digest.
    writersdigest.com/the-shows-th

    #Resources #Script #ScriptMag #ScriptMagazine #scriptwriting
    @indieauthors

  19. Why Am I Stalled With Writing? (From Script)

    In this week’s round up from Script magazine, writing coach Jenna Avery unpacks feeling stalled with writing and brainstorms how to recover.
    The post Why Am I Stalled With Writing? (From Script) appeared first on Writer's Digest.
    writersdigest.com/why-am-i-sta

    #Resources #Script #ScriptMag #ScriptMagazine #scriptwriting
    @indieauthors

  20. The Truth About Screenwriting Contests (From Script)

    In this week’s round up from Script magazine, Script Pipeline executive Bri Janes gives her four hard truths about screenwriting contests.
    The post The Truth About Screenwriting Contests (From Script) appeared first on Writer's Digest.
    writersdigest.com/the-truth-ab

    #Resources #Script #ScriptMag #ScriptMagazine #scriptwriting
    @indieauthors

  21. Fade In is one of the major apps for movie script writing. They have a Linux version available that works really well in my tests. You can download their demo in the appimage format to try it out.

    #linux #movies #script #moviescript #scriptwriting #filmmaking #hollywood

  22. #WritersCoffeeClub Ch 14 Nbr 18 — Do you read scripts? Would you try writing a script or screenplay?

    I don't read scripts.

    When my agent optioned a novel of mine, I decided it might be a good idea to create a script from that novel. Nice to have a screenwriting credit, right? I thought, how hard can it be?

    I learned the hard way that there is a lot of skill required, and the ability to chunk down a novel-sized idea into its essence, to create a limited number of scenes that abstract its most important story lines whilst preserving the feel of the original novel. I did not have that ability. At that time, I couldn't write anything shorter than 100,000 words. To be able to write a script, not only do you have to have facility with dialogue, which I do, you need to be able to write very concise scenes.

    I am not going to try writing a script or screenplay without being hired ahead of time and given somebody to help tutor me to do the best I can.

    I suspect that won't happen.

    [Author retains copyright (c)2024 R.S.]

    #BoostingIsSharing and #CommentingIsCool

    #fiction #fantasy #ScriptWriting #Script #writing #writer #writers #author #writingcommunity #writersOfMastodon
    #RSdiscussion

  23. Ecco stavolta un vero #progetto secondario, iniziato stamattina e finito minuti fa: una paginetta sul mio #sito che elenca i miei #userscript. Infatti boh, avendone già creati ben 2 diversi nel giro di qualche giorno, e chissà se e quando ne farò uscire degli altri, è buona cosa non lasciarli sparsi per l’Internet, ma tenerli con lo stesso principio di #organizzazione che uso per le mie piccole webapp, e a cui posso puntare chiunque. https://hub.octt.eu.org/Userscripts/ 🫣

    In realtà la #pagina per ora usa semplicemente #JavaScript per pescare i dati da siti esterni (tra cui #GreasyFork), che non sono direttamente hostati da me, infatti dovrò poi valutare le opzioni possibili per preservarli ma senza impazzire… pare che su questi siti di raccolta di #script si possano settare webhook per aggiornare quantomeno il codice tramite Git (peccato non il README), quella sarebbe una #soluzione.

    https://octospacc.altervista.org/2024/03/15/paginetta-userscritti/

    #GreasyFork #JavaScript #organizzazione #pagina #progetto #script #sito #soluzione #userscript

  24. Fino ad ora ho apportato vari piccoli #miglioramenti al #sito del #MicroBlog con vari metodi, nessuno che includa anche il creare veri #plugin. Troppa sbatta perché si devono imparare tutte le API, ecc… Però, che posso fare quando sembra proprio che l’unica soluzione elegante per estendere le funzionalità di #WordPress sia quella? 😫

    Quindi, ieri sera, non avendo molto tempo da perdere, ho provato a chiedere a #ChatGPT. E, con mia sorpresa, non solo non ha allucinato creando #codice rotto, ma addirittura sembra aver studiato ciò che io non ho fatto, e si è curato di fare le robe per bene, addirittura usando le funzioni sicure per scongiurare problemi come le #SQL injection! Alla fine gli ho fatto esporre uno #shortcode, da aggiungere su normali pagine, che visualizza l’HTML generato dal #PHP. È stato proprio carino questa volta, poi guardate come l’ho ringraziato alla fine… https://chat.openai.com/share/9072c3ea-f3f5-42bb-88ae-03efa795a66f. ❤️‍🔥

    Al netto di qualche errore di interpretazione suo, che mi ha portato a dover fare piccole modifiche, ho già messo a frutto lo #script, attivandolo su una nuova pagina: Ricerca 🔍️. Essenzialmente quello che mi serviva era una #ricerca dei post di tot caratteri o meno (che per <= 500 ho chiamato Tootin’, riferendomi a chissà cosa)… e lo so che per ora è subottimale, ma è un inizio, poi magari la migliorerò. 😁

    https://octospacc.altervista.org/2024/02/08/wp-gpt/

    #ChatGPT #codice #MicroBlog #miglioramenti #PHP #plugin #ricerca #script #shortcode #sito #SQL #WordPress

  25. [⤴️ https://octospacc.altervista.org/2023/12/16/572]

    La #app #Android fatta l’altro giorno ha svolto il suo lavoro, e programmarla così è stato furbo. 🌚️ Ho usato quindi:

    • Quella, per eseguire un piccolo #script #JS per monitorare gli #SMS in entrata, controllare che provengano dal mio numero di #telefono, e siano del tipo giusto (cioè, con il corpo HTML racchiuso all’interno di un elemento XML <post> che ho inventato di sana pianta), assemblarne multipli in una sola stringa di testo se necessario (per la prova di prima non lo è stato), e inviarli con un’apposita richiesta #HTTP ad…
    • Un workflow creato al volo su n8n (che gira sul mio #server), che usa la #API semplificata del plugin WP Press This per pubblicare, dato che per qualche motivo il modulo WordPress integrato nella piattaforma non funziona per il mio #sito.

    Tutto insieme, questo sistema mi ha permesso di pubblicare su #WordPress effettivamente tramite un messaggio SMS, inviato dal mio #smartphone principale, ricevuto dal secondario che ha #Internet e fa le sue cose. Nel video c’è la dimostrazione di quel post di prima, appunto; di sfondo, l’interfaccia di #n8n che si aggiorna per mostrare la nuova esecuzione avvenuta, e il #MicroBlog con il nuovo post arrivato… 🐵️

    Ora, ripeto che questo era un #EsercizioDiStile, e per il momento nell’anno del signore #2023 non ho esigenza di postare così, ma forse il concetto generale potrebbe tornare utile per le emergenze, e in ogni caso certamente fa figo provare sulla mia #piattaforma l’ebrezza di una funzione che solo #Twitter di tutte ha avuto, e solo per poco tempo. 😤️

    Se in futuro volessi davvero usarla, innanzitutto implementerei un sistema di #OTP, così che ogni volta che voglio pubblicare devo anche inserire un codice temporaneo (perché SMS è un colabrodo di protocollo, e sarebbe possibile per dei criminali inviare un messaggio che appare come dal mio numero), poi magari implementerei funzioni come la modifica dei post (oltre che qualche feedback per pubblicazione avvenuta con successo o meno, cosa che ho evitato ora perché dalla seconda #SIM non posso inviare messaggi, solo ricevere). Per chi vuole curiosare, il #JavaScript per #DroidScriptin e il JSON per n8n sono qui: https://gitlab.com/octospacc/Snippets/-/tree/main/SmsToWordpress. 🎀️

    https://octospacc.altervista.org/2023/12/18/635/

    #2023 #Android #API #app #DroidScriptin #EsercizioDiStile #HTTP #Internet #JavaScript #JS #MicroBlog #n8n #OTP #piattaforma #script #server #SIM #sito #smartphone #SMS #telefono #Twitter #WordPress

  26. I've decided to start being #proactive in #encouraging people to join #Mastodon! From here out any favorite #accounts that I follow on #Twitter who are not also on Mastodon, I am going to #message them to #migrate.

    If you'd like to do the same, here is a short #script that I am using:

    "Please consider moving to Mastodon. I would love to continue to follow your posts, but I am not going to be active on Twitter anymore."

  27. I think overall #TheWorldIsNotEnough was a poor #Movie b/c the #Script wasn't inventive enough. #JamesBond felt played out. Note the drastic plot twists in the NEXT movie #DieAnotherDay, having Bond captured by #NorthKoreans, etc. "We've got to do SOMETHING to spice things up."

  28. Tonight's #reading. I may not be able to get to Stratford-upon-Avon to see the current #RSC theatre production of #TheBoxOfDelights. But I can read the #play #script book! #Bookstodon #BoxOfDelights #Theatre #Plays #JohnMasefield

  29. Until I can finish setting up the @loveyoumore #radio station with #azuracast, I’ve written a #script that plays out time-based #playlist (s) via #mpc / #mpd locally — and it’s working beautifully so far. 😎

  30. My blog #BurgeonLab relies on #SourceHut Git and Builds. They’ve been down and at first I couldn’t deploy my site to my static host, #Bunnynet.

    This triggered me to create a local script that runs all the fetch/build steps as an alternative pathway to upload...

    View full note: burgeonlab.com/notes/2026/0408

    Syndicated via getindiekit.com

    This is post 27 of #100DaysToOffload

    #CICD #CI #Githubctions #srht #ddos #gitforge #git #continuousintegration #bash #script #statichost #statichosting

  31. Naty @eclecticpassions ·

    My blog relies on Git and Builds. They’ve been down and at first I couldn’t deploy my site to my static host, .

    This triggered me to create a local script that runs all the fetch/build steps as an alternative pathway to upload...

    View full note: burgeonlab.com/notes/2026/0408

    Syndicated via getindiekit.com

    This is post 27 of

  32. My blog #BurgeonLab relies on #SourceHut Git and Builds. They’ve been down and at first I couldn’t deploy my site to my static host, #Bunnynet.

    This triggered me to create a local script that runs all the fetch/build steps as an alternative pathway to upload...

    View full note: burgeonlab.com/notes/2026/0408

    Syndicated via getindiekit.com

    This is post 27 of #100DaysToOffload

    #CICD #CI #Githubctions #srht #ddos #gitforge #git #continuousintegration #bash #script #statichost #statichosting

  33. My blog #BurgeonLab relies on #SourceHut Git and Builds. They’ve been down and at first I couldn’t deploy my site to my static host, #Bunnynet.

    This triggered me to create a local script that runs all the fetch/build steps as an alternative pathway to upload...

    View full note: burgeonlab.com/notes/2026/0408

    Syndicated via getindiekit.com

    This is post 27 of #100DaysToOffload

    #CICD #CI #Githubctions #srht #ddos #gitforge #git #continuousintegration #bash #script #statichost #statichosting

  34. My blog #BurgeonLab relies on #SourceHut Git and Builds. They’ve been down and at first I couldn’t deploy my site to my static host, #Bunnynet.

    This triggered me to create a local script that runs all the fetch/build steps as an alternative pathway to upload...

    View full note: burgeonlab.com/notes/2026/0408

    Syndicated via getindiekit.com

    This is post 27 of #100DaysToOffload

    #CICD #CI #Githubctions #srht #ddos #gitforge #git #continuousintegration #bash #script #statichost #statichosting

  35. Phew, it's been a little ordeal but a labour of love.

    Proud to present the next iteration of my which should be more robust and less annoying in daily use. Only 'problem' is when the screen becomes locked and your keyboard is disabled (no easy way to enter your password) but rebooting should be a workaround for that.

    It should be a desktop agnostic way to your screen and mice by method of and . Please try it and report bugs!

    gitlab.com/RyuKurisu/autorotat

  36. Il Favoloso Mondo di Leo @ilfavolosomondodileo.wordpress.com@ilfavolosomondodileo.wordpress.com ·

    Come velocizzare l’apertura di ASSOINVOICE

    Se gestisci la contabilità dell'azienda in cui lavori, con molta probabilità conosci AssoInvoice. In questo articolo ti spiegherò come ottimizzare questo software e come creare uno SCRIPT BATCH capace di eseguire un processo di MIRRORING. Potrai usare tutte queste informazioni nelle situazioni più disparate.

    ilfavolosomondodileo.wordpress

  37. Afin de récupérer les textes des diapositives créées dans Polymny Studio (application en ligne permettant de réaliser des capsules vidéo pour commenter un pdf), j'ai découvert l'utilisation de la commande jq qui vaut le détour pour extraire les données d'un fichier json.
    Toutes les info sont ici :
    lofurol.fr/joomla/programmatio

    #PolymnyStudio #shell #script #json #jq #markdown