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

Archive for 2014

Mac OS X: Microsoft Remote Desktop Connection Client for Mac Search results – Microsoft Download Center

Posted by jpluimers on 2014/06/20

Just in case I need the youngest Microsoft Remote Desktop Connection Client for Mac, I should start at Microsoft Remote Desktop Connection Client for Mac Search results – Microsoft Download Center.

At the time of writing was the 2011 Microsoft Remote Desktop Connection Client for Mac 2.1.1 which – though it indicates it runs from Mac OS X 10.5.8 until 10.6.x – runs find on Leopard, Snow Leopard, Lion, Mountain Lion, not Tiger including Retina displays.

Do not go through Remote Desktop Connection Client for Mac | Office For Mac , as is a marketing page that makes it hard to find what you are looking for (but easy to to get you into Office for Mac).

–jeroen

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

Windows consoles: a small list

Posted by jpluimers on 2014/06/19

Many people confuse a shell with a console.

They are distinct: the shell executes commands, and the console hooks up video and keyboard to them.

Some products (like Take Command Console, of which Noah Coad is a huge fan) combine the two.

Some shells you can use for Windows: Read the rest of this entry »

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

Windows shells: a bit of history

Posted by jpluimers on 2014/06/18

I’ve a long history in DOS/Windows 9x COMMAND.COM and Windows cmd.exe shell programming.

The switch to PowerShell is steep, but for me it is worth it: it has so much more functionality than cmd.exe, and taps right into the .NET ECO system.

If you look for something intermediate, you might want to consider TCC. Formerly TCC was known as 4NT, which has its roots in 4DOS (I totally loved 4DOS back when cmd wasn’t there yet).

A small overview: Read the rest of this entry »

Posted in Batch-Files, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Leave a Comment »

Thanks Jaykul for explaining me a custom PowerShell script that acts like DU (DiskUsage).

Posted by jpluimers on 2014/06/17

Thanks Joel Bennett (aka Jaykul) from Huddled Masses for answering my Stack Overflow question PowerShell Get-DiskUsage CmdLet: how to list from a different drive/directory?

In addition to answering it, he also added a complete new and lighter implementation of that script explaining why it was lighter and what idioms to follow in PowerShell.

After reading his aswer, I was even more aware of these two things than I was before:

  • I should emphasize the importance of the object pipeline even more than I already did.
  • You should try to cut down on the dynamically instantiated objects. Like any language with heavy objects, they provide the huge benefit of fast development, but also an inherent cost.

I wasn’t aware you can put your own crafted objects into the pipeline in a very easy way. But you can: Read the rest of this entry »

Posted in Development, PowerShell, Scripting, Software Development | 1 Comment »

AK’s Guide to Suits – Imgur

Posted by jpluimers on 2014/06/16

Interesting: AK’s Guide to Suits – Imgur.

Posted in LifeHacker, Power User | Leave a Comment »

Typing Special Characters on Mac OS X and Windows

Posted by jpluimers on 2014/06/13

I always wonder how people can remember the character combinations to type special characters from a regular US international keyboard on a Mac with OS X, or Windows computer.

When having to type a lot of international text, I often use the United States-International keyboard layout in Windows 7, in Windows Vista, and in Windows XP.

When not, I often use Character Map. Too bad there is no shortcut for it.

Choosing the U.S International – PC  on a Mac OS X (as it behaves exactly like the PC counterpart on Windows) however introduces problems when using Remote Desktop Connection or virtualization software like VMware Fusion or Parallels.

So I sometimes revert to “Special Charters” (option-command-T) under the Edit menu (also called Character Viewer), but usually take advantage that ApplePressAndHoldEnabled by default is enabled: that allows the press-and-hold feature for vowel keys, and then either use the digit keys or arrows to select the target accented character.

On both systems, there are other ways to type special characters using keyboard shortcuts that I find very hard to remember. For people with a good memory, you can try these:

–jeroen

via: Macintosh OSX Keyboards (Penn State).

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

TSQL: showing database level and server level permissions

Posted by jpluimers on 2014/06/12

A few short scripts checking out the cause for TFS Integration Tools refuses to start despite an admin being able to create a TEST database. Read the rest of this entry »

Posted in Database Development, Development, SQL Server, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012 | Leave a Comment »

Delphi `with` post and discussion revisited (via: wiert.me and LinkedIn)

Posted by jpluimers on 2014/06/11

A bit more than a year ago, I wrote about Delphi: you should avoid the with statement as it makes your code less future proof. That caused some nice comments on the blog, and some more on LinkedIn where Paul Foster mentioned it in a thread ‘Jeroen Pluimers makes a case against “with” statements.‘ Both interesting reads, especially the reasons that people use or avoid with, or keep its use in balance. There is one set of comments I want to emphasize: refactoring multiple with statements into a one function and a call per former with. Read the rest of this entry »

Posted in Borland Pascal, Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Pascal, Software Development, Turbo Pascal, With statement | 19 Comments »

StudioShell: integrating Visual Studio in PowerShell

Posted by jpluimers on 2014/06/10

Wow, it seems I’ve been living under a stond since early 2011: the first StudioShell checkin.

[WayBackStudioShell opens marvellous possibilities in Visual Studio 2010, 2012 and up.

Just look at the feature list: Read the rest of this entry »

Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 4.0, C# 5.0, CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Leave a Comment »

Word: adding properties to a document and using them in fields

Posted by jpluimers on 2014/06/09

One of the things I don’t often do in Word is insert fields based on document properties.

Usually that part is in a template, and only touched every once in a lifetime.

So I always forget the starting points to get going:

–jeroen

Posted in Uncategorized | Leave a Comment »