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 August, 2021

Windows 10: quickly view Settings -> Printers no matter the installed language

Posted by jpluimers on 2021/08/23

From Windows 8 on, Microsoft has been pushing more and more stuff to the App UI (sometimes called Immersive User Interface).

By default they are only easily accessible from the search feature from the “Start” button or “Search” pane in the task bar.

This is cumbersome or even problematic when you have to remember the correct terms over many localisations.

In the past you could run this from the command prompt or Windows+R keyboard shortcut “Run” pop-up:

control printers

This does not work however in either of the two:

settings printers

This works from the Windows+R keyboard shortcut “Run” pop-up:

ms-settings:printers

This works from the command prompt:

start ms-settings:printers

The difference is that with control , it will eventually find control.exe on the path, but ms-settings: is the scheme bit of an URI. The start command can handle this, the plain command-line cannot.

What in fact happens is that the URI scheme handler, will have a Windows Service (which runs under NT AUTHORITY\SYSTEM) start "C:\Windows\ImmersiveControlPanel\SystemSettings.exe" -ServerName:microsoft.windows.immersivecontrolpanel under your current user.

List of Settings URIs

Next to a List of applications behind the various control panel links – via “Stop user access to control panel”, below is a list of Settings URIs.

The below list is from [WayBack] The list of Settings pages URIs (ms-settings) in Windows 10 , but misses ms-settings:printers.

Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 8, Windows 8.1 | Leave a Comment »

The Windows key has no Unicode equivalent, so use ⊞ like Wikipedia and many others do

Posted by jpluimers on 2021/08/23

lFor Mac keyboard keys, almost all (except the old solid and open Apple logo’s) have a Unicode code point, see for instance the modifier keys from the [WayBack] List of Mac/Apple keyboard symbols · GitHub (the “Alt” column has a solid Apple logo in the bottom right; on non-Mac systems it will look differently as it is in the Unicode private range: [WayBack] Unicode Character ” (U+F8FF): ‘<Private Use, Last>’):

Sym Key Alt
Control
Option
Shift
Command

These are the code points for the “Sym” column:

Keys on many platforms

Read the rest of this entry »

Posted in Microsoft Surface on Windows 7, Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows 95, Windows 98, Windows NT, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Vista, Windows XP | 1 Comment »

