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 the ‘MacBook-Air’ Category

Reduce size of guest vmdk disks with VMware Fusion 4.1.3 on OS X 10.8 | aitrusblog

Posted by jpluimers on 2014/05/16

Reminder to self: how to decrease vmdk disk size of guest OS (check if it works with Windows guests) using VMware Fusion on Mac OS X.

–jeroen

via: Reduce size of guest vmdk disks with VMware Fusion 4.1.3 on OS X 10.8 | aitrusblog.

Posted in Apple, Fusion, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, OS X 10.8 Mountain Lion, Power User, VMware | Leave a Comment »

MacBook Air/Retina equivalent of Ctrl+Shift+Eject is Ctrl+Shift+Fn+Power (via: Apple Support Communities)

Posted by jpluimers on 2014/05/12

Recent Retina and MacBook Air’s do not have an optical drive, so they do without the Eject button on the keyboard.

The quick keyboard shortcut Control+Shift+Eject is not directly available, so what is the replacement?

A few people that answered this are jr00ck and Evil Rob:

For newer Retina and MacBook Air’s, control+shift+fn+power button replaces control+shift+eject.

In fact you can even press Fn+Power and get a small dialog that lets you choose what to do and offers a “Reopen windows when logging back in” checkbox:
Read the rest of this entry »

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

Mac OS X: copy the current Finder folder or file name to the clipboard

Posted by jpluimers on 2014/05/06

Copying the path from the Finder to the clipboard is a bit cumbersome.

A simple way contains a bit of repetitive steps, and to read Mac OS X: Open a Terminal at Folder from Finder:

  1. Open a Terminal window in the finder
  2. Type this command in the Terminal window
    pwd | pbcopy

This simple way was suggested my User Kyle Cronin, thanks!

Some notes:

  • pwd prints the current working directory.
  • pbcopy copies the input to the clipboard.

Another way is using Automator. It is a bit more complex to setup, but the actual usage is easier:

  1. Select the folder or file in the Finder
  2. Right click
  3. For a folder: select “Services”
  4. Select “Copy File Path”

Setting this up is a bit more complex and requires the first 5 steps from Copy file or folder path to the clipboard in Mac OS X Lion | MacYourself:

  1. Launch Automator from your Mac’s Applications folder. If you’ve never used Automator before, that’s not a problem. This is going to be so simple anyone can do it.
  2. Double-click the Service icon from Automator’s start menu.
  3. Toward the top of the right column, you’ll see this line of text: “Service receives selected _____ in _____”. Choose “Files or Folders” from the first menu and “Finder” from the second.
  4. Next, click on Utilities in the Actions library on the left side. Double-click “Copy to Clipboard” in the middle column. You’ll notice that this action has been added to our workflow on the right.
  5. Go to File > Save in the menu bar and name your service Copy File Path. Our work with Automator is now done, so you can safely quit it once the service is saved.

I’ve skipped the other steps, as I don’t need a keyboard shortcut for this.

–jeroen

via: Copy file or folder path to the clipboard in Mac OS X Lion | MacYourself.

Posted in Apple, Development, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, Scripting, Software Development | 3 Comments »

pickhardt/betty: a command-line like tool like Google Now/Siri for *nix and Mac OS X (requires ruby)

Posted by jpluimers on 2014/05/05

Fun project with potential: pickhardt/betty that was pointed to me by Ilya Grigorik – Google+.

Betty is a natural language (for now: English based) front end for tools like curl, find, wc, whoami, find, etc.

It requires ruby, and runs on *nix or Mac OS X (where it uses osascript for iTunes).

–jeroen

via: Ilya Grigorik – Google+ – Betty is an english-like interface for your command line:….

Posted in *nix, Apple, Development, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Ruby, Software Development | Leave a Comment »

Reaver 1.4 (and wash) on Mac OS X 10.9 Mavericks

Posted by jpluimers on 2014/04/19

Reaver-WPS is an excellent tool to test the security of your WPA/WPA2 secured network against the WPS vulnerability.

Getting Reaver 1.4 (which contains wash to scan WiFi networks) to compile out of the box on OS X Mavericks (which is 10.9; why can’t they keep a successive version number in the product name?) didn’t work.

So I downloaded the adapted source pack from one of the comments in Issue 245 – reaver-wps – Support for Mac OS X? – Brute force attack against Wifi Protected Setup – Google Project Hosting (as the diff still not has been applied to the codebase)..

wash will detect most, but not all networks. I’ve net yet tried WireShark, wpscan and wspy yet (they re supposed to get all of them).

