Perl and Python are often compared to each other (let's not forget Ruby), and almost always those discussions will come to the conclusion pretty much anything you can do in one or the other. Without going into that, I've noticed that Python however, is often used as an implementation language (uhmm, maybe the term here is incorrect technically - a language you use to, for example, enable some degree of scripting in a large application ... Tecplot, Rhinoceros etc.; these are from the scientifi...| Recent Questions - Software Engineering Stack Exchange
Explainer videos are an essential marketing video to have. But what makes a good explainer video, and how do you even get started? Let us explain.| Wistia
Moving away from sparklines| wok
Learn how to use LunchBox's new Building Massing utilities to create accurate building massing schemes quickly.| PROVING GROUND
Many years back, Larry Wall shared his thesis on the nature of scripting. Since recently even Java gained 'script' support I thought it would be fitting to revisit the topic, and hopefully relevant to the perl and raku language community.| brrt to the future
Now, whether you choose to script out your episode in full before entering the studio, ad-lib on the spot, or go off of a simple episode outline, preparing for your podcast episode is a very useful first step. The post Taking it to the Next Level with a Killer Podcast Script appeared first on Spreaker Blog.| Spreaker Blog
Further chipping away at the backlog of new and updated with merged 200 PRs merged or closed. The new PR templates and automations are proving to be a big help! Many thanks Bart for working on thes…| Scripting OS X
Bitcrowdʼs custom approach on semi-automatic releases of our browser extension for Chrome and Firefox.| bitcrowd blog Blog
Welcome back! In Part 1, I showed you how I built a proof of concept to automate job applications using Python scripts. Now it's time for the fun part - turning those scripts into a proper application. Here's what I learned: the gap between "it's a w...| David Dodda
It's a guide to cron.| Moving Forward
If you are using awk with a relatively indexed NF variable (number of fields), and get an error like below, this is because the input being parsed does not have the number of fields expected. awk: run time error: negative field index $-1 The root problem is the awk expression was expecting a certain number ... Bash: resolving awk run time error, negative field index| fabianlee.org
Many years back, Larry Wall shared his thesis on the nature of scripting. Since recently even Java gained 'script' support I thought it wo...| brrt-to-the-future.blogspot.com
The openssl utility can be used to show the details of a certificate, including its ‘Not After’ expiration date in string format. This can be transformed into “how many days till expiration” with a bit of Bash date math. Create test certificate and key Using a line provided by Diego Woitasen for non-interactive self-signed certification ... Bash: calculating number of days till certificate expiration using openssl| Fabian Lee : Software Engineer
Windows PowerShell 5.1, the version that’s built into Windows, shipped back in 2016 with the release of Windows 10 1607 and Windows Server 2016, with support for older OSes back to Windows 7 …| Out of Office Hours
A recent scripting spike aimed at automating a workflow led me down a deeper rabbit hole: AppleScript/AppleEvents and Python GUI automations.| Atomic Spin
On a day-to-day basis, I’m working in Windows and Linux on various physical and virtual machines on my network, but no matter where I am, I’m usually in VS Code. I love Code’s extensions and integrated terminal, and it’s plenty enough IDE for me to get real work done in Python no matter which ecosystem I happen to be in. My favorite little timesaver in VS Code these days is right-clicking in the Explorer pane to “Copy path” for a file or directory. This small feature sparks a lot ...| texastim.dev
This post is mostly for my own use, but I figure some others might like it, too. You may have noticed that I have some nice code blocks in some of my posts. I may start with something like:| Mad Man with a Compiler
Every so often, I find that I need to script some network connection. For interactive jobs, the standard answer is to use 'telnet' with 'expect' to achieve this. Unfortunately, expect is often a major pain to work with. The obvious modern solution would be to use Python, but I haven't learned that yet. What I do know is Bash, and wouldn't it be cool to do this entirely in Bash? So to prove that this works, I decided to write a simple telnet client entirely in Bash. If I can write ...| Mad Man with a Compiler
One of the most powerful communications tools available is ssh. Pretty much the only version on Linux is OpenSSH, and most of the versions I've come across on other platforms are derived from it. I assume you know that, and I assume you also know that the best way to use it is with pre-shared keys so that you don't have to worry about passwords. Unfortunately, that isn't always an option.| Mad Man with a Compiler
This post describes the setup of some convenient features that I deployed for the NAS, to automatically save power, make it wake up and mount it on the client only when needed.| Jake’s Blog
Why is it always Stackoverflow!?| OVERHEAD Blog
A way to handle multi-line input while tracking the line’s index.| OVERHEAD Blog
How to programmatically generate PPM files to be converted into PNG images.| OVERHEAD Blog
It really doesn’t need to be as complicated, or as inefficient, as most make it seem.| OVERHEAD Blog
As I mentioned in my last post, Pelican is the tool I now use to generate all the static HTML files that make up this site. Pelican allows me to write posts using either Markdown or reStructuredText and can utilize a large variety of plugins written in Python. There are a number of blogging platform similar to Pelican like Octopress and Jekyll (upon which Octopress is based), but Pelican was the most fully-featured platform that is also written in a language I'm very comfortable with. One of ...| Cyrozap's Tech Projects
Recently I needed to parse some data embedded in HTML. At first glance it appeared to be JSON, so after pulling the text out of…| GrimBlog
Linux Shell Script In Linux, process automation relies heavily on shell scripting. This...| Goglides Dev 🌱
The first action you typically take after “git clone” is to change into the newly created directory. This can be accomplished at the Bash shell in a couple of ways. Here is the git URL we will use as an example for this article. # can be https or ssh, can end in .git or ... Bash: change into directory just created with git clone| Fabian Lee : Software Engineer
A simple grep can help you recursively search for a substring in all the files of a directory. Here is an example of looking for multi-doc yaml files: # recursively search directory, looking for line '---' # regex: caret means line starts with, dollar sign mean line ends with grep -sr '^---$' If you have ... Bash: counting number of times substring is found in directory| fabianlee.org
Listing all the pods belonging to a deployment can be done by querying its selectors, but using the deployment’s synthesized replicaset identifier allows for easier automation. # deployment name and namespace deployment_name=mydeployment deployment_ns=mynamespace # get replica set identifier for deployment dep_rs=$(kubectl describe deployment $deployment_name -n $deployment_ns | grep ^NewReplicaSet | awk '{print $2}') # get ... Kubernetes: list all pods in deployment| Fabian Lee : Software Engineer
Not so long ago I helped create a game called Ancient Forest and Grumpy Monsters. We wanted a very easy way of creating levels for our game, and so one of our programmers named Colton created a very useful map editor, which we actually shipped along with our final product for consumer use. However our team also wanted a way to create interactive events within the levels without writing a lot of repetitive C code. The goal was to create something that would also potentially allow consumers to ...| Randy Gaul's Game Programming Blog
It looks like getting back all the script content in Intune is of high interest 😉, soon after I published how to get back your Proactive Remediation Scripts, I got another request for the Intune Win32 Application scripts (Detection and Requirement scripts). So here we go, another small script to get back all the Win32…| Modern IT – Cloud – Workplace
One of my blog readers kindly asked if I can provide a similar script like the one downloading all Intune PowerShell scripts for the Proactive Remediation Scripts. I’m happy to provide a modified version of my script to do exactly this. It uses the same technique as I used in my old script. There are…| Modern IT – Cloud – Workplace
Today I’m going to show how we can achieve user device affinity with Intune application deployment as known from ConfigMgr. When we are going to deploy applications to users, we are independent of the user’s devices. The application belongs to a user and it can be installed or it gets automatically installed on all his…| Modern IT – Cloud – Workplace
If you deliver a concept of a modern managed Windows 10 desktop managed with Intune, you take care of security settings and necessary Windows configurations. One part of the important configurations, beside security settings, are the small corporate identity things like corporate logon screen or corporate wallpaper. I’m totally okay with the option in Intune…| Modern IT – Cloud – Workplace
This post is mainly to remind myself how to do this when I inevitably forget in a year or two and want to integrate data from a Google Calendar into a project. There are quite a few steps, but it’s pretty straightforward once you know what to do. As with most programming, there are many other ways of acheiving the same thing, but I won’t be exploring any of them, other than the one that worked for me. All the information here is already out there, but it’s broken into pieces – I could...| Naich's crappy blog
Tips and tricks for using JC interactively, in scripts, and in automation. In Part 2 we look at using JC to parse URLs, POSIX paths, and git log output.| Brazil's Blog
Tips and tricks for using JC. In Part 1 we look at using JC as a Subnet Calculator, for exploring X.509 certificates, and for converting dates and timestamps.| Brazil's Blog
Shell Locality| The Grumpy Troll
If you’re suffering from error messages like the one above after upgrading to Mojave, welcome to macOS’s new “User Data Protections”. In this post we’ll explain what they are and how to deal w…| applehelpwriter.com
My Shell Scripts| Nix, Scripts, and Documentation
I have a jumpbox that I use to access resources in the cloud – and I use it at work, only during work hours and only on workdays. There are usually 720 work hours in the month or 744 in months that have 31 days. Assuming that I want to run the instance for 12 hours a day and for 5 days a week. In order to calculate how many hours exactly – we will need an example.| Technodrone
Whenever someone asks me what tools do you use to provision your infrastructure within AWS - the answer is it can be done with a variety of tools - but people usually use one of the following three CloudFormation Terraform Ansible The next question that comes up of course - is which one is easier/better to use? The answer of course (as always..) is - “It Depends”. There are really good reasons to use each and everyone of the tools.| Technodrone
The feedback I received from the first comparison was great – thank you all. Obviously the example I used was not really something that you would use in the real world – because no-one actually creates a only a VPC – and does not create anything inside it, that is pretty futile. So let’s go to the next example. The scenario is to create a VPC, with a public presences and a private presence.| Technodrone
A simple Python script that can be used to brute force the password of a password protected PDF file.| i break software - My work with different software, bug hunting and interesti...