Archivio per la categoria ‘mac’

disable HFS+ journaling on Leopard to use disks read/write with linux

Giugno 15, 2009

this article saved my life…
http://castyour.net/node/40

the key was this command:
yourcomputer:~ youruser$ sudo diskutil disableJournal force /dev/disk1s10

thanks to Las Ruinas De Gringobamba

Tether your iPhone (use it as a modem) before firmware 3.0

Aprile 6, 2009

I was almost convinced in buying PdaNet for iPhone (about 23€…) when i came across this post on http://digg.com/apple/The_Best_Way_to_Tether_Your_iPhone_to_Your_Laptop_for_Free

Here user Bots says that until version 1.33 PdaNet was free.

So, if you want version 1.33, do a google search for “modmyi repo.” Click the first link you see (something like http://modmyi.com/repo), then click “debs2″ (or 2debs, or whatever). Scroll down until you see pdanet1.33.deb, right click it and save to your computer.

Then, scp that into your phone and drop pdanet1.33.deb into /var/root/.

Now you’ve got to install pdnnet 1.33 in one of the following ways:

  • if your phone is connected wifi, ssh into you phone with user root and defautl password “alpine” and type in the command dpkg -i /var/root/pdanet1.33.deb
  • Using MobileTerminal (get if off Cydia if you have to) type in “su,” then type in your password, which is “alpine” by default. Then type in the command dpkg -i /var/root/pdanet1.33.deb

Wait for it to get done.

Then restart/respring your phone.

Show hidden files in Leopard finder

Giugno 23, 2008

from Terminal, write

defaults write com.apple.Finder AppleShowAllFiles YES

to view hidden files and

defaults write com.apple.Finder AppleShowAllFiles NO

to let files to be hidden

Beware that viewing hidden files can confuse, as you will see A LOT of files and folders!!

Leopard screenshot shortcuts

Giugno 21, 2008

Shift-Command-3: full-screen
Shift-Command-4: selective screenshot

with selective screenshot, a crosshair appears, with coordinates of start point, and then dimension of selected screen portion