Bootable USB with OS X Mountain Lion

Find the InstallESD.dmg
- either from App Store (Start installing Maverics (even if you are already on Maverics) and the location to the file is: /Applications/Install OS X Mavericks.app/Contents/SharedSupport/InstallESD.dmg
- you can also extract it from the Recovery Partition

Note: do not use the iso version and don't try to convert it. You will fail.

Then download http://liondiskmaker.com/ and follow the instructions.

Default contact group on iPhone

My iPhone downloads my contacts from gmail. Whenever I click on 'Add new contact' I want this new contact to be uploaded to gmail. Unfortunately that is not the default behaviour. The new contact goes to iCloud, even though my default mail and contacts account is gmail.

Here's how to fix this:

20120625-150844.jpg

Remove the iCloud contacts sync. This will completely remove the iCloud contacts group:

20120625-151005.jpg

Problem solved

Review: Global Delight's Boom - boost mac's volume

Sometimes some youtube clips, movies or podcast have their audio recorded really low. My Macbooks' sound is not really strong, so when I listen to such a video I struggle to catch the speech - especially when I'm in the shower.

Global Delight has created Boom. It costs $4.99. A software solution to such a problem - it can boost the volume up to 400% and has a system-wide equalizer:

Here's an indian presenting it: http://www.youtube.com/watch?v=MMiv-qHHeNw&feature=player_embedded#at=197.

Mac OS X finally with a real Java

A quote from a newsletter from Oracle.

Oracle and Apple Announce OpenJDK Project for OSX; Java SE 7 and 8 JSRs Approved

Good news all around! Oracle and Apple announced the OpenJDK project for Mac OS X. Apple will contribute most of the key components, tools and technology required for a Java SE 7 implementation on Mac OS X, including a 32-bit and 64-bit HotSpot-based Java virtual machine, class libraries, a networking stack and the foundation for a new graphical client. OpenJDK will make Apple's Java technology available to open source developers so you can access and contribute to the effort.

Furthermore, the JCP Executive Committe has approved the JSR "quartet" for Java SE 7 and Java SE 8. With this ratification, the Java standard will progress through the JCP while the open source reference implementation will be delivered through the OpenJDK project. See you on OpenJDK!

-The Oracle Technology Network Team (See Team Blog)

This means Java SE 7 woud be available for Mac OS X too and that Apple users will receive Java as soon as other platforms dog. Also the four JSRs for Java SE 7, Java SE 8, Project Coin and Lambda Expressions.

Как да гледаме iptv.bg на iPhone/iPad

Това е ръководство за гледане на телевизии и слушане на радиа от iptv.bg чрез iPhone/iPad. Ръководството е тествано на iPhone 4G, iOS 4.1.

Важно е да се обележи, че ако не можете да гледате iptv.bg от компютъра, няма да можете да го гледате и от телефона - трябва ви wi-fi свързаност от провайдер, който е клиент на iptv.bg (Мтел не е клиент на iptv.bg и дори и радио не може да се слуша).

Необходими програми

Необходимо е телефонът, с който ще се гледа телевизия, да е jailbrеaked (споко, законно е).

  • iFile (има я в Cydia, платена)
    - файлов мениджър
    - има вграден текстов редактор (за отваряне на asx файловете)
  • iPhone Safari Download Manager (има я в Cydia, платена)
    - позволява сваляне на файлове от Safari
  • OPlayer (платена, 2.39€)
    - видео плеър - да плейва WMV8 енкоднати ASF стриймове (iptv.bg ползва такива)

За съжаление и трите програми са платени. С изключение на първата, другите две вероятно могат да бъдат заменени с други, които имат подобна функционалност (FStream успешно беше използван за слушане на радио).

Необходими стъпки

  1. Отворете iptv.bg в Safari и се логнете (създайте си потребител ако нямате):
  2. Изберете си телевизия или радио и изберете разделителна способност (hi-res и lo-res). Гледането на телевизиявисоко качество дори и на iPhone 4G е с насичане, въпреки че разделителната способност се "събира" в екрана на 4G. Ниското качество работи гладко на същия телефон.
  3. Задръжте пръст на тази иконка,  за да се отвори контекстното меню и, след като то се отвори, натиснете "Download Target...", което е част от Safari Download Manager (показано по-долу). Без Safari Download Manager няма да имате червения бутон:
  4. Изберете си папка, в която да запазите asx файла (папката няма никакво значение):
  5. Отворете iFile и намерете папката, в която сте свалили asx файловете:
  6. Цъкнете на синята стрелка вдясно от файла и ще се отвори следното меню:
  7. Изберете "Open with..." и ще се отвори следното меню:
  8. Изберете "Text Viewer" и asx файлът ще бъде отворен с текстов редактор. Asx файловете са мета файлове и всъщност стриймът за гледане на телевизия е този, който е трябва да се копира.
  9. Копирайте избраният адрес:
  10. Отворете OPlayer и изберете "Open URL":
  11. Ще се отвори следната страница, цъкнете на адрес бара:
  12. Изберете пейст, за да копирате адреса от asx файла:
  13. Сега адресът за гледане е зареден и остава само да натиснем бутона Done, за да го заредим:
  14. Voila, вече гледаме телевизия. Това е високо качество и насича сериозно дори и при "избити" други приложения.
  15. Ето и други скрийншоти (ниско качество):
  16. Ръчното вадене на url-тата е адски досадно, но OPlayer помага като запазва последните използвани адреси, а линковете дори и след няколко дни все още са активни (не знам кога expire-ват):

    (Плейлисти не знам как се правят, накрая ме домързя)

Заключение

Качеството на гледаната телевизия е добро, няма насичане. Може да се слуша радио на фонов режим и да се работи с други програми. Аз започнах тази идилия, защото исках да слушам радио Витоша, а те стриймват само през iptv.bg и така стигнах до гореописаното решение.

Допълнителна информация: https://mihail.stoynov.com/2010/12/07/iptv-bg-on-iphone/.

Изпробвано и работи на iPhone 4G, iOS 4.1. Не съм тествал на iPad, защото нямам такъв под ръка, но смятам, че ще стане. Ако някой друг тества на друго устройство или с други програми, ще се радвам да сподели мнение в коментарите.

Вероятно същото решение може да се приложи и на Android телефони или Windows Mobile, Symbian, Blackberry като се използва същото вадене на стрийма, но не съм пробвал. Всеки споделен опит е добре дошъл.

По-удобно би било ако iptv.bg предлагаха директен линк към asf стрийма. Не пречи да се пита.

Macbook, the mac way of doing things.

After having a Dell Inspiron for a year (search ‘dell’ in the blog) and having issues with stability (battery died in less than a year, the power charger blew up, it started falling apart, heating up) I decided it’s time for a change. I wanted something very sturdy and then saw the new aluminum body Macbook. So I thought this was it.

I now have it for 6 months and I’m pretty happy with it. Battery takes up to 4 hours, usually 2.5h. The body is exceptionally strong. It' doesn’t heat as much although when Firefox goes berserk (100% processor time) it does heat up.

Switching to Mac OS took some time, but still a lot less than expected. There’s always a windows on a virtual machine, but I rarely use it. Mac OS is really nice to play with. And a lot faster than the vista I had on the dell (search vista in the blog).

I’m not an Apple fan for so many reasons, but they made a pretty stable and usable laptop. That’s my initial experience.

While in the states I saw the new one, with the only major difference being a battery they claim could support the laptop for 7 hours. I don’t believe it, but even 5 would be very nice. Especially for 9-hour over-Atlantic-ocean flights.

How to set up networks and dhcp on vmware (on Mac and other OSs)

How to do networking with VMWare Workstation or VMWare Fusion?

For clarity, let's assume that the host (the machine running vmware fusion or vmware workstation) has the ip of 192.168.0.10.

On every virtual machine there are three options:
Bridged (VM becomes visible to other machines beside the host. It has an IP like 192.168.0.11).
Nat (VM is visible only to the host, there is internet).
Host only (VM is visible only to the host, but no internet).

Do ipconfig or ifconfig.
vmnet8 is for NAT.
vmnet1 is for host-only.
These are whole networks for virtual machines. If nat is chosen, then the VM would be supplied an IP from the vmnet8 pool.

DHCP.
If 'bridged' is chosen, then the administrator of 192.168.0.1 must assign an address to the VM.
if 'nat' or 'host-only' is chosen, then:
(I'll describe how to do this on a mac):

goto:

$cd /Library/Application Support/VMware Fusion

stop vmware networking:

$sudo ./boot.sh --stop

Let's suppose vmnet8 is 172.16.57.1 and vmnet1 is 172.16.163.1.

I would like to change the network from 172.16.57.1 to 172.16.16.1 and I would like to specify a virtual machine with a specific IP.

We're still in /Library/Application Support/VMware Fusion

Then:$ grep 172.16.57 *locations:answer VNET_8_HOSTONLY_HOSTADDR 172.16.57.1

Then all files in the list must be changed.Then we go into /Library/Application Support/VMware Fusion/vmnet8/

Then the same: 

$ grep 172.16.57 *dhcpd.conf:subnet 172.16.57.0 netmask 255.255.255.0 {dhcpd.conf:    range 172.16.57.128 172.16.57.254;dhcpd.conf:    option broadcast-address 172.16.57.255;dhcpd.conf:    option domain-name-servers 172.16.57.2;dhcpd.conf:    option netbios-name-servers 172.16.57.2;dhcpd.conf:    option routers 172.16.57.2;nat.conf:ip = 172.16.57.2nat.conf:# or ip = 172.16.57.2/24

All of them must be changed.

If a specific VM must have a specific IP we go to:/Library/Application Support/VMware Fusion/vmnet8/dhcpd.conf and we add the following:(get the mac from the VM (ipconfig, ifconfig eth0))

host myhost {    hardware ethernet 00:0C:29:B2:C9:69;    fixed-address 172.16.16.16;}

Then to renew the ip (ipconfig /release, ipconfig /renew for windows):sudo ifconfig vmnet downsudo ifconfig vmnet up

The last thing is to start the vmware networking:sudo ./boot.sh --start

Then to renew the ip inside the VM (ipconfig /release, ipconfig /renew for windows):sudo ifconfig vmnet downsudo ifconfig vmnet up