The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for March, 2023

linux – Newline-separated xargs – Server Fault

Posted by jpluimers on 2023/03/07

A long time ago, on just one system, I forgot which one, I needed explicit [Wayback/Archive] linux – Newline-separated xargs – Server Fault.

The simple solution was to replace the newline with null before running xargs:

tr '\n' '\0'

The clean solution was to install [Wayback/Archive] gnu xargs:

GNU xargs (default on Linux; install findutils from MacPorts on OS X to get it) supports [Wayback/Archive] -d which lets you specify a custom delimiter for input, so you can do

ls *foo | xargs -d '\n' -P4 foo 

–jeroen

Posted in *nix, *nix-tools, bash, Development, Power User, Scripting, Software Development, xargs | Leave a Comment »

UniFi – Install a UniFi Cloud Controller on Amazon Web Services – Ubiquiti Networks Support and Help Center

Posted by jpluimers on 2023/03/06

I was not aware you could this: [WayBack] UniFi – Install a UniFi Cloud Controller on Amazon Web Services – Ubiquiti Networks Support and Help Center

Giving it a bit more thought, I’m not sure I would want this, as it would presume you have an internet connection that is up on the WAN side.

You’d need this before installing any of your Unify equiment, even when installing your first Unify router, which would mean a chicken and egg problem.

Also it would mean you can only use the cloud key when the WAN is down, you cannot use the cloud-key, not even locally.

–jeroen

Posted in Cloud Key, Network-and-equipment, Power User, Unifi-Ubiquiti | Leave a Comment »

Hapy Wiert/Weird Pride Day – #WeirdPride – #WeirdPrideDay

Posted by jpluimers on 2023/03/04

Be weird, be happy, be proud!

Today is already the 3rd edition of what in 2021 was announced as [Wayback/Archive] Weird Pride Day. The first ever Weird Pride Day is this… | by Oolong | Medium

Many people need desperately to receive this message: ‘I feel and think much as you do, care about many of the things you care about, although most people do not care about them. You are not alone.’
– Kurt Vonnegut, Timequake

Be safe, be kind, be weird.

–jeroen

Posted in Awareness, Inclusion / inclusive society | Leave a Comment »

English time @engIishtime on Twitter with AltTextCrew alt-text: INFORMAL versus FORMAL English terms

Posted by jpluimers on 2023/03/03

[Archive] Alt Text Crew on Twitter: “@jpluimers Repost parent tweet with extracted text in image descriptions https://t.co/OETTugffrm” / Twitter

INFORMAL FORMAL find out ascertain free release obtain get get in touch with contact It concerns purchase It's about buy keep leave out let retain omit permit examine look at make up fabricate need to required point out put off put up rack up ring up indicate delay tolerate accumulate call orry apologise appear establish seem set up show illustrate show up stand for arrive represent start commence think about consider

The original tweet [Archive] did only contained the image, so here is the OCR of the text:

INFORMAL FORMAL
find out ascertain
free release
get obtain
get in touch with contact
It’s about It concerns
buy purchase
keep retain
leave out omit
let permit
look at examine
make up fabricate
need to required
point out indicate
put off delay
put up tolerate
rack up accumulate
ring up call
orry apologise
seem appear
set up establish
show illustrate
show up arrive
stand for represent
start commence
think about consider

–jeroen

Posted in LifeHacker, Power User, SocialMedia, Twitter | Leave a Comment »

Canarytokens

Posted by jpluimers on 2023/03/02

Cool: [Wayback/Archive] Canarytokens

Canary tokens are a free, quick, painless way to help defenders discover they’ve been breached (by having attackers announce themselves.)

How tokens works (in 3 short steps):

  1. Visit the site and get a free token (which could look like an URL or a hostname, depending on your selection.)
  2. If an attacker ever uses the token somehow, we will give you an out of band (email or sms) notification that it’s been visited.
  3. As an added bonus, we give you a bunch of hints and tools that increase the likelihood of an attacker tripping on a canary token.

The above documentation is just a small portion of what is at [Wayback/Archive] Canarytokens.org – Quick, Free, Detection for the Masses with even more documentation starting at [Wayback/Archive] Introduction | Canarytokens.

Source code (either the site or a docker image):

It is provided by [Wayback/Archive] Thinkst Canary.

I learned it at the height of the Log4Shell mitigation stress. Some related posts from that period:

Via: [Archive] ᖇ⦿ᖘ Gonggrijp on Twitter: “IP in Luxembourg, owned by Frantech Solutions from Cheyenne, WY. Judging from a quick round of Google appears to be a bulletproof VM hoster, with clients to match. ” / Twitter

Below image via [Wayback/Archive] Tweet2Img.com | Perfect Tweet screenshots with just one click

jeroen

Posted in Power User, Security | Leave a Comment »

Programming is hard; Peanut Butter and Jelly Sandwich: Exact Instructions Challenge – THIS is why my kids hate me. | Josh Darnit – YouTube

Posted by jpluimers on 2023/03/01

[Archive.is] Exact Instructions Challenge – THIS is why my kids hate me. | Josh Darnit – YouTube

We asked the kids to write instructions for a simple task but left out that we were going to be following their instructions EXACTLY as written. Great lesson for communication and a fun practice in patience!

Via [Archive] Maarten van Smeden on Twitter: “This is why programming is an acquired skill ” / Twitter

Q

It spurred all kinds of reactions about software development, like that programming should read like poetry, software development is about slowing down your thoughts, and that some high schools and some universities do this experiment at the start of their software development curriculum.

This is a cool experiment to do, even outside the USA, as many countries or regions have their own sandwich style, some of which are way harder to make than PB&J (:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, Event, Software Development | Leave a Comment »