Archive for the ‘Apple’ Category
Posted by jpluimers on 2015/11/30
On Mac OS X, bare route and ifconfig give way too much information to view the most important things at once.
So I used an alias for this:
route -n get default | grep 'gateway' && echo && ifconfig | grep '\: flags\|inet\|inet6'
Later I needed IPv6 support, so I changed it to:
netstat -nr | grep 'Internet\|Gateway\|default' && echo && ifconfig | grep '\: flags\|inet\|inet6'
So you get something like this:
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.178.1 UGSc 23 0 en4
default 192.168.71.1 UGScI 7 0 en0
Internet6:
Destination Gateway Flags Netif Expire
default fe80::3631:c4ff:fe47:13f1%en0 UGc en0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::6203:8ff:fea2:4814%en0 prefixlen 64 scopeid 0x4
inet 192.168.71.40 netmask 0xffffff00 broadcast 192.168.71.255
inet6 2001:982:2345:1:6203:8ff:fea2:4814 prefixlen 64 autoconf
inet6 2001:982:2345:1:4011:119a:e527:e021 prefixlen 64 autoconf temporary
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::426c:8fff:fe44:95ea%en4 prefixlen 64 scopeid 0xb
inet6 fd00::426c:8fff:fe44:95ea prefixlen 64 detached autoconf
inet6 fd00::74a7:8f26:cd22:20b7 prefixlen 64 detached autoconf temporary
inet 192.168.178.22 netmask 0xffffff00 broadcast 192.168.178.255
–jeroen
via:
Posted in Apple, 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/11/16
The only reliable way to create a remote print-screen is by using the Windows On-Screen Keyboard. It even works with Alt-Prt+Sc to make screenshots of individual Windows.
Just run OSK to start the On-Screen Keyboard.
–jeroen
via: osx – How to print screen in Remote Desktop Client (RDS) on Mac OS X? – Super User.
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, 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/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/10/05
Solution for:
My 6th generation nano plays same song over and over and will not shuffle songs or play them like it is supposed to skipping to next song. What do i need to do to get it back to normal?
peter’d in response to Karrojava:
If you have that second Nano, the one that is 1 3/4 inches, perfectly square, and your song is playing over and over, you need to put your finger on the double arrows that move to next song and swipe left. You’ll get the screen with the repeat loop, the genius icon and the shuffle icon and you’ll see that the repeat loop has a 1 showing. Just touch it and the one will disappear. It took me an hour to figure this out and I even got it twice and couldn’t figure out what I did. It isn’t in the current Nano instructions as the newer ones have easier access to these icons.
This is the sequence of screens from iPod nano in delhi | iPad in delhi | HP Laptop in delhi | Samsung Notebook | Chirag Desktop | Gaming Headphone | Apple, MAC Computers | VHS INFOTECH PVT. LTD.:
Playing song: swipe, then
Repeat count; Genius; Shuffle mode.
Note: this iPod doesn’t auto-roate so you use two fingers to rotate it 90 degrees on any screen
Rote the screen:
Use two fingers to rorate the screen.
–jeroen
via
Posted in Apple, iPod, iPod Nano, Power User | Leave a Comment »
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 »