Archive for the ‘Mac’ Category
Posted by jpluimers on 2015/10/15
LOL:
The if syntax of your script was a bit…well, iffy.
Indeed it is:
#!/bin/bash
#toggle AppleShowAllFiles
current_value=$(defaults read com.apple.finder AppleShowAllFiles)
if [ $current_value = "TRUE" ]
then
defaults write com.apple.finder AppleShowAllFiles FALSE
else
defaults write com.apple.finder AppleShowAllFiles TRUE
fi
killall Finder
Even the alternative if statement is:
if [[ $(defaults read com.apple.finder AppleShowAllFiles) == TRUE ]]
–jeroen
via osx – Toggle AppleShowAllFiles with a simple bash script? – Stack Overflow.
Posted in Apple, bash, 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, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2015/10/09
When you’re not a frequent iTunes user, and recycle computer systems, then every once in a while you will get you in to a situation where you have Music on your iPod, but not on your PC any more.
Whereas iTunes is great at putting music on an iPod, it cannot get it back.
There are numerous paid tools to get the music from your iPod, but doing it manually is not that hard. Below are a few links to get you started, but they all come down to this:
- Your iPod has a hidden folder called iPod_Control in the root
- Inside the iPod_Control folder is a folder called Music
- Inside the Music folder, there are folders named with letters and numbers like F00
- Each numbered folder has media (music, video or even photos!) files with a strangely encoded name like B00N.mp3 or 3DUN.m4v with supported media extensions including mp3 m4a m4p jpg gif tif m4v mov.
- The media files contain meta data with song, artist, album, etc.
The steps to copy them back
- Do not erase your iPod when opening it in iTunes!
- Ensure you can mount your iPod as a disk (the “enable disk use” option in iTunes)
- Mount your iPod as a disk in Mac or PC
- Ensure you can view the hidden files
- Copy the Music folder including all subfolders to your Mac or PC
- Unhide the Music folder and all
Music and Music/F* folders inside it using this chflags trick from Unhiding Unix Directories | Apple Support Communities:
chflags nohidden Music
chflags nohidden Music/F*
- Add these to your iTunes library and have iTunes re-generate the correct filenames from the meta-data
Some links explaining this in more detail:
–jeroen
Posted in Apple, iPod, iTunes, 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, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9 | 2 Comments »
Posted by jpluimers on 2015/09/11
During the last update of Microsoft Remote Desktop for my Mac, I noticed there is a beta available with a feature very familiar for users of visionapp – ASG-Remote Desktop: it allows you to manage common credentials.
Note the uncommon URLs of both the beta page redirect and the download:
In the mean time, I learned that “Microsoft has acquired HockeyApp. This is a tremendous opportunity to continue to provide developers with the best app development tools and users with the best app experiences.”, but the aka.ms is new to me. Anyone knows what it is about? A successor of go.microsoft.com/fwlink redirects?

