We take a look at some of the initial configuration you should do when spinning up a new Debian 12 server that is connected to the internet to harden it against common attacks. The list of actions is in no way exhaustive. Depending on what you are hosting there are further actions to take.
claw0ry.net
Hi, my name is Mads! *waves*
I'm a developer and Linux enthusiast from Norway. I mainly use this site as a personal reference, cause my brain too smol. Maybe you'll find something interesting too.
- I grew up on the internet with Linux and open source in the early 2000s.
- I believe the tech world has become to overengineered, abstracted and complicated.
- I'm always searching for a deeper knowledge on how things work.
Bluesky: claw0ry.net
* Get Array of Unique Objects in Servicenow
There’s no secret that the Javascript support (serverside) in ServiecNow is lacking. And today I came across another little quirk. In ServiceNow we have the ArrayUtil.unique()
to get an Array of unique values, but this does not support objects. Neither does ServiceNow support Map()
or Set()
on the serverside, so here’s a little snippet to filter an array of objects and receive unique objects based on a object key
.
* Linux Basics
This is a very brief introduction to working with Linux on the command line. It’s a collection of commands and tips&tricks that I have collected through out my Linux journey. Some of it spesific to Debian derivatives. Maybe you find something usefull too. I will probably update this from time to time. You can look at the history if you want to see whats changed.
* Copy to Clipboard in Servicenow
Recently I was asked to find a way for users to easily create a string consisting of the task number and short description that they could paste into the time management software. In this short article we’re going to take a look at how we can copy something to your system clipboard from a UI Action in ServiceNow.
* Golang: Azure Functions Blob Storage Output Binding
Lately, I’ve been setting up an Azure Function App with a custom handler written in Go. One of my functions needs to download a file from an external URL and then upload that file to Azure Blob Storage. Unfortunately, neither the documentation on Microsoft Learn or the examples on Github mentions how to use Blob Storage as output binding for custom handlers. So I decided to do a little write up on how I solved it.