TIL: Run a script on every k8s Node using a DaemonSet
I’ve known that DaemonSets are used to run containers on all Nodes of a Kubernetes Cluster (or some), but I’ve never thought of using them to run a (shell) script on each node – a not-so-uncommon task when maintaining clusters!
https://kevingimbel.de/blog/2023/09/til-run-a-script-on-every-k8s-node-using-a-daemonset/
#Administration, #Bash, #Cluster, #DaemonSet, #DevOps, #K8s, #Kubernetes, #Scripting, #SRE
#administration #bash #cluster #daemonset #devops #k8s #kubernetes #scripting #sre
One does not simply force the pendulum to swing back to #unsafe #dynamically typed #scripting languages
#unsafe #dynamically #scripting
There's so much going on in/with Sharpscript that it makes me both confused and afraid.
#sharpscript #scripting #programming #LINQ #dotnet
Sometimes I want a bash script that I can run from the command line, but also in a systemd service.
But in the systemd service I want the output that goes to stdout not going to the journal, but to a logfile. For that I wrote a little titbit that I explain here:
https://www.linkedin.com/feed/update/urn:li:activity:7102345653766250496/
#bash
#bashshellscripting
#scripting
#linux
#linuxtips
#systemd
#redirection
#bash #bashshellscripting #scripting #linux #linuxtips #systemd #redirection
Comment créer un dossier ou plusieurs dossiers avec PowerShell ? https://www.it-connect.fr/comment-creer-un-dossier-ou-plusieurs-dossiers-avec-powershell/ #Powershell #Scripting
VS Code and faster script development
https://www.jannemattila.com/development/2023/08/28/vs-code-and-faster-script-development.html
#appdev #scripting #vscode
This is a little script I use for some common operations on Docker containers. Especially useful with docker-compose where containers end up with annoying long names, this helps with searching for the container you want to either:
1) Tail its logs
2) Spawn a process inside it (typically a shell)
3) Restart it and immediately tail its logs
https://gist.github.com/cmsj/d3de2a7e12f0804d50bf7c8fb742628f
Some folks on mastodon delete posts after a period, sometimes for privacy sometimes to save server space.
Is there a nice way to download a thread/archive it?
I don’t want to distribute them, I think there’s two cases:
1 I like having an archive of stuff I’ve said so I can look at it years later.
2 people have good advice/essays and I’d like to read them in the future.
#mastodon #selfhosted #scripting #archiving #datahoarder
#FOSS Skills: @linuxnews_de shows you how to use Unsnap to replace Snap packages with Flatpacks https://www.fosslife.org/replace-snap-packages-flatpaks-using-unsnap #Linux #Ubuntu #Snap #Flatpak #tools #Unsnap #scripting #OpenSource
#foss #linux #ubuntu #snap #flatpak #tools #Unsnap #scripting #opensource
I have been doing slightly esoteric kerning this week. I made a simple KPair script for Glyphs, that does a "all choices from row 1, paired with all choices from row 2". You start with the two rows you want selected.
1st example is to preview/test/edit kerning for math operators and numbers. That's the first two images.
2nd example is more interesting for me: Multiple alts, including alts not in the same Stylistic Set.
Code is at https://gitlab.com/drj11/script-glyphs
The final article in our #MSI Builder Step-by-Step series shows you how to install #Windows Services on the target computer in the SAPIEN Script Packager's Installer.
#SAPIENTech #PowerShellStudio #PrimalScript #ScriptPackager #pwsh #scripting
https://www.sapien.com/blog/2023/08/15/msi-builder-step-by-step-services/
#msi #windows #sapientech #powershellstudio #primalscript #scriptpackager #pwsh #scripting
@Shi
FreeCodeCamp FTW:
https://www.freecodecamp.org/news/linux-command-line-bash-tutorial/
https://www.freecodecamp.org/news/the-linux-commands-handbook/
@MatryoshkaLimit @qyyz @nixCraft I will have to look into this further. Anyone else have input? Thank you!
#Linux #Bash #Scripting
Ever wondered how objects are passed through the #powershell #pipeline from function to function? I have posted this on #discord a couple days ago, and think it explains the passthrough pretty well.
#powershell #pipeline #Discord #posh #pwsh #programming #shell #scripting
A little explainatory sample i've posted to #discord the other day, trying to explain how writing to the output stream works in #powershell
#Discord #powershell #posh #pwsh #programming #shell #scripting #pipeline
Here in my ~~garage~~ test level...
Made a script for swapping materials no make diversifying the looks of each level easier. I have tons of prefabs and replacing common material in all instances and in all the right slots would be too much headache, so i made this 🙂 #Unity #scripting #tools #gamedev #indiedev
#unity #scripting #tools #gamedev #indiedev
Does anyone have experience programmatically modifying settings on #Synology RT6600ax?
I'm hoping it's possible through a script or binary accessible through ssh shell.
#synology #networking #scripting #shell #firewall #security
This next article in our #MSI Builder Step-by-Step series explains how to use custom actions with the SAPIEN Script Packager's Installer.
#SAPIENTech #PowerShellStudio #PrimalScript #ScriptPackager #pwsh #scripting
https://www.sapien.com/blog/2023/08/10/msi-builder-step-by-step-custom-actions/
#msi #sapientech #powershellstudio #primalscript #scriptpackager #pwsh #scripting
The next article in our #MSI Builder Step-by-Step series explains how to use digital signatures in the SAPIEN Script Packager's Installer.
#SAPIENTech #PowerShellStudio #PrimalScript #ScriptPackager #pwsh #scripting
https://www.sapien.com/blog/2023/08/09/msi-builder-step-by-step-signing/
#msi #sapientech #powershellstudio #primalscript #scriptpackager #pwsh #scripting
Next up in our #MSI Builder Step-by-Step series we explain how to add shortcuts to your application in the SAPIEN Script Packager's Installer.
#SAPIENTech #PowerShellStudio #PrimalScript #ScriptPackager #pwsh #scripting
https://www.sapien.com/blog/2023/08/08/msi-builder-step-by-step-shortcuts/
#msi #sapientech #powershellstudio #primalscript #scriptpackager #pwsh #scripting