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

Notifications – Google+

Posted by jpluimers on 2018/01/20

As I keep forgetting the Notifications – Google+ URL and G+ kills “older” notifications: https://plus.google.com/notifications/all

–jeroen

Posted in G+: GooglePlus, Google, Power User, SocialMedia | Leave a Comment »

openSUSE – Review of the week 2018/03 – Dominique a.k.a. DimStar (Dim*) – be sure to review your openssh config!

Posted by jpluimers on 2018/01/20

Before upgrading Tumbleweed this week, you need to review your openssh config.

This is not mentioned in Review of the week 2018/03 – Dominique a.k.a. DimStar (Dim*), but very important.

So be sure to read these before upgrading:

If you forget to review /etc/ssh/sshd_config, you get this in journalctl if you have specified your own MACs for instance when hardening according to [WayBack including rimemd160] Secure Secure Shell:

Read the rest of this entry »

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, Power User, SSH, TCP | Leave a Comment »

Installing A Maccon Card In A Macintosh Se/30 – Asante MacCon Family Ethernet Network Cards For The Macintosh Installation Manual [Page 29]

Posted by jpluimers on 2018/01/19

To get started:

Pictures, binary driver image from Index of /pdf/apple/nubus/asante/MacCon_SE30

Index of /pdf/apple/nubus/asante/MacCon_SE30

[ICO] Name Last modified Size Description

[PARENTDIR] Parent Directory
[   ] 5000118-00-01.BIN 2018-01-11 10:16 16K
[IMG] Asante_MacCon_SE30_1.JPG 2018-01-10 14:24 545K
[IMG] Asante_MacCon_SE30_2.JPG 2018-01-10 14:24 418K
[IMG] Asante_MacCon_SE30_3.JPG 2018-01-11 10:17 573K
[IMG] Asante_MacCon_SE30_4.JPG 2018-01-11 10:17 543K
[IMG] Asante_MacCon_SE30_5.JPG 2018-01-11 10:17 439K
[IMG] Farallon_SI_A_Series_b.JPG 2018-01-11 10:17 438K
[IMG] Farallon_SI_A_Series_f.JPG 2018-01-11 10:17 637K

Apache/2.4.18 (Ubuntu) Server at bitsavers.trailing-edge.com Port 80

 

–jeroen

Posted in Apple, Classic Macintosh, History, Macintosh SE/30, Power User | Leave a Comment »

mtr does ping and traceroute in one go – bold/red lines are for non-responding hosts

Posted by jpluimers on 2018/01/19

I learned about mtr via [WayBackBufferbloat Demystified – Andrew Clunis which I found via  [WayBack] Älterer Artikel, der Bufferbload und https://en.wikipedia.org/wiki/CoDel erklärt. – Kristian Köhntopp – Google+

mtr is cool:

mtr combines the functionality of the ‘traceroute’ and ‘ping’ programs in a single network diagnostic tool.

Running it, I saw occasional bold lines that were not mentioned in the README, but after a search in the repo I found it to be in documented NEWS:

Draw names in red (GTK) or bold (Curses) if host doesn’t respond.

Some times from here across to California back when I still had ADSL:

Read the rest of this entry »

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

Microsoft guided walk through to Fix Windows Update errors

Posted by jpluimers on 2018/01/19

This one helped me to fix a 0x80243004 error: somehow the virtual network adapter didn’t work well and a reboot worked.

Use our guided walk through to help you resolve Windows Update issues using the error code you got while updating your version of Windows.

Source: Fix Windows Update errors

–jeroen

Posted in Power User, Windows, Windows 7 | Leave a Comment »

Backreaction: Pure Nerd Fun: The Grasshopper Problem

Posted by jpluimers on 2018/01/18

For the love of math and physics science [WayBackBackreaction: Pure Nerd Fun: The Grasshopper Problem.

Background material and videos:

–jeroen

Read the rest of this entry »

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

Debuggex: Online visual regex tester. JavaScript, Python, and PCRE.

Posted by jpluimers on 2018/01/18

On my list of things to try out when I need to use regular expressions again:

Test your regex by visualizing it with a live editor. JavaScript, Python, and PCRE.

Source: Debuggex: Online visual regex tester. JavaScript, Python, and PCRE.

Via: [WayBackSergiu Toarca answering [WayBackRegex lookahead with multiple negative conditions – Stack Overflow

Note: in January 2018, Debuggex was down for a few days (Thanks Uwe for bringing that up and giving the below alternative [WayBack]).

If you are on Windows and are OK with a small cost, try this instead: [WayBack] RegexBuddy: Learn, Create, Understand, Test, Use and Save Regular Expression

–jeroen

Posted in Development, RegEx, Software Development | Leave a Comment »

Poor mans C to Delphi converter by Wouter van Nifterick

Posted by jpluimers on 2018/01/18

Seems very OK for a first pass in a C to Delphi conversion:

[WayBack] Hi, I’ve created a C to Delphi converter.Because it’s been so useful to me that I’ve decided to share it.It converts C code as-you-type, and it keep… – Wouter van Nifterick – Google+

Source is on GitHub: https://github.com/WouterVanNifterick/C-To-Delphi

–jeroen

Read the rest of this entry »

Posted in C, Delphi, Development, Software Development | Leave a Comment »

Using hardware security tokens cross-platform is only slightly more complicat…

Posted by jpluimers on 2018/01/17

Thanks for the excellent comment explaining how to use hardware tokens as a comment to [WayBack] Using hardware security tokens cross-platform is only slightly more complicated than piloting a Space Shuttle. ##sarcasm – Jan Wildeboer – Google+

Jan Wildeboer:

+Jeroen Wiert Pluimers OK. Let’s look a bit at how this works. There are several competing standards/ways to use a security token. Typically you’ll decide between the two most used ones. As a CCID device AKA SmartCard with OpenSC or using gpg-agent. And that’s an either/or question. Some of the security tokens can only work with gpg-agent, some can do both (but not at the same time) and some are only useful as CCID style (e.g. the Nitrokey HSM).

OK. So now we look at platforms. CCID using OpenSC mostly works everywhere, but you might need to install some additional software depending on your OS. Older versions of MacOS X were notoriously bad, since (High) Sierra it has become better.

On Linux it again really depends. The gnome-keyring-agent that is active in a Gnome session really messes everything up, so better deactivate that. Which is not really trivial. But you have to have a socket for ssh-agent to pick up the key, so some stuff goes to your .bash.rc and you have to make some changes to Gnome config.

If you want to use a Yubikey for 2FA, note that it cannot do TOTP (Time based One Time Password) which Amazon wants for AWS auth. So you need another helper app on your computer.

Here’s some articles that explain it in detail:

The middle two links are actually part of the series [WayBack] Yubikey All The Things | EngineerBetter | More than Cloud Foundry specialists which has a third post [WayBack] Yubikeys for Static Secrets | EngineerBetter | More than Cloud Foundry specialists

–jeroen

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, Power User, Security, SSH, TCP | Leave a Comment »

Convert space indented text to markdown minus indented

Posted by jpluimers on 2018/01/17

Since I will never be good at regex, this are a few search/replace patterns I used in Atom.io to convert a plain text document space indented like this:

Version 1.23.4.15
First level indented text
Is also a first level indented text
Too a first level indented text
- First level indented text too
  Second level indented text
  Is also a second level indented text
  Too a second level indented text
  - Second level indented text too
    - A third level indented text
    Third level indented text
    Is also a third level indented text
    Too a third level indented text
98.4.32.1

to a Markdown indented one like this:

Version 1.23.4.15
- First level indented text
- Is also a first level indented text
- Too a first level indented text
- First level indented text too
 - Second level indented text
 - Is also a second level indented text
 - Too a second level indented text
 - Second level indented text too
 - A third level indented text
 - Third level indented text
 - Is also a third level indented text
 - Too a third level indented text
Version 98.4.32.1

Prepend Version when needed: https://regex101.com/r/CUhUbr/1

  • Search:
    • ^(\d+\.\d+\.\d+\.\d+)
  • Replace:
    • Version $1

Add markdown first level indentations to lines that don’t have a markdown first level indentation yet, nor start with Version nor start with a space: https://regex101.com/r/CUhUbr/2

  • Search:
    • ^(?!(Version )|(- )|( )|(\d+\.\d+\.\d+\.\d+))(.*)
  • Replace:
    • - $5

Add markdown second level indentations to lines that don’t have a markdown second level indentation yet but do have a regular second level indentation: https://regex101.com/r/CUhUbr/3

  • Search:
    • ^  (?!(- )|( ))(.*)
  • Replace:
    •   - $3

Add markdown third level indentations to lines that don’t have a markdown third level indentation yet but do have a regular third level indentation: https://regex101.com/r/CUhUbr/4

  • Search:
    • ^    (?!(- )|( ))(.*)
  • Replace:
    •     - $3

jeroen

https://regex101.com/r/CUhUbr/1

https://regex101.com/r/CUhUbr/2

https://regex101.com/r/CUhUbr/3

https://regex101.com/r/CUhUbr/4

 

Posted in Development, RegEx, Software Development | Leave a Comment »