Исправление зимнего российского времени (timezone) в Snow Leopard 10.6.x

В связи с отменой перехода на летнее/зимнее время посвящается.

В Mac OS X настройки часовых поясов находятся в двух местах: /etc/localtime и /usr/share/icu/icudtXXX.dat.
/etc/localtime, который является сиволической ссылкой на /usr/share/zoneinfo/[установленная time zone, например Europe/Moscow], задает настройки временных зон для консоли.
Системные часы, приложения Mail и прочие берут настройки тайм-зон из /usr/share/icu/icudtXXX.dat.

30 октября 2011г. у меня случилось следующее: в Terminal’е и различных консольных утилитах время правильное(localtime был заранее обновлен), а в Mail, системных часах и прочем отстает на час.

Решение проблемы

Continue reading Исправление зимнего российского времени (timezone) в Snow Leopard 10.6.x

Как слушать (стримить) свою библиотеку iTunes через интернет

Mac OS X users and faithful readers of TUAW know that there is great power found in the command-line, but one of the greatest advantages of OS X’s UNIX heritage is the secure shell (SSH) client and server. From the Apple Matters article on SSH tunnels for the common man: “SSH is a network protocol that provides secure communication between two computers.” Its power comes from the ability to create an encrypted tunnel through which a client can send many types of internet traffic.

The Lifehacker article on setting up an SSH server covers the steps necessary to roll your own SSH server whether you are running Windows or OS X. Parts one and two of the Apple Matters series on SSH tunnels provide a lot of useful information on SSH as well as creating an SSH tunnel for encrypting traffic. One such use that has not yet been covered is how it is possible to stream your iTunes library across the internet while using software that is either built-in or available for free.

This tutorial will get pretty technical and assumes that you already have an SSH server and you know how to access it from a remote location (e.g. from work). If you are already past the point of just setting up an SSH server and are asking yourself “what now?” then read on to find out how you too can listen to your tunes at work even though they are trapped at home.

For starters, we must set-up an SSH tunnel from our local machine to our remote SSH server. There are several applications that can be used to create the tunnel such asJellyfiSSH (free) or Meerkat (not free) for OS X and PuTTY for Windows. Additionally, the tunnel can be created from the command-line using Terminal; if you are on Windows you will need to get Cygwin. The tunnel should be created such that you wish to access a remote service on port 3689 of your SSH server and have that forwarded to some random local port above 1024. If you use a port lower than 1024 it will require root privileges and for this reason I recommend something simple like 36890. If you’re doing this the command-line way you’re going to run something akin to the following:

“ssh user@remote_server_ip -L 36890:127.0.0.1:3689”

In a nutshell the command above says to create an SSH tunnel that forwards the service running on port 3689 at the remote server to port 36890 on your local computer. To test the connection you can telnet to “127.0.0.1 36890” and then hit <enter> twice. This should list a killed connection to DAAP-Server: iTunes; if it does then your tunnel is up and everything is ready to go. If this does not work check to make sure that iTunes is running on the remote server, make sure library sharing is enabled or try verifying port 3689 is open at the remote server.

Now that the SSH tunnel is running smoothly, it’s time for the magic portion of the show. You’re going to need to grab an application called RendezvousProxy from here. RendezvousProxy is required for iTunes to be notified of the shared library’s availability. If you are using Windows grab the only binary available and download it. On OS X you will need to download the binary for Java as the OS X binary does not seem to work in Leopard. There is no need to run the included script called “runme.sh” (it will not harm anything, it is simply unnecessary). Launch RendezvousProxy by double-clicking the included jar file; when the application appears you will need to add a host and configure it as shown here:

Once the new host has been added you should see a link to the shared library in iTunes:

At this point you can click on the newly added iTunes library share and start jamming out to the new Britney Spears Killers album. Keep in mind that if you are on dial-up or a similar low-bandwidth connection, the music may skip and problems could occur for users on the network where the SSH server resides. However, if you’re rocking with a good connection and tons of tracks to choose from then you should have no problem finding some music to listen to — probably annoying all of your co-workers.

One more thing: if you happen to have Xcode installed and want to go a step further with this little project it is incredibly easy to fix the OS X binary. All you have to do isdownload the source, open the project in Xcode, and re-build. Also, if you don’t need an interactive terminal session open for the purpose of sending other commands to the SSH server you can add the “-N” flag to the command so it reads “-NL” instead.

Постоянно обновленный гайд по установке хакинтошей

источник

Building a hackintosh—that is, installing Mac OS X on non-Apple hardware—used to require extremely restricted hardware choices and quite a bit of know-how. Now your options are vast and the installation process is fairly simple. With that in mind, here is our always up-to-date guide to building a hackintosh that will walk you through purchasing compatible parts, building your machine, and installing OS X all on your own. Thanks to a new process, it’s even easier than before.

Currently Up-to-Date Version: Mac OS X 10.7.2 (UniBeast Method)
If you’re looking for the former method of installing Mac OS X Lion using TonyMac’s EasyBeast utility, we have archived it here. While there’s really no reason to follow those instructions if you’re looking to install Lion, you can use them to help you install Snow Leopard.

First Things First: What Is a Hackintosh, Exactly?

Continue reading Постоянно обновленный гайд по установке хакинтошей

Гид по комбинациям кнопок загрузки Mac OS X

Your Mac has many secret abilities when you first turn your computer on, and you may have already discovered one or two of these, especially if you’ve ever had to troubleshoot startup problems. This article is a simple list of the startup commands I’ve used over the years. Hopefully it will serve as a quick guide for you. To perform a startup key combination, you simply hold down the keyboard key(s) corresponding to the appropriate purpose when you turn on your Mac. In an ideal world, you hold the keys down while pressing the power button, but some tricky combinations likely require you to press the power button and then very quickly hold down the keys on the keyboard (before the startup sound finishes playing). As you already know, the normal boot sequence is: black screen –> gray screen –> gray screen with Apple logo –> gray screen with Apple logo and spinning gear –> desktop. You should continue holding down these keys until either the gray screen switches to something other than the Apple logo, or if your command needs to boot the computer, hold them down until the Apple logo appears with the spinning gear. Lastly, remember that resetting PRAM/NVRAM will restart your computer, so once your computer reboots while you hold down the Command-Option-P-R keys, you can let go. Hope this helps!

Как скрыть любую иконку из Dock

Некоторые приложения позволяют спрятать свои икону из Dock через настройки. Это может быть полезно, если она также присутствует и в верхнем меню (menubar). Зачем ее прятать? Чтобы избавится от малоиспользуемых элементов и облегчить Dock.

Но что делать, если программа не имеет такой опции? К счастью, есть универсальный метод спрятать любую иконку из Dock. Давайте рассмотрим способ на примере Twitter для Mac.

Для этого найдите приложение Twitter.app, кликните на него правой кнопкой и выберите Показать содержимое пакета → Contents → info.plist.

Найдите параметр LSUIElement и замените <false/> на <true/>. Чтобы вернуть все назад проделайте обратную операцию.

источник