To speed up the checking process I tried on install aircrack-ng to associate a Mac with the target network. Compiling aircrack-ng on a Mac from source didn’t work at all. But after installing MacPorts, I could get the MacPorts version of aircrack-ng to work. The bad news: I could not get aircrack-ng to associate to the network.

So these were the commands I used:     Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Monitoring, OS X 10.9 Mavericks, Power User | Leave a Comment »

MacBook Fn/Option/Ctrl keyboard shortcuts

Posted by jpluimers on 2014/04/11

I know that Apple likes “design”, but boy their desing resulted into Mac OS X having lots of Fn/Option/Ctrl/Shift keyboard shortcuts.

Being a keyboard person (before the DOS era), I love to learn new keyboard shortcuts to make my life easier, while vendors are step by step hiding information about them.

I will update this table over time to reflect even better the ones I use most regularly.

Read the rest of this entry »

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

Mac OS X: Tools that enable keyboard shortcuts to move a window from one monitor to another (via: Ask Different)

Posted by jpluimers on 2014/04/10

One of the frustrating things about using a Mac, is the pain to find keyboard shortcuts for everyday tasks.

Having had RSI in the early 1990s, I’ve learned to use the keyboard for virtually everything. So I’m used to find keyboard shortcuts on most operating systems, or write scripts to make common tasks easier.

On most *nix or Windows systems, those shortcuts are either there, easy to enable or tools are there to enable them.

For OS X, somehow this seems much harder, so I’m always glad to bumped into answers to questions like

Is there a keyboard shortcut to move a window from one monitor to another? – OSX/Ask Different.

From the answers in that question it is clear this is not built-in behaviour in OS X.

Also the answers show a few tools that can (some free, some paid). So those are on my research list.

But I’m already glad to know that these tools are available.

I’m also going to dig a bit more into Hands-on with OS X Mavericks: Multiple-display support | Macworld, as I’m sure there are some subtle things with multi-monitor setups that I’ve  not yet found myself.

–jeroen

via: osx – Is there a keyboard shortcut to move a window from one monitor to another? – Ask Different.

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | 3 Comments »

Mac OS X: Snow Leopard (10.6) and Lion (10.7) had this, but time remaining on battery icon is gone since Mountain Lion (10.8)

Posted by jpluimers on 2014/04/07

Every once in a while, some major OS vendor removes a really useful feature.

As of OS X Mountain Lion (10.8), the battery icon indicator cannot show the remaining time on battery any more, though it uses that time to indicate low power.

I’ve found that feature really useful in Lion (10.7) and Snow Leopard (10.6), and I’m pretty sure OS X versions before that also had the option to show the remaining battery (charge) time.

There is a big thread about the lack: Time remaining on Mountain Lion battery: Apple Support Communities.

A quick scan in that thread got me a these replacements:

I hope the $099 one is not written by the people that removed the feature from OS X Mountain Lion (:

After trying a few of the above, I filed a complaint at Apple – Mac OS X – Feedback, clicked on “I have this question too” in Time remaining on Mountain Lion battery and went for SlimBatteryMonitor as it uses the least menu bar estate.

Note that for most applications having icons in the menu bar, this is impossible: osx – Can I change the order of non-apple icons on the menu bar of my MacBook? – Super User.

–jeroen

via: Time remaining on Mountain Lion battery: Apple Support Communities.

Posted in Apple, 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 »

smallestdotnet.com via: shanselman/SmallestDotNet (thanks @shanselman)

Posted by jpluimers on 2014/03/29

Brilliant piece of open source:

SmallestDotNetSmallestDotNet.com is a single page site that does one thing. It tells you the smallest, easiest download you’d need to get the .NET Framework on your system.

Even on Mac OS X it is helpful and recommends Mono and on iOS it recommends looking at MonoTouch.

Thanks Scott Hanselman for making this available!

–jeroen

via:

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Apple, Development, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, 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, OS X 10.9 Mavericks, Power User, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: , | Leave a Comment »

*nix: recursively listing “hidden” files from the current directory

Posted by jpluimers on 2014/03/25

As a follow up on my recent rsync on ESXi 5.1 post, as – when rsync in ESXi terminates the hard way because of a lost SSH connection – rsync can leave “hidden” files behind.

A small script that recursively shows the hidden files (those starting with a dot) starting from the current directory:

find . -iname ".*"

More of those (including deleting them, filtering for only files or only directories, etc) are at Linux / UNIX: Bash Find And Delete All Hidden Files Directories.

Note: don’t try to outsmart using something like piping through grep "\/\." as that will also match files who’s parent directories are hidden.

–jeroen

via:

Posted in *nix, Apple, bash, Development, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, 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, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux, VMware, VMware ESXi | Tagged: , | Leave a Comment »