In building this patch management application, I was having a hard time trying several ways to compare a dictionary of the names of packages to another of the name of software titles.
telnet host-to-test 25 (connect to port 25 on mail server)HELO sending-hostMAIL FROM: firstname.lastname@example.orgRCPT TO: email@example.comDATA(enter one blank line after DATA) Subject: test To: to-user From: from-user (enter one blank line after From:) test text for email .
Kept getting this message on my work MBP: Then found that there was a folder called ‘cores’ that was full of 278GB of dumps!
This will be an ongoing series of stuff I learn or find interesting and helpful lambda: This just opened up a whole new world!
I wrote a quick Python script to upload patch definitions hosted the external patch server by Bryson Tyrell for use with Jamf Pro’s patch management.
[This is a work in progress and will be added to as I go!] I have been using Docker to containerise some small services that don’t need their own VMs but if I don’t touch them for a week or so, I forget the commands to manage them!
Every time I write a Bash script that loops through something, I test printing out the variable and it always splits the spaces across new lines so an app named ‘jHelper GUI 1.0.app’ ends up as: jHelper GUI 1.0.app The thing I keep forgetting to sort this is IFS!