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,854 other subscribers

Author Archive

Terminating a script in PowerShell – Stack Overflow

Posted by jpluimers on 2021/11/03

I have the same problem mentioned in the answer to [WayBack] Terminating a script in PowerShell – Stack Overflow: confused by most answers, and keeping to forget what each method means (there is Exit, Return, Break and (if you love exception handling to do simple flow control), Throw.

So here is the full quote of what [WayBack] User New Guy answered:

Read the rest of this entry »

Posted in *nix, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Leave a Comment »

Some links on SMTP tar-pit to lessen SPAM

Posted by jpluimers on 2021/11/03

Some links for my archive; note that pure tar-pits by now are also hampering large email sender services like SendGrid, Mailgun and Amazon SES.

So the below links are for educational and historic purposes only.

I assembled these links because out of a sudden, Ring 2FA verification emails could not be delivered any more.

Ring 2FA came mandatory towards the end of February 2020.

Some links on that:

Sendmail timeouts:

–jeroen

Read the rest of this entry »

Posted in *nix, Communications Development, Development, HIS Host Integration Services, Internet protocol suite, Power User, SMTP | Leave a Comment »

Word for Mac 2011: create macro or shortcut to ‘Insert Picture – Microsoft Community

Posted by jpluimers on 2021/11/02

As it combines VBA and AppleScript, I might need the script from this in the future [WayBack] Word for Mac 2011: create macro or shortcut to ‘Insert Picture – Microsoft Community.

–jeroen

Posted in Development, Office, Office 2011 for Mac, Office Automation, Office VBA, Scripting, Software Development | Leave a Comment »

Developing with microservices…

Posted by jpluimers on 2021/11/02

Maybe I laughed a little bit too loud (:

Via: [Archive.is] Kenji Matsuoka on Twitter: “Have you seen this gem? … “

–jeroen

Read the rest of this entry »

Posted in Development, Micro Services, Software Development | Leave a Comment »

In case I ever need to jail-break a Mikrotik device

Posted by jpluimers on 2021/11/02

Some links in case I ever need to jail-break a Mikrotik device:

–jeroen

Posted in Development, Internet, MikroTik, Power User, routers, Software Development | Leave a Comment »

Frontiers | Autism, Joint Hypermobility-Related Disorders and Pain | Psychiatry

Posted by jpluimers on 2021/11/01

For my link archive:

Autism Spectrum Disorder (ASD) and Joint Hypermobility-Related Disorders are blanket terms for two etiologically and clinically heterogeneous groups of pathologies that usually appears in childhood. These conditions are seen by different medical fields, such as psychiatry in the case of ASD, and musculoskeletal disciplines and genetics in the case of hypermobility-related disorders. Thus, a link between them is rarely established in clinical setting, despite a scarce but growing body of research suggesting that both conditions co-occur more often than expected by chance. Hypermobility is a frequent sign of hereditary disorders of connective tissue (e.g. Ehlers-Danlos syndromes, Marfan syndrome), on which the main characteristic is the multisystem fragility that prone to proprioceptive and motor coordination dysfunction hence to trauma and chronic pain. Considering the high probability that pain remains disregarded and untreated in people with ASD due to communication and methodological difficulties, increasing awareness about the interconnection between ASD and hypermobility-related disorders is relevant, since it may contribute to identify those ASD patients vulnerable to suffer from pain.

[WayBack] Frontiers | Autism, Joint Hypermobility-Related Disorders and Pain | Psychiatry

Via: [WayBack] Autist Making Way onTwitter: “there’s not a ton of research, but anecdotally there does seem to be a link: … “

–jeroen

Read the rest of this entry »

Posted in About, Personal, Power User | Leave a Comment »

Aangifte erfbelasting 2021 (pdf)

Posted by jpluimers on 2021/11/01

Voor mijn linkarchief, want ik moet indienen de [Wayback/Archive.is] Aangifte erfbelasting 2021 (pdf):

Downloaden

De meeste mensen doen online aangifte erfbelasting

Online aangifte doen op Mijn Belastingdienst heeft veel voordelen. U kunt:
  • gegevens invullen voor meerdere erfgenamen
  • meerdere onroerende zaken, bankrekeningen of leningen invullen
  • meteen zien welke vragen voor u van belang zijn
  • uw gegevens tussendoor opslaan
    Een andere dag verder? Geen probleem. Alles wordt bewaard.

Retouradres

Stuur het ingevulde en ondertekende formulier naar:

Belastingdienst/kantoor Eindhoven
Antwoordnummer 14660
5600 WK  Eindhoven

Online zit er waarschijnlijk niet in, want rondje rechtbank vanwege curatele.

–jeroen

Posted in About, LifeHacker, Personal, Power User | Leave a Comment »

NTLM proxy authentication and Dropbox: need to try NTLMAPS and cntlm

Posted by jpluimers on 2021/11/01

Interesting:

Some corporate networks are behind HTTP proxy servers that use NTLM authentication. Dropbox currently doesn’t support this kind of proxy authentication. However, some users have reported some success using an intermediate proxy, such as [WayBack] NTLMAPS or [WayBackcntlm, to get Dropbox running on their network.

This article explains steps on various systems to install proxies that support NTLM authentication: [WayBackAllow Dropbox to Authenticate With a NTLM Proxy Server – The Unofficial Dropbox Wiki.

Need to try these. Maybe they work for Copy.com too (:

Some other links around HTTP Fiddler that might be relevant:     Read the rest of this entry »

Posted in Cntlm, Copy.com, DropBox, NTLM, Power User, SocialMedia, Windows, Windows-Http-Proxy | Leave a Comment »

During next night, it is time to move the clock, hopefully for the last time

Posted by jpluimers on 2021/10/30

Wasn’t the European Union going to stop moving clocks twice a year? Yup, as of it 2021 it should have stopped with the [Wayback] Seasonal clock change in the EU | Mobility and Transport.

But then Brexit came along, followed by Covid-19, and earlier 2021, this happened: [Wayback] Clock stops on EU plan to scrap daylight savings time

Contentious move to abolish mandatory seasonal clock changes ‘not top priority now’

So tomorrow it is winter time again, and we need to move the clock, hopefully for the last time, but  hopefully not like in the mirror of the Dutch comic DirkJan – Wikipedia by [WayBackAnnelies Hofstede on Twitter: “… “, which is done transitioning to Winter time – Wikipedia:

This is the original summer time version of the DirkJan comic:

Background information and similar comics are at Likely the end of a tradition… ᴊᴏᴏsᴛ su Twitter: “Dear Mr. Juncker, you may not know this but here in Holland we have Dirk-Jan and it is tradition to read this comic twice a year don’t take this away from us it’s the only non-racist tradition we have!!!! Please!!!!!…”.

–jeroen

Posted in Fun, LifeHacker, Power User | Leave a Comment »

Windows: unblocking SMB/NetBIOS/CIFS/File-and-Printer-sharing traffic from other subnets

Posted by jpluimers on 2021/10/29

If you enable File and Printer sharing on Windows, by default the firewall only enables it on private networks for the local subnet as remote address (for domain networks, it allows “Any”) as seen on the picture below.

When your network consists of multiple subnets, for instance when it is large, or multiple sites are connected via site-to-site VPN (often called LAN-to-LAN VPN) solutions, then these subnets cannot access each others files or printers.

Realising these default blocks, they are easy to resolve as explained in for instance [WayBack] Windows firewall blocking network shares through VPN server – Server Fault by [WayBack] Brian:

I realize this is almost three years late, but I just spent today fighting with the same problem. I did get it working, so I figured I’d share. Note that I’m using a Windows 7 PC as the file server; other versions might need slightly different configuration.

In the “Windows Firewall with Advance Security”, there are several “File and Printer Sharing” rules:

  • File and Printer Sharing (NB-Datagram-In)
  • File and Printer Sharing (NB-Name-In)
  • File and Printer Sharing (NB-Session-In)
  • File and Printer Sharing (SMB-In)

(There are additional rules, but I didn’t care about printer sharing. The same changes would apply if you want those.)

File and Printer Sharing appears to default to “Local subnet” only. You’ll need to add the subnet of your VPN clients.

Modify each of those rules as follows:

  1. Open the Properties dialog for the rule.
  2. Navigate to the Scope tab.
  3. In the Remote IP address section, the “These IP addresses” radio button should be selected.
  4. Click “Add…” next to the list of addresses. By default, only “Local subnet” is in the list.
  5. In the “This IP address or subnet:” field, enter the subnet assigned to your VPN clients (this is probably 192.168.1.0/24 in the OP, but if not, it’s the subnet assigned to the VPN adapter on the client side), then click OK.
  6. If you’re also using IPv6, add the VPN client IPv6 subnet as well.

That was enough for me to access file shares over the VPN.

(If you want to do it manually, you need to open TCP ports 139 and 445, and UDP ports 137 and 138, in the file server’s firewall.)

Hopefully I will find some time in the future to automate this using PowerShell, as netsh names are localised do hard to make universal.

These links might help me with that:

Read the rest of this entry »

Posted in Communications Development, Development, Internet protocol suite, Power User, SMB, TCP, Windows | Leave a Comment »