New Mac OS X beta of Microsoft Remote Desktop announced.
I’m keeping an eye on this, as future features interest me much: Multiple monitors, Clipboard redirection, Remote Desktop Gateway, Remote Resources (RemoteApp and Desktop Connections), and Azure RemoteApp preview.
BTW: I wasn’t aware Remote Desktop made it this many platforms yet, as I’m mainly a Windows 8.x/7, Mac and Android user, but here you go:
- Windows 10 Universal Windows platform (Preview).
- Windows 8.1.
- Windows Phone.
- iOS.
- Mac OS X.
- Android.
–jeroen
via:
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows | 1 Comment »
Posted by jpluimers on 2015/08/31
Posted in Apple, 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, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2015/08/17
I like how MaylorTaylor formulated his question around this topic on superuser:
“USB Deivces Disabled: unplug the device using too much power to re-enable USB devices.“
Basically he regression tested many permutations of devices, cables, ports, rebooting, etc.
I had a similar problem, and found it hard to track down as it was intermittent. In the end it was not 1 but 2 USB cables being not completely reliable.
So the warning can use some improvement:
- sometimes it is not a device but a cable
- it doesn’t indicate on which USB port this happens
–jeroen
via: mac – USB device Disabled Mavericks – Super User.
Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Pro, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2015/07/06
Wow:
- 52800mAH Ultimate External Battery for Macbooks
- 26000mAH Macbook External Battery & Car Adapter
That’s (nah Triad) 50+ and 25+ Ampere hour of battery capacity.
Which is the similar to what car and motor cycle batteries can hold.
–jeroen
via Macbook External Battery & Car Adapter Charger.
Posted in Apple, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Power User | Leave a Comment »
Posted by jpluimers on 2015/05/29
Need to check this out in the summer: see if there is PCIe SSDs available for my Late 2013 Retina MacBook Pro.
Newer-generation 13″ and 15″ Retina MacBook Pros use newer SSDs with faster PCIe connectors. As of early 2015, no third-party SSDs are compatible with this standard, but we’re expecting to see options hit the market closer to the middle of the year. Some Retina MacBook Pro SSDs will apparently be capable of achieving speeds in the 1.2GB/second range, compared with the 700-800MB/second speeds of stock drives.
–jeroen
via: How-To: Upgrade the SSD in your MacBook Air or Retina MacBook Pro, boosting size & speed | 9to5Mac.
Posted in Apple, Mac, MacBook, MacBook Retina, Power User | Leave a Comment »
Posted by jpluimers on 2015/05/21
fseventer is a great tool for investigating Mac OS X file system events. Like many low-level tools, it requires admin privileges.
This is apparent through the use of the tool “fseventer” which monitors what files on your hard drive are being accessed.
–jeroen
via: Intermittent but frequent OS X pauses may be from iCloud syncing | MacIssues.
Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2015/05/01
A few places, including the comment thread at MacWorld UK – New 2015 MacBook Pro with Retina display release date, specs and UK pricing – News – Page 2 – Macworld UK have a some rumours on the Macbook Pro Retina QHD+ 2015 Expected Specs: Skylake and more.
This would be having the Skylake Tock of the Intel Tick-Tock.
If Apple pulls that of this year, I’m sure lots of high end developers and graphics people are going to get it:
Macbook Pro Retina QHD+ 2015 Expected Specs.
- Processor : Intel Skylake i7-6770HQ (40% Faster & 50% Power Efficient Over Haswell)
- RAM: 32 GB DDR4 @ 2400 Mhz.
- Display : Retina QHD+ (iPS/OLED 30% Power Saving!)
- Hard Disk : 3rd-gen PCIe SSD 2.1Gbps Read Speed 1.6Gbps Write Speed.
- Graphics Card : Intel & GTX 970 M 4GB DDR5 256Bit. (300x Faster & 50% Less pwr vs 750m)
- Body/Looks : New Thinner Design & 3 Color Options.(Radical New Look)
- Security : Touch ID integration.
- Webcam : Improved Face time HD Camera 1080p @ 60fps
- Keyboard : New Multi Color LED Backlight Keyboard.
–jeroen
Posted in Apple, Mac, MacBook, MacBook Retina, Power User | Leave a Comment »
Posted by jpluimers on 2015/04/06
Thanks User Chris Page – Stack Overflow for answering on StackOverflow:
- How to open a Terminal from a selected Folder in the Finder
- Hoe wo open a Finder at the current Folder in a Terminal
Some quotes of his answer:
As of Mac OS X Lion 10.7, Terminal includes exactly this functionality as a Service. As with most Services, these are disabled by default, so you’ll need to enable this to make it appear in the Services menu.
System Preferences > Keyboard > Keyboard Shortcuts > Services
Enable New Terminal at Folder. There’s also New Terminal Tab at Folder, which will create a tab in the frontmost Terminal window (if any, else it will create a new window). These Services work in all applications, not just Finder, and they operate on folders as well as absolute pathnames selected in text.
…
In addition, Lion Terminal will open a new terminal window if you drag a folder (or pathname) onto the Terminal application icon, and you can also drag to the tab bar of an existing window to create a new tab.
…
Finally, if you drag a folder or pathname onto a tab (in the tab bar) and the foreground process is the shell, it will automatically execute a “cd” command. (Dragging into the terminal view within the tab merely inserts the pathname on its own, as in older versions of Terminal.)
…
You can also do this from the command line or a shell script:
open -a Terminal /path/to/folder
This is the command-line equivalent of dragging a folder/pathname onto the Terminal application icon.
–jeroen
via: osx – Open terminal here in Mac OS finder – Stack Overflow.
Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | 2 Comments »