kevin ✨ (he/him) · @KevinGimbel
30 followers · 73 posts · Server fosstodon.org

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!

kevingimbel.de/blog/2023/09/ti

, , , , , , , ,

#administration #bash #cluster #daemonset #devops #k8s #kubernetes #scripting #sre

Last updated 1 year ago

Rick Wong – Tech & code  · @ryguw
168 followers · 224 posts · Server fosstodon.org

One does not simply force the pendulum to swing back to typed languages

#unsafe #dynamically #scripting

Last updated 1 year ago

Sean Murthy · @smurthys
232 followers · 3004 posts · Server hachyderm.io

There's so much going on in/with Sharpscript that it makes me both confused and afraid.

sharpscript.net/

#sharpscript #scripting #programming #LINQ #dotnet

Last updated 1 year ago

Cecil Westerhof · @Cecil
1 followers · 87 posts · Server hostux.social

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:
linkedin.com/feed/update/urn:l







#bash #bashshellscripting #scripting #linux #linuxtips #systemd #redirection

Last updated 1 year ago

benzogaga33 · @benzogaga33
852 followers · 25832 posts · Server mamot.fr

#powershell #scripting

Last updated 1 year ago

Janne Mattila · @janne_mattila
3 followers · 7 posts · Server mas.to
Chris "$8 peasant" Jones · @cmsj
62 followers · 104 posts · Server mastodon.tenshu.net

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

gist.github.com/cmsj/d3de2a7e1



#linux #docker #scripting

Last updated 1 year ago

James and his Games · @james
35 followers · 428 posts · Server dice.camp

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

Last updated 1 year ago

FOSSlife · @fosslife
2052 followers · 218 posts · Server fosstodon.org
David Jones · @drj
384 followers · 3472 posts · Server typo.social

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 gitlab.com/drj11/script-glyphs

#kerning #glyphs #scripting

Last updated 1 year ago

SAPIENTech · @SAPIENTech
2 followers · 12 posts · Server techhub.social

The final article in our Builder Step-by-Step series shows you how to install Services on the target computer in the SAPIEN Script Packager's Installer.

sapien.com/blog/2023/08/15/msi

#msi #windows #sapientech #powershellstudio #primalscript #scriptpackager #pwsh #scripting

Last updated 1 year ago

scrufflepuff · @scrufflepuff
0 followers · 18 posts · Server social.vivaldi.net
scrufflepuff · @scrufflepuff
0 followers · 18 posts · Server social.vivaldi.net

@MatryoshkaLimit @qyyz @nixCraft I will have to look into this further. Anyone else have input? Thank you!

#linux #bash #scripting

Last updated 1 year ago

Chief Posh ☑ · @xeo
301 followers · 36 posts · Server dotnet.social

Ever wondered how objects are passed through the from function to function? I have posted this on a couple days ago, and think it explains the passthrough pretty well.

#powershell #pipeline #Discord #posh #pwsh #programming #shell #scripting

Last updated 1 year ago

Chief Posh ☑ · @xeo
301 followers · 35 posts · Server dotnet.social

A little explainatory sample i've posted to the other day, trying to explain how writing to the output stream works in

#Discord #powershell #posh #pwsh #programming #shell #scripting #pipeline

Last updated 1 year ago

Violetnred · @Violetnred
12 followers · 34 posts · Server mastodon.gamedev.place

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

Last updated 1 year ago

Ryan Rampersad · @ryanmr
99 followers · 1118 posts · Server mastodon.cloud

Does anyone have experience programmatically modifying settings on RT6600ax?

I'm hoping it's possible through a script or binary accessible through ssh shell.

#synology #networking #scripting #shell #firewall #security

Last updated 1 year ago

SAPIENTech · @SAPIENTech
2 followers · 12 posts · Server techhub.social

This next article in our Builder Step-by-Step series explains how to use custom actions with the SAPIEN Script Packager's Installer.

sapien.com/blog/2023/08/10/msi

#msi #sapientech #powershellstudio #primalscript #scriptpackager #pwsh #scripting

Last updated 1 year ago

SAPIENTech · @SAPIENTech
2 followers · 10 posts · Server techhub.social

The next article in our Builder Step-by-Step series explains how to use digital signatures in the SAPIEN Script Packager's Installer.

sapien.com/blog/2023/08/09/msi

#msi #sapientech #powershellstudio #primalscript #scriptpackager #pwsh #scripting

Last updated 1 year ago

SAPIENTech · @SAPIENTech
2 followers · 9 posts · Server techhub.social

Next up in our Builder Step-by-Step series we explain how to add shortcuts to your application in the SAPIEN Script Packager's Installer.

sapien.com/blog/2023/08/08/msi

#msi #sapientech #powershellstudio #primalscript #scriptpackager #pwsh #scripting

Last updated 1 year ago