The Wiert Corner – irregular stream of stuff

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

  • My badges

  • Twitter Updates

  • 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

Archive for the ‘Power User’ Category

imagemagick – Command line convert webp to jpg? – Unix & Linux Stack Exchange

Posted by jpluimers on 2019/12/23

For my link archive: [WayBack] imagemagick – Command line convert webp to jpg? – Unix & Linux Stack Exchange

–jeroen

Posted in *nix, *nix-tools, Development, Encoding, Google, GoogleWebP, Image Editing, Power User, Software Development, The Gimp, WebP | Leave a Comment »

Justin O’Beirne – interesting comparisons of various Maps services

Posted by jpluimers on 2019/12/23

This is a reminder to myself to check out [WayBackJustin O’Beirne again, as over the last years he posted various very interesting observations on the various Maps services.

Is Google Maps still years ahead of the competition? Why is that? Interesting topics that Justin covered in the past, for instance in [WayBackGoogle Maps’s Moat How far ahead of Apple Maps is Google Maps?

Via:

–jeroen

Posted in Google, GoogleMaps, LifeHacker, Power User | Leave a Comment »

Walts Lede – the disappearing computer.

Posted by jpluimers on 2019/12/23

I love this image so much: [WayBackWalts_Lede_v04_3.1495666767.gif (2040×1164)

It is how I learned about the word “lede” [WayBack].

It indeed is a perfect fit introducing the article by Nilay Patel “Mossberg: The Disappearing Computer – The Verge” [WayBack] which I only discovered quite a while after Walt Mossberg retired in June 2017: I was a regular listener to and thought he had completely stopped contributing to columns too. I was wrong: he occasionally still does.

–jeroen

Read the rest of this entry »

Posted in History, Power User | Leave a Comment »

OTT Box == Over-the-top media services – Wikipedia

Posted by jpluimers on 2019/12/20

Learned a new term while connecting a Chromecast to a Samsung TV: OTT Box. It is a device that can deliver [WayBack] Over-the-top media services – Wikipedia.

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Offline XML Pretty Print

Posted by jpluimers on 2019/12/20

I wrote about [WayBackXML Pretty Print in Online XML Pretty Print many years ago.

That’s all fine for small XML file and on-line usage.

A while ago however, I had two cases where off-line XML pretty printing turned out to be much easier than online XML pretty printing:

  1. pretty-print many XML files in one go
  2. compare large (100 megabyte plus) XML files

So I went searching, especially for a solution that would be available for both nx based platforms (Linux/Mac OS X/etc) and Windows which got me a few options in [WayBack] unix – How to pretty print XML from the command line? – Stack Overflow.

I found [WayBack] tidy to be more practical than [WayBack] xmllint as tidy would split more lines which made it easier for  Beyond Compare (that is very much cross platform!) to spot and show the differences.

Not just easier in the sense that the (already excellent) diff engine from Beyond Compare (which really sets it apart from other differencing tools) but very much easier on the eyes as now differences where on lines below each other in stead of 1000s of character positions in one line you had to scroll through.

There is two important things to remember with tidy that both stem from its ancestry (it originates from an HTML):

  • you have to specify -xml
  • you have to specify the characterset (even though XML can specify it and without a definition, XML by default is UTF8, tidy does not know about that)

These were the command-lines I used on Windows to do the pretty printing:

tidy -xml -utf8 QCScaper.test@borland.com.cds.xml > QCScaper.test@borland.com.tidy.cds.xml
xmllint --format QCScaper.test@borland.com.cds.xml > QCScaper.test@borland.com.pretty-printed.cds.xml

Another trick is to write a small Delphi program centered around the FormatXMLData call which has been present since Delphi 2007 (see [WayBack] devnet.pdf), but documented since Delphi 2009 in [WayBack] XMLDoc.FormatXMLData Function.

Example code: [WayBack] delphi – How to reformat XML programmatically? – Stack Overflow.

An alternative is to use OmniXML: [WayBack] delphi – Nice bit of code to format an xml string – Stack Overflow

–jeroen

Related posts:

Read the rest of this entry »

Posted in Beyond Compare, Development, Power User, XML, XML/XSD | Leave a Comment »

Magic SysRq key – Wikipedia

Posted by jpluimers on 2019/12/20

Cool: Magic SysRq key – Wikipedia

The magic SysRq key is a key combination understood by the Linux kernel, which allows the user to perform various low-level commands regardless of the system’s state. It is often used to recover from freezes, or to reboot a computer without corrupting the filesystem.[1] Its effect is similar to the computer’s hardware reset button (or power switch) but with many more options and much more control.

Sometimes reading fluffy fluff posts teaches you new things, so be sure to read this one:

[WayBack] I just got trolled by my cat, hard. Last night i left my linux laptop open and running while watching TV in the other room. I came back to find Marley … – Stephen Shirley – Google+

I started looking through the kernel logs from last night, to see if there was any indication of the issue starting. And then i saw it. One innocent line that said:

Dec 18 21:26:52 x240 kernel: [373001.156356] sysrq: SysRq : Emergency Remount R/O

The fluffy dumbass had somehow hit the Sysrq [0] key combo to mount all filesystems read-only. This is an old, low-level when-all-else-fails facility for dealing with an linux unresponsive system, and fluff-for-brains Marley had somehow hit alt+fn+s+u.

Sigh.

[0] https://en.wikipedia.org/wiki/Magic_SysRq_key

Via: [Archive.is] I just got trolled by my cat, hard. Last night i left my linux laptop open and running while watching TV in the other room. I came back to find Marley … – Kristian Köhntopp – Google+

–jeroen

Posted in *nix, *nix-tools, Keyboards and Keyboard Shortcuts, Linux, Power User | Leave a Comment »

Ziggo Amsterdam Osdorp de Aker: netwerk-ID 4444, frequentie 164000, Modulatie 64QAM, Symboolfrequentie 6900

Posted by jpluimers on 2019/12/16

Since Ziggo had two URLs giving wrong/correct setup for digal TV, here is the thread and the correct information:

“Dit is fout:Frequentie: 47400, 474000 of 474Netwerk-ID: 4444 of 04444Modulatie: 64-QAMSymboolsnelheid: 6875Dit is goed:Vul bij het netwerk-ID 4444 in.Vul bij frequentie 164000 in.Selecteer bij Modulatie 64QAM.Vul bij Symboolfrequentie 6900 in.2/…”

Correct information for Ziggo Amsterdam de Aker:

  • netwerk-ID 4444,
  • frequentie 164000,
  • Modulatie 64QAM,
  • Symboolfrequentie 6900

URL with correct information: [Archive.is] Digitale en Interactieve Televisie installeren | Digitale Televisie | Klantenservice | Ziggo

Thread information:

  1. [WayBack] Jeroen Pluimers on Twitter : “Als ik op https://t.co/IUJu0G89O9 postcode huisnummer invul, krijg ik de foute informatie @ZiggoWebcare 1/…… “
  2. [WayBack] Jeroen Pluimers on Twitter: “Dit is fout: Frequentie: 47400, 474000 of 474 Netwerk-ID: 4444 of 04444 Modulatie: 64-QAM Symboolsnelheid: 6875 Dit is goed: Vul bij het netwerk-ID 4444 in. Vul bij frequentie 164000 in. Selecteer bij Modulatie 64QAM. Vul bij Symboolfrequentie 6900 in. 2/…”
  3. [WayBack] Jeroen Pluimers on Twitter: “De goede informatie kreeg ik via https://t.co/SRDJaJF9fT, na het invullen van dezelfde postcode/huisnummer combinatie uit de eerste link. Dus ergens is er iets mis met koppelen van de gegevens naar de diverse web pagina’s (; 3/3… https://t.co/g1iipNO16M”

–jeroen

Wrong URL: [Archive.is] Activeringscode, Frequentie of netwerk-ID instellen | Klantenservice | Ziggo

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

if you allow users to register email addresses on your domain, make sure they can’t get: admin@ administrator@ hostmaster@…

Posted by jpluimers on 2019/12/16

Great tip from: [Archive.isMichal Špaček on Twitter: “Friendly reminder: if you allow users to register email addresses on your domain, make sure they can’t get: admin@ administrator@ hostmaste… https://t.co/wUHXrQC2J0”:

 Friendly reminder: if you allow users to register email addresses on your domain, make sure they can’t get:
  • admin@
  • administrator@
  • hostmaster@
  • postmaster@
  • webmaster@ (and others from RFC 2142)

otherwise users might be able to get an HTTPS certificate for your domain.

–jeroen

Read the rest of this entry »

Posted in Encryption, https, Let's Encrypt (letsencrypt/certbot), Power User, Security | Leave a Comment »

CHMOD – Applying Different Permissions For Files vs. Directories – Server Fault

Posted by jpluimers on 2019/12/16

The answers at [WayBackCHMOD – Applying Different Permissions For Files vs. Directories – Server Fault describe various ways to do this. Depending in why/when you want to change them you’d probably favour different ones, so be sure to read the answers.

I mostly use these combinations:

find . -type d -exec chmod 700 {} \;
find . -type f -exec chmod 600 {} \;

and

find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;

And since I forget how to do ocatal too often:

commonly used permissions:

Permission COMMAND
---------   ------------------
rwxrwxrwx   chmod 777 filename
rwxrwxr-x   chmod 775 filename
rwxr-xr-x   chmod 755 filename
rw-rw-rw-   chmod 666 filename
rw-rw-r--   chmod 664 filename
rw-r--r--   chmod 644 filename

permissions are divided into 3 divisions. The first rwx is for the owner. The next 3 is for the group. The last 3 is for everyone else.

rwx------  owner permissions - read, write, executable
---rwx---   group permissions - rwx
------rwx   other permissions - rwx

Source: [WayBackTitle

–jeroen

Posted in *nix, Power User | Leave a Comment »

Altnernatives for Ethernet Adapter for Chromecast – Google Store

Posted by jpluimers on 2019/12/13

A long time ago, I wrote Ethernet Adapter for Chromecast – Google Store « The Wiert Corner – irregular stream of stuff

As a reminder for self, order when I’m back in the USA: Ethernet Adapter for Chromecast – Google Store.

In between, it has been available in many countries, but when writing this, it is not available in The Netherlands, Belgium or Germany any more:

Alternatives are for instance [Archive.isUGREEN Ethernet Adapter für Chromecast und TV: AmazonSmile: Computer & Zubehör, or fiddling with OTG splitter cables and an a USB ethernet adapter which I found via [WayBack] Google Chromecast – Google Cast – Deel 1 – Mediaspelers en HTPC’s – GoT especially[WayBack] Google Chromecast – Google Cast – Deel 1 – Mediaspelers en HTPC’s – GoT: search for “ethernet.

The cool thing: these solutions also work for things like Raspberry Pi Zero, Fire TV Stick, etc.

Read the rest of this entry »

Posted in Chromecast, Google, Power User | Leave a Comment »