Random stuff
All for Mac Pro 10.8
Cloning an SD Card
Do
diskutil list
to get
disk#
. Then
-
sudo dd if=/dev/disk2 of=~/Desktop/boot.dmg
Insert the new card and format it in diskutil, then unmount it. Do
-
sudo dd if=~/Desktop/boot.dmg of=/dev/disk2
SSH without password login
In home directory:
-
ssh-keygen -t rsa –C “username@HeadNodeIPaddress”
This stores the key in ~/.ssh/id_rsa.
Enter a passphrase or if you leave this blank (not such good security) then no passwords are needed.
Then
Sending yourself a notification email from terminal
mailx -s "Your job is done" < /dev/null "login@blahblah"
Time servers
Add given time servers' IP address in
/etc/ntp.conf
Speeding up Mail in Mac 10.8
-
sqlite3 ~/Library/Mail/V2/MailData/Envelope\ Index vacuum
Setting up printer for Mac, UCT physics department
To install:
- Go to http://www.konicaminolta.com.au/downloads?ref=dlptl
- Select
Office
, bizhub 363
- Select your operating system and download the file and run it.
- Then go to https://www.icts.uct.ac.za/modules.php?name=Your_Account&page=iprint
- Fill in your login details (UCT student number and password).
- select IPP00817 as the printer, download and install it
- Go to system preferences, print and scan
- Add a new printer and select the IP tab.
- Fill in the IP: 137.158.92.77
- Select the Protocol =Line Printer Daemon - LPD"
- Under the Use tab select "Select printer software" and choose "Konica Minolta 363 PS"
- Add the printer. A window will pop up with settings. For "Paper Source=PC-409", "Finisher=FS-529", "Punch holes=none"
To test:
- Open a document in Preview and select "Print"
- In the drop down menu that says "Preview" go to "Output Method"
- Select "Account Track" and enter printer account password