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 July, 2019

DTW-DanWard/PowerShell-Beautifier: A whitespace reformatter and code cleaner for Windows PowerShell and PowerShell Core

Posted by jpluimers on 2019/07/23

Interesting tool: DTW-DanWard/PowerShell-Beautifier: A whitespace reformatter and code cleaner for Windows PowerShell and PowerShell Core

–jeroen

via: [WayBack] Is there a PowerShell code formatter / pretty printer? – Stack Overflow

Posted in CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Leave a Comment »

CAA Mandated by CA/Browser Forum | Qualys Blog

Posted by jpluimers on 2019/07/22

[WayBack] CAA Mandated by CA/Browser Forum | Qualys Blog

Certification Authority Authorization (CAA), specified in RFC 6844 in 2013, is a proposal to improve the strength of the PKI ecosystem with a new control to restrict which CAs can issue certificates…

Related:

–jeroen

Posted in Conference Topics, Conferences, DNS, Encryption, Event, HTTPS/TLS security, Internet, Power User, Security | Leave a Comment »

UPC Cable Modem / Ziggo Connect Box / Compal CH7465LG · Issue #122 · reverse-shell/routersploit

Posted by jpluimers on 2019/07/22

I wonder if this one is still exploitable: UPC Cable Modem / Ziggo Connect Box / Compal CH7465LG · Issue #122 · reverse-shell/routersploit

–jeroen

Posted in Power User, Security | Leave a Comment »

4045348048198 – 500 Sheets A4 80 GSM 4 Hole Punched White Multiuse – MERCATEO.nl

Posted by jpluimers on 2019/07/22

This is about half of what Staples itself charges: [WayBack] Staples Multiuse Multifunctioneel Papier voor Laser en Inkjet, A4 80 g/m² Wit | Staples®

Amazon.de sells it too, but it does not ship to The Netherlands: [Archive.isSTAPLES Multifunktionspapier multiuse, A4, 80 g/m², 4fach Lochung, weiß (500 Blatt): AmazonSmile: Bürobedarf & Schreibwaren

There is the same from Xerox: [WayBack] Kopierpapier Business weiß 4x gelocht 80g/qm A4 VE=500 Blatt bei Mercateo günstig kaufen also available on Amazon.de: [Archive.isXerox Business 003R91823 Multifunktionspapier 80 g/m² 4-fach gelocht 500 Blatt pro Ries Format A4 1 Ries weiß: AmazonSmile: Bürobedarf & Schreibwaren

However, the Xerox 003R91823 from Amazon is just ONE pack, not 5 packs!

Edit 20210314

Easier to find this in The Netherlands with this phrase: [Wayback] a4 papier 4gt – Google Search

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

RP-SMA dummy loads for nonadjustable WiFi devices and Adjust Fritz!Box WiFi power – via Knowledge Base | AVM International

Posted by jpluimers on 2019/07/19

Via [WayBack] Knowledge Base | AVM International:

3 Setting the maximum transmitter power

  1. Click “Wireless” (“WLAN”) in the FRITZ!Box user interface.
  2. Click “Radio Channel” in the “Wireless” (“WLAN”) menu.
  3. If the option “Set radio channel settings automatically (recommended)” is enabled, proceed with the following section.
    • If the option “Adjust radio channel settings” is enabled:
      1. Click “Additional settings”.
      2. Select “100%” from the drop-down list “Maximum transmitter power”.
      3. Click “Apply” to save the settings.
For me, having minimal power was important since every now I needed to be able to connect to it, but only when I was in close proximity.

Hence the settings below: 6% Maximum transmit power is the lowest I could set.

For devices that cannot adjust their antenna output power which have RP-SMA connectors, I bought these to effectively throttle them:

Read the rest of this entry »

Posted in Fritz!, Fritz!Box, Internet, Power User | Leave a Comment »

Technical debt: “taking shortcuts leads to long-term bleeding…”

Posted by jpluimers on 2019/07/19

From a while ago:

Just tried to explain technical debt: “taking shortcuts leads to long-term bleeding.”

[WayBack] – Jeroen Wiert Pluimers – Google+

–jeroen

Posted in Development, Software Development, Technical Debt | Leave a Comment »

Many words to use instead of “very” in English – ESL Buzz, ProofReadingServices

Posted by jpluimers on 2019/07/19

Speaking English as second language often makes me search for accurate words. I’ve noticed that even a lot of native English speakers use “very” too often as usually better words exist.

These two pages have lots of replacements of “very …” combinations into a single word, with infographics and even poster size materials:

Found after searching the source of [WayBack] Try these words in your next Email – I’m Programmer.

Deciding which replacement to use, or to stay with “very” depends on who you are communicating with, as the counter example at [WayBack] Communicating Compassionately with Non-Native English Speakers; Taming the Steamroller – Molly Clare Wilson – Medium shows (thanks Kristian Köhntopp for attending me to that).

–jeroen

Via:

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

delphi – How to hide the inherited TObject constructor while the class has overloaded ones? – Stack Overflow

Posted by jpluimers on 2019/07/18

Interesting, need to try this one day to see how well this works so the base constructor TObject.Create cannot be called.[WayBack] delphi – How to hide the inherited TObject constructor while the class has overloaded ones? – Stack Overflow

–jeroen

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

How to support full Unicode in MySQL databases · Mathias Bynens

Posted by jpluimers on 2019/07/18

TL;DR: use the MySQL utf8mb4 character set and convert any MySQL utf8 character set as those are not UTF-8.

The source describes how: [WayBackHow to support full Unicode in MySQL databases · Mathias Bynens

–jeroen

Via: [WayBack] ‪#MySQL’s ##UTF8 of course isn’t UTF8. ##WheresMySurprisedFace – Jan Wildeboer – Google+

 

Posted in Database Development, Development, MySQL | Leave a Comment »

PowerShell: Format-Table to show all columns/members

Posted by jpluimers on 2019/07/18

I’m not even sure if I’ve posted this before, but I always forget how to show all members (or columns) using Format-Table.

It’s dead easy: -Property *

Get-ChildItem | Format-Table -Property *

Later I found out this is equivalent with the shorter version where you omit the -Property part which I wrote about in [WayBackPowerShell: when Format-Table -AutoSize displays only 10 columns and uses the width of the console when redirecting to file.

So you can shorten the above to:

Get-ChildItem | Format-Table *

It has way more columns than this:

Get-ChildItem | Format-Table

The extra members in both marked with *:

  • PSPath
  • PSParentPath
  • PSChildName
  • PSDrive
  • PSProvider
  • PSIsContainer
  • BaseName
  • Mode *
  • Name *
  • FullName
  • Parent
  • Exists
  • Root
  • Extension
  • CreationTime
  • CreationTimeUtc
  • LastAccessTime
  • LastAccessTimeUtc
  • LastWriteTime *
  • LastWriteTimeUtc
  • Attributes

The odd thing: one property fails in the -Property * table:

  • Length

I tracked this down to how -Property * works: it takes the first entry in the list. If that is not a file, then it has no Length property: [WayBackpowershell – Measure-Object : The property “length” cannot be found in the input for any objects – Stack Overflow.

Note that for a GUI version, you can replace Format-Table with Out-GridView. See

-jeroen.

Posted in CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Leave a Comment »