Chur is not just a city in Switzerland (:

Posted by jpluimers on 2021/08/20

Thanks [WayBack] David Clegg on Twitter: “www.slang.co.nz/c/chur”

[WayBack] Chur – Kiwi Slang Dictionary

Definition of ‘Chur’

Chur

nounThanks, cool, sweet as (there are many usages)

Example of ‘Chur’

– Can I please have some more chips?
– Yup, here.
– Chur!

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

Favourite Shortcut Key? (Soundcheck Question) – Computerphile – YouTube

Posted by jpluimers on 2021/08/20

Still a cool video. Many shortcuts for various operating systems and machines, including BBC B, Linux, Windows, and MacOS.

–jeroen

Read the rest of this entry »

Posted in *nix, 6502, Apple, BBC Micro B, History, Linux, Mac OS X / OS X / MacOS, Power User, Windows | Leave a Comment »

KIX-code: informatie en downloaden | PostNL

Posted by jpluimers on 2021/08/20

PostNL maakt bij de sortering van post gebruik van een streepjescode: de KIX (KlantIndeX). Deze code voegt u toe aan de adresgegevens. De KIX bevat de gegevens die wij nodig hebben om uw post met de modernste sorteermachines te verwerken. Door de KIX bij het adres af te drukken helpt u ons om de kwaliteit van de dienstverlening te verbeteren.

Note that in order to install the KIX font on macOS/OS X/Mac OS, you

  1. need [WayBack] StuffIt Expander – Wikipedia from the app store at [Archive.is] ‎StuffIt Expander 16 on the Mac App Store.
  2. uncompress KIX-font-barco-sit-PostNL_tcm10-12655.zip (see link below) into KIX-Barcode.sit StuffIt archive
  3. uncompress KIX-Barcode.sit to the KIX-Barcode Font Suitcase
  4. install KIX-Barcode using steps from [WayBack] How to install and remove fonts on your Mac – Apple Support
    1. Double-click the font in the Finder
    2. Click Install Font in the font preview window that opens.
    3. After your Mac validates the font and opens the Font Book app, the font is installed and available for use.

    More on FontBook at [WayBack] Welcome to Font Book on Mac – Apple Support.

Read the rest of this entry »

Posted in Font, KIX Font PostNL, LifeHacker, Power User | Leave a Comment »

Windows chocolatey Wireshark install: ensure you install nmap too, so you have a pcap interface for capturing!

Posted by jpluimers on 2021/08/19

Wireshark is indispensable when doing network communications development or DevOps.

This is my choco-install-network-tools.bat batch file to install Wireshark and the pcap dependency which nmap provides:

choco install --yes nmap
:: wireshark requires a pcap for capturing; nmap comes with npcap which fulfills this dependency
:: see:
:: - https://chocolatey.org/packages/wireshark
:: - https://chocolatey.org/packages/win10pcap
:: - https://chocolatey.org/packages/WinPcap
:: - https://chocolatey.org/packages/nmap
choco install --yes wireshark

Yes, I know: Windows Subsystem for Linux could have an easier installation, but the above:

See:

–jeroen

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, nmap, Power User, Software Development, Windows, Windows 10, Windows 8.1, WSL Windows Subsystem for Linux | Leave a Comment »

A storage history thread by @Foone: from USB Floppy drive back to Shugart via UFI/ATAPI/SCSI and everything in between

Posted by jpluimers on 2021/08/19

Quite some interesting bits in [WayBack] Thread by @Foone: “So if you want to use a USB floppy drive, you use a USB protocol called the UFI: Uniform Floppy Interface. What’s UFI? A way to embed ATAPI […]”

Via [WayBack] Kristian Köhntopp on Twitter: “PC Hard drive and floppy disk interfaces, and the people and companies that made them.”

https://twitter.com/isotopp/status/1174609922316783616

–jeroen

Read the rest of this entry »

Posted in Development, Hardware Development, History, Power User | Leave a Comment »

html – How can I scale the content of an iframe? – Stack Overflow

Posted by jpluimers on 2021/08/19

I used [WayBack] html – How can I scale the content of an iframe? – Stack Overflow as starting point to scale some iframes.

In my case, I had to scale up (by a 25% so a factor 1.25) instead of scale down.

What I observed so far in recent Chrome versions is:

  1. The wrapping div is still needed, otherwise the outer size and inner size of the frame mismatches
  2. The wrapping div and the wrapped iframe need to have the same dimensions (so unlike the Stack Overflow answers, no need to scale the width/height of the div; keep the same values as the iframe)

The div uses class calendar_wrap.

The iframe uses class calendar_iframe.

This is part of my CSS:

body {
      margin: 0; /* override browser setting for body `margin: 8px;` */
      overflow: hidden; /* remove scroll bars; does not work for iframes  */
    }

    /* ... */

    iframe {
      border-width: 0; /* override browser setting for iframe `border-width: 2px; */
      height: 100vh;
      width:   50vw;
      overflow: hidden; /* remove scroll bars; does not work for iframes  */
    }

     /* wrap and iframe zoom as per https://stackoverflow.com/questions/166160/how-can-i-scale-the-content-of-an-iframe */
    .calendar_wrap {
      float: left;

      height: 70vh;
      width:  35vw; /* calc(35vw / 1.25); */

      padding: 0;
      background-color: blue;
    }

    .calendar_iframe {
      float: left;

      width:  35vw;

      -ms-transform: scale(1.25);
      -moz-transform: scale(1.25);
      -o-transform: scale(1.25);
      -webkit-transform: scale(1.25);
      transform: scale(1.25);

      -ms-transform-origin: 0 0;
      -moz-transform-origin: 0 0;
      -o-transform-origin: 0 0;
      -webkit-transform-origin: 0 0;
      transform-origin: 0 0;
    }

    /* ... */

–jeroen

Posted in Chrome, CSS, Development, HTML, Power User, Software Development, Web Browsers, Web Development | Leave a Comment »

bash – Search for a previous command with the prefix I just typed – Unix & Linux Stack Exchange

Posted by jpluimers on 2021/08/18

[WayBack] bash – Search for a previous command with the prefix I just typed – Unix & Linux Stack Exchange answered by [WayBack] John1024:

What you are looking for is Ctrl-R.

Type Ctrl-R and then type part of the command you want. Bash will display the first matching command. Keep typing CtrlR and bash will cycle through previous matching commands.

To search backwards in the history, type Ctrl-S instead. (If Ctrl-S doesn’t work that way for you, that likely means that you need to disable XON/XOFF flow control: to do that, run stty -ixon.)

This is documented under “Searching” in man bash.

Comment by [WayBack] HongboZhu:

Ctrl-Q to quit the frozen state, if you already hit Ctrl-S without turning off flow control first and got your terminal frozen.

A far more elaborate answer with many other tips is from [WayBack] Peter Cordes:

Read the rest of this entry »

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

LOL: atx psu 24pin 24p power supply jumper jack adapter connector for btc – Google Search

Posted by jpluimers on 2021/08/18

LOL: [WayBack] atx psu 24pin 24p power supply jumper jack adapter connector for btc – Google Search

Via [WayBack] Brad Smith a Twitter: “LOL I just wanted to buy the cheapest ATX socket on ebay to to make a little power jumper connector, and the cheapest one already has the wire stuck onto it. “…for BTC” 🤣… “

–jeroen

Posted in Development, Fun, Hardware, Hardware Development, Power User | Leave a Comment »