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 4,262 other subscribers

Archive for December, 2015

Any ideas for a good text to direct anonymous and blocked numbers too?

Posted by jpluimers on 2015/12/31

Any ideas for a good text to direct anonymous and blocked numbers too?

I’m thinking along these lines:

You are calling with a blocked, or anonymous number. We get too many of those, mostly from marketing or sales persons. Call back with your real number and you might get to talk to a real person.

–jeroen

via:

Posted in LifeHacker, Power User | 1 Comment »

45 Jokes Only Programmers Will Get

Posted by jpluimers on 2015/12/31

Some great ideas for T-shirt prints: 45 Jokes Only Programmers Will Get.

Happy new year!

–jeroen

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

Disable screensaver using registry settings

Posted by jpluimers on 2015/12/30

This is what I needed:

:: http://www.windows-commandline.com/disable-screensaver-registry-settings/
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v ScreenSaveActive /t REG_SZ /d 0 /f

And this one to verify the current settings:

:: http://www.windows-commandline.com/disable-screensaver-registry-settings/
:: possible names
:: ScreenSaveActive
:: ScreenSaveTimeOut
:: ScreenSaverIsSecure
reg query "HKEY_CURRENT_USER\Control Panel\Desktop" | findstr /I /C:"ScreenSave"

–jeroen

via:

Posted in Batch-Files, Development, Scripting, Software Development | Leave a Comment »

{} + [] vs. [] + {} – BECAUSE JavaScript: funny shirt for #JavaScript programmers or the ones poking fun of them

Posted by jpluimers on 2015/12/29

{} + [] vs. [] + {} – BECAUSE JavaScript: funny shirt for #JavaScript programmers➥ http://www.redbubble.com/people/ramiro/works/19808814-wat-because-javascript-funny-design-for-web-developers?p=t-shirt&style=womens&body_color=white&print_location=front #wat

–jeroen

Source: {} + [] vs. [] + {} – BECAUSE JavaScript: funny shirt for #JavaScript program…

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

Command Line Kung Fu: Episode #43: Users & Groups

Posted by jpluimers on 2015/12/29

I needed to compare the local group memberships on a few systems.

I knew there is the distinction between

  • net group (which despite documentation requires /domain as it does not support local groups: you get a nice NET HELPMSG 3515 error) and
  • net localgroup (which can either run locally or with /domain).

So I came up with this batch file thanks to Command Line Kung Fu:

:: http://blog.commandlinekungfu.com/2009/06/episode-43-users-groups.html
for /F "skip=4 delims=*" %%g in ('net localgroup ^| find /v "The command completed successfully"') do @net localgroup "%%g"

It can be done in PowerShell too, but is more work.

Based on that and Beyond Compare I created some diff scripts.

–jeroen

via:

Posted in Batch-Files, Development, Scripting, Software Development | 1 Comment »