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

Archive for 2016

Beyond Compare v 4.1.4 will fix the leap day crash of last monday when accessing cloud service

Posted by jpluimers on 2016/03/05

I was on the road last monday, so I missed this crash, but the good news is that Beyond Compare Technical Support indicates the upcoming v 4.1.4 will fix that for the future.

Cases like these are hard to find and fix a priori as you cannot force the cloud services to run faking a certain date…

Update (somehow my browser cache didn’t see this page when posting): the update was already out; see the change log at Download Beyond Compare which lists a lot of nice other things as well (including a way to force 32-bit installation on x64 windows versions when some of your other tooling cannot cope with x64 DLLs).

–jeroen

Posted in Beyond Compare, Power User | Leave a Comment »

my ScanSnap ix500 has a box too…

Posted by jpluimers on 2016/03/04

So my ScanSnap ix500 has a box too (actually a Leitz Rotho Profiline 10 Schübe drawer). The ix500 scans double sided and takes like 2 seconds per sheet. Works through WiFi (or USB) on both PC and Mac.

This is the process:

  1. I scan and roughly sort the document by destination in a drawer.
  2. A Windows VM creates OCR PDF and puts them into the cloud.
  3. It gets synced to my Macs, where spotlight indexes them by content.
  4. Once a month I split off the parts for my bookkeeper, file important non bookkeeping stuff and shred the rest.
  5. I name files on a selective base (as spotlight is very good at finding the rest).

This is why I like it over scanning with your mobile phone any time:

My ix500 setup just works.

Now I need to optimise the S510 scanned files. Maybe linux – optimize PDF files (with Ghostscript or other) – Stack Overflow (from the same thread) works.

–jeroen

via: Hey everyone, we are currently preparing the next release.

Posted in Fujitsu ScanSnap, ix500, LifeHacker, Power User, Scanners, SpotLight | Leave a Comment »

Windows Server Container Manager

Posted by jpluimers on 2016/03/03

Cool: Windows Server Container Manager

Posted in Uncategorized | Leave a Comment »

stop/start IIS

Posted by jpluimers on 2016/03/03

I know, old knowledge, but I only recently added the below batch files to file collection.

Why? Because since a few Windows versions, the System process uses port 80 because IIS is installed by default in many configurations. And recently I had to do quote a bit of http communication work against a local machine outside the IIS realm.

windows 7 – Why is System process listening on Port 80? – Super User.

Stop IIS:

:: http://stackoverflow.com/questions/22084561/difference-between-iisreset-and-iis-stop-start-command
:checkPrivileges
  net file 1>nul 2>nul
  if '%errorlevel%' == '0' ( goto :gotPrivileges ) else ( goto :getPrivileges )

:isNotAdmin
:getPrivileges
  echo You need to be admin running with an elevated security token to run %0
  goto :exit

:isAdmin
:gotPrivileges
::  net stop w3svc
::  net stop iisadmin
  iisreset /stop

:exit
  ::pause
  exit /b

Start IIS:

:: http://stackoverflow.com/questions/22084561/difference-between-iisreset-and-iis-stop-start-command
:checkPrivileges
  net file 1>nul 2>nul
  if '%errorlevel%' == '0' ( goto :gotPrivileges ) else ( goto :getPrivileges )

:isNotAdmin
:getPrivileges
  echo You need to be admin running with an elevated security token to run %0
  goto :exit

:isAdmin
:gotPrivileges
::  net start w3svc
::  net start iisadmin
  iisreset /start

:exit
  ::pause
  exit /b

–jeroen

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

Convert HTML to Markup using CSS – Render HTML as unrendered Markdown – see http://jsbin.com/huwosomawo

Posted by jpluimers on 2016/03/02

Convert HTML to Markup using CSS:

–jeroen

Posted in CSS, Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »

rsync as diff – compare files in two directory on remote server using unix – Stack Overflow

Posted by jpluimers on 2016/03/01

Too bad the accepted answer forgets about deleted files.

Use one of these to compare (but not sync) two directory trees.

For size-only comparision:

rsync -n -avr --size-only --delete /abc/home/sample1/ server2:/abc/home/sample2/

If you want to compare both contents and size:

rsync -n -avrc --delete /abc/home/sample1/ server2:/abc/home/sample2/

–jeroen

via: diff – compare files in two directory on remote server using unix – Stack Overflow.

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

Reloop RMX-40 USB – when your Mac doesn’t recognise it.

Posted by jpluimers on 2016/02/29

Reloop has posted the below for DJ controlers (like Contour IE, Jockey 3 ME and Digital Jockey 2 ME), but it also applies to their mixers, for instance my Reloop RMX-40 USB – Reloop (but not limited to Reloop audio equipment) in combination with either of my:

  • MacBook Air (13-inch, Mid 2011)
  • MacBook Pro (Retina, 15-inch, Late 2013)

All these machines have USB 3.0 ports. But the workarounds below work:

Read the rest of this entry »

Posted in Apple, LifeHacker, Mac OS X / OS X / MacOS, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

Tip: How to play a playlist one song at a time … – via: Apple Support Communities

Posted by jpluimers on 2016/02/26

It’s obvious if you have seen this once, but it wasn’t clear to me how to play only individual songs from a playlist. Luckily my search got this step by step guide as the first hit:

  1. Create the playlist.
  2. Uncheck all of the check boxes in the playlist (In iTunes for Windows, ctrl click one of the check marks to uncheck all of the checkboxes at once)
  3. Now double click (or select and press spacebar) a song to play it. It will stop when finished because there is no other song checked to be played next.
  4. If you want to change back to normal sequential play, ctrl click one of the check marks again to change all of the checkboxes back to the checked status.

The tip works for both Mac and Windows.

I needed this as part of a pub-quiz so I could finish the questions and answers before moving on to the next track in the playlist.

Thanks hiker1251!

–jeroen

via: Tip: How to play a playlist one song at a time … | Apple Support Communities.

Posted in Apple, iTunes, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, Power User, Windows | Leave a Comment »

Google Video Quality Report for Kissimmee, FL

Posted by jpluimers on 2016/02/25

Find out how good the YouTube experience is with your Internet Provider using the Google Video Quality Report.

Source: Google Video Quality Report

Kissimmee hotel internet: not so good (:

PING              55 ms
DOWNLOAD 0.81 Mbps
UPLOAD        2.91 Mbps

–jeroen
Read the rest of this entry »

Posted in Internet, Power User, SpeedTest | Leave a Comment »

Sometimes it is Visual Studio’s fault: failure to copy file in a post build event

Posted by jpluimers on 2016/02/25

Not sure yet why, but every now and then I get a failure like this in Visual Studio (at least in 2013 and up):

2>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(4548,5): error MSB3073: The command "copy /Y "C:\SomePath\SomeProjectName\bin\Debug\SomeProjectName.dll" "C:\SomePath\Shared Assemblies\"" exited with code 1.
2>Done executing task "Exec" -- FAILED.

Most of the times it is me at fault: some process still is using it.

But sometimes, it is devenv.exe (Visual Studio itself) that keeps it locked, even though nothing is running (in fact it can happen right after you loaded the project in Visual Studio 2013).

I found this out by using “Process Explorer Search” (Ctrl+F or Find Handle or DLL).

Not sure why yet.

–jeroen

Posted in .NET, C#, C# 4.0, Development, Software Development, Visual Studio 2013, Visual Studio and tools | Leave a Comment »