Travel

Categories

Free Mac files backup program

1. get backup : http://www.belightsoft.com/products/getbackup/overview.php

[…]

mount network share and add password in keychain in mac

mount -t smbfs //aoe@samba-srv.ie.cuhk.edu.hk/aoeshare /Volumes/aoeshare

security add-internet-password -a aoe -D “Network Password” -r “smb ” -l “samba-srv.ie.cuhk.edu.hk” -s “samba-srv.ie.cuhk.edu.hk/aoeshare” -w ‘eoa!@#ao’

Add the password to keychain

security add-internet-password -a aoe -D “Network Password” -r “smb ” -l “samba-srv.ie.cuhk.edu.hk” -s “samba-srv.ie.cuhk.edu.hk/aoeshare” -w ‘password’ -T “/System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthAgent”

[…]

How to: Add a user from the OS X command line

Create a new entry in the local (/) domain under the category /users.dscl / -create /Users/toddharris

Create and set the shell property to bash.dscl / -create /Users/toddharris UserShell /bin/bash

March 31st, 2010 | Tags: | Category: 電腦 | Leave a comment

add printer via command line at macosx

Adding and Removing a Printer

This is done via the lpadmin command. To add a printer, use this format:

lpadmin -p Printer_Name -L “Printer Location” -E -v lpd://x.x.x.x -P /Library/Printers/PPDs/Contents/Resources/en.lproj/Printer_Driver.gz

All you have to do to the above is adjust the settings as necessary. Unfortunately, the tradeoff here is that you can’t use spaces in […]

Force duplex printing in Mac Snow leopard

1. Add the duplex printer first

2. edit /private/etc/cups/ppd/hp8150.ppd

3. Search “Duplex None” and replace the fragment from

*Duplex None/Off (1-Sided): ” <</Duplex false>> setpagedevice”

To

*Duplex None/Off (1-Sided): ” <</Duplex true /Tumble false>> setpagedevice”

teamviewer

http://www.teamviewer.com/download/index.aspx Great to setup temporarily remote desktop like connection between two machines. Support Windows & Mac and it require minimal setup.

update osx86 from 10.5.7 to 10.5.8

http://www.ihackintosh.com/2009/08/update-hackintosh-osx86-1058/

1.extract the zip to your desktop (not into a folder, literally to your desktop) this means there should be a file on your desktop called AppleNForceATA.kext 2. open Terminal, (/applications/utilities/terminal.app) 3. type sudo -s in terminal then your admin password following this, now you should be root. 4. type sudo mv /users/(YOUR […]

Install xfig on MacOSX Lepoard

1. Install Xcode 3.1 or above (download from apple developer network)

2. Download Macports from http://www.macports.org/install.php

3. Quit and restart the terminal

4. Makesure /opt/local/bin is in PATH

5. run

sudo port -v selfupdate

6. run

sudo port install xfig

[…]

MacOSX & iLife09

七月頭將我部Mac從新裝過之後, 再加埋裝咗個新iLife09 之後就想用部Mac做D有用嘅野,唔係剩係用嚟試野.

最後就用咗iPhoto+iWeb整咗個website : http://staff.ie.cuhk.edu.hk/~sfluk/iweb/

雖然MacOSX係有佢嘅優點, 仍都越來越多人用, 但我真係覺得都幾難用嚟做我嘅primary working machine. 最重要嘅係佢冇得好似windows咁有得set custom DPI. Apple班engineer都唔知係咪同D眼力唔好嘅人有仇. 大佬呀, 我個mon成1920×1200, 你冇得俾我set DPI, 得default 96 DPI, D字成粒豆鼓咁, 叫人點睇啫, 咁分明趕客嘅啫, 用佢個Magnifier又郁到我頭都暈埋, 我係Vista係用144 DPI架, 都唔知幾舒服.

仲有我係Vista用開微軟office 2007個新速成, 一用Mac個速成就唔掂 (Windows嘅倉頡係第三代, Mac係用第五代, 取碼都幾唔同, 呢D野用開就唔會轉架喇). 跟住上網裝咗奇摩輸入法, 可以用番第三代, 但係都冇得用番微軟新速成,都幾唔慣.

不過佢個iphoto 09同iweb 09確實幾好用, 兩者integate得幾好, 係Windows幾難搵到D兩者同個OS都integate得咁順暢嘅軟件, 可以用Drag & Drop嚟整個都幾decent嘅webpage. 係Vista我主要係用Picasa同Nvu, 兩者冇得比啦. […]

WP-Highlight