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 September, 2017

Some links around GuardiCore

Posted by jpluimers on 2017/09/13

Interesting tool to scan your network vulnerabilities from both outside and inside: guardicore/monkey: Infection Monkey – An automated pentest tool

Via a chain of links all around “Trojan.sysscan:

–jeroen

Posted in Development, Software Development | Leave a Comment »

Happy Day of the Programmer – and remember what SQLite is about…

Posted by jpluimers on 2017/09/13

T-Shirt quote worthy:

“SQLite does not compete with client/server databases. SQLite competes with fopen().”

Happy Day of the Programmer!

–jeroen

Source: Made me distribute coffee over keyboard :-). Best. Definition. Ever. [WayBack]

Posted in Fun, Quotes, T-Shirt quotes | Leave a Comment »

GitHub: Searching your own repositories – excluding forks

Posted by jpluimers on 2017/09/12

The Searching repositories – User Documentation mentions

By default, forked repositories are not shown.

But it forgets this only holds for the main search box which is conveniently called “Search GitHub” but documented as “Search repositories“:

Based on that documentation you’d think the “Search Repositories” box would adhere to the same defaults, right?

Wrong. We live in the “form over function” era so that would be too easy.

Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, git, GitHub, Source Code Management, User Experience (ux) | Leave a Comment »

Welcome to workaround.org – tips around open source and Linux stuff

Posted by jpluimers on 2017/09/12

At the time of discovering Welcome to workaround.org via More ISP Mail saveback – Joe C. Hecht – Google+:

ISPmail tutorials

The famous ISP-style mail server tutorials live here. Learn how to set up your own fully-functional mail server using Postfix, Dovecot IMAP/POP3 and MySQL backend on a Debian server just like your favorite mail or website hosting provider.

I have been maintaining the ISPmail tutorial since Debian Woody. However those older Debian versions are no longer supported. If you still like to read the old versions I have provided PDF versions of the tutorials for Squeeze, Lenny, Etch, Sarge andWoody.

Thoughts blog

My projects

I am a system administrator and programmer. In my nerdy spare time I work on web applications, Python and Ruby programs, write articles or explore new software technologies. On workaround.org you can find news, solutions and hints on my findings and get help. Of course your feedback is welcome.
These are some projects I am currently working on:

IRC – Internet relay chat

  • IRC is a great medium for getting instant help (at least on the freenode IRC network). I have collected some tips about Getting help on IRC to help you get help instead of getting barbecued.
  • knoba’s factoids
    I run a bot called knoba (short for knowledge base) on the freenode IRC network. Two channels I visit frequently are and #squid. So I have fed the bot with lots of factoids that you can query using !foobar in the channel. These are the factoids understood in #squid and #postfix. Please don’t play with the bot publicly. Send it a “/msg knoba help" and learn how it works.

Linux tips

Regarding the Squid web proxy

Padrino web framework

Zabbix monitoring

Zabbix is a mighty open-source monitoring software. If you need a serious system for your organisation and manage to condone its creepy web interface it is hands down the the most superior software I have ever seen. And I have been dealing with monitoring software since Nagios was called Netsaint.

These articles should help you in your daily work maintaining a monitoring system:

–jeroen

 

Posted in *nix, BIOS, Boot, Development, Linux, Open Source, Power User, Software Development | Leave a Comment »

Delphi code of the day…

Posted by jpluimers on 2017/09/11

I was debugging an issue where a Delphi SOAP implementation was shoe-horned into an Indy server and came across the [WayBackTWebRequest.UpdateMethodType Method.

The further you get down the if/then/else tree, the more often the indexed property Method is accessed, same for the conversion/comparison code.

property Method: string index 0 read GetStringVariable;

So if the HTTP method is POST (very common), then the calls are being made 3 times:

procedure TWebRequest.UpdateMethodType;
begin
{$IFDEF NEXTGEN}
  if Method = 'GET' then  { do not localize }
    FMethodType := mtGet
  else if Method = 'PUT' then   { do not localize }
    FMethodType := mtPut
  else if Method = 'POST' then  { do not localize }
    FMethodType := mtPost
  else if Method = 'HEAD' then  { do not localize }
    FMethodType := mtHead
  else if Method = 'DELETE' then  { do not localize }
    FMethodType := mtDelete
  else if Method = 'PATCH' then  { do not localize }
    FMethodType := mtPatch;
{$ELSE !NEXTGEN}
  if System.AnsiStrings.AnsiStrComp(PAnsiChar(Method), 'GET') = 0 then  { do not localize }
    FMethodType := mtGet
  else if System.AnsiStrings.AnsiStrComp(PAnsiChar(Method), 'PUT') = 0 then   { do not localize }
    FMethodType := mtPut
  else if System.AnsiStrings.AnsiStrComp(PAnsiChar(Method), 'POST') = 0 then  { do not localize }
    FMethodType := mtPost
  else if System.AnsiStrings.AnsiStrComp(PAnsiChar(Method), 'HEAD') = 0 then  { do not localize }
    FMethodType := mtHead
  else if System.AnsiStrings.AnsiStrComp(PAnsiChar(Method), 'DELETE') = 0 then  { do not localize }
    FMethodType := mtDelete
  else if System.AnsiStrings.AnsiStrComp(PAnsiChar(Method), 'PATCH') = 0 then  { do not localize }
    FMethodType := mtPatch;
{$ENDIF NEXTGEN}
end;

–jeroen

Posted in Conference Topics, Conferences, Delphi, Development, Event, Software Development | 4 Comments »

Terry L@u’s blog: Manage non-domain Hyper-V servers (Windows Server 2016 Technical Preview) by Hyper-V Manager

Posted by jpluimers on 2017/09/11

One day I will need this: Terry L@u’s blog: Manage non-domain Hyper-V servers (Windows Server 2016 Technical Preview) by Hyper-V Manager [WayBack]

Via: Matthijs ter Woord

–jeroen

Posted in Hyper-V, Power User, Virtualization, Windows, Windows Server 2016 | Leave a Comment »

W123 – Tacho-Reparatur – works for W116 odometer (kilometerteller) as well

Posted by jpluimers on 2017/09/11

Since the odometer of our W116 would stall every now and then, we had to repair it.  Luckily the instructions at W123 – Tacho-Reparatur [WayBack] work fine for a W116 as too.

It’s different between 450SEL and 450SEL 6.9 and contains a bunch of lightbulbs so for completeness some links that help fixing lighting issues:

–jeroen

Read the rest of this entry »

Posted in cars, LifeHacker, Power User, W116 | Leave a Comment »

Reminder to self: find out how to disable YouTube auto-play in Chrome 60 and up

Posted by jpluimers on 2017/09/08

Somewhere around Chrome 60, this extension stopped to work for YouTube videos: Disable HTML5 Autoplay – Chrome Web Store.

It’s [WayBackunmaintained now as Google is supposed to work on an own disable-autoplay function, but this fails too:

More reading:

–jeroen

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

To every site out there asking me to whitelist them from my adblocker: No.

Posted by jpluimers on 2017/09/08

I totally agree with [WayBack] To every site out there asking me to whitelist them from my adblocker: No. – Kristian Köhntopp – Google+

To every site out there asking me to whitelist them from my adblocker: No.

Why I am running an Adblocker. Also, it does not matter any more what you do. Running an Adblocker is a necessity because of the things below.

“No exceptions”.

Because it’s over – it may be your site that is better, but I don’t care any more.

Just running an Adblocker, revoking JS and Plugin privileges, and blocking third party bullshit everywhere, because that’s a secure default and a significant cognitive simplification.

The group you are part of, if you want it or not, made that necessary. It’s the world your people created. You will have to live in it, no matter how much of an exception your site is.

–jeroen

Posted in Power User, Web Browsers | Leave a Comment »

Blacklist Filters on MikroTik RouterOS

Posted by jpluimers on 2017/09/08

Some blacklist filters you can use on Mikrotik RouterOS devices:

You might consider to use these instead of action=drop:

–jeroen

Read the rest of this entry »

Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | 2 Comments »