iPhone: Hotmail on iPhone

Filed in iPhone | mac Leave a comment

apple just made hotmail on iphone even easier with iPhone OS 3.0!
have added the print screen and instructions on how to add.

Go to “Settings”, “Mail, Contacts, Calendars”,
IMG_0003

Select “Add Account…” under Mail,
IMG_0005

Select “Other”,
IMG_0006

Choose “Add Mail Account”,
IMG_0007

Enter your account info, note that address to be your full @hotmail.com or @live.com address, as shown,
IMG_0008
click on “Save” and the account will automatically be configure, setup and verified.

Once verified, you shall see the following information under your Hotmail account settings.
IMG_0009

and you are good to go!, sadly, hotmail only have support for POP, lagging IMAP, meaning no synchronization. well, pretty microsoft.

then for those who wants to setup Hotmail on Apple Mail, i assume you are a proficient enough user to no need print screens, the information are as follows:
Incoming Server: pop3.live.com (Port 995)
username: yourusername@hotmail.com OR yourusername@live.com
Outgoing Server (SMTP Server): smtp.live.com (Port 25)
Make sure SSL is checked, your outgoing port is 25 and authentication is required.

If anyone need a step by step with print screen, post in comments and i will add it in.

, , ,

Mac: Safe Sleep

Filed in mac Leave a comment

recently while scanning my harddisk with this awesome tool, OmniDiskSweeper from the Omni Group, i realise i have a 4GB file in “/var/vm” with the filename “sleepimage”, initially thinking it was a sleep image created by VMWare, which i use to run windows to debug ie, i deleted it, but it jus keep coming back! googling didn’t help much in figuring out what this file do and who created it until today!

that when i learnt about this hidden function of mac call Safe Sleep from MacWorld, is one very old article, but is very relevant, you can go over to macworld to read more, i am just going to record a few important points here.

to check current setting: (in terminal)

pmset -g | grep hibernatemode

the output will be something like:

hibernatemode 3

the 3 here indicates the mode, other mode incldues,
0 – Old style sleep mode, with RAM powered on while sleeping, safe sleep disabled, and super-fast wake.
1 – Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive.
3 – The default mode on machines introduced since about fall 2005. RAM is powered on while sleeping, but RAM contents are also written to disk before sleeping. In the event of total power loss, the system enters hibernation mode automatically.
5 – This is the same as mode 1, but it’s for those using secure virtual memory (in System Preferences -> Security).
7 – This is the same as mode 3, but it’s for those using secure virtual memory.

my mac current mode is 3, and really i don’t really need safe sleep, so m gng to jus switch mine to 0.
in terminal again, type:

sudo pmset -a hibernatemode 0

alright, now in terminal again,

sudo rm /var/vm/sleepimage

4gb of hdd space recovered! imaging the new mac with 8gb of ram! gosh, that will be 8gb of hdd saved man!
but ok, if you ever lost power while in sleep mode, you lost everything! depends on how you weigh the importance.

Source:
Set newer portable Mac’s sleep mode
How to Quickly Sleep Your MacBook

, , , ,

Mac: Disk Utility, Format Fail

Filed in hardware | mac Leave a comment

I see a lot of post or google results when i try to google: “file system formatter fail”.
i got this error when i was trying to format my 1 Tera Maxtor HDD to be Mac OS Extended (Journaled), the problem here is, it a previously a MS-DOS(FAT) format. So the partition is actually Master Boot Record for booting into DOS or Windows based computer.
To solve this, you will realise you have gotten that extra “Partition” tab along with the “Repair”, “Erase”, “Raid”, “Restore” tabs. Go to that tab and then under the advance option, select your partition to be “GUID”.
And tada, you will be able to properly format your HDD to Mac OS Extended.

Quite dump on Disk Utility to not automatically resolve this problem.

, ,

Mac: Unlocking multiple file easily

Filed in mac Leave a comment

recently copied some files from windows drive into my mac and ended up with a lot of read-only files being locked.
is a pain to unlock that thousand over files to delete them! good i found this method

chflags -R nouchg <directory-name>

simply open terminal and type the above command in, it will recursively unlock all folders and files in that directory, the same goes if you are unlocking one file only:
chflags nouchg <dir-fileName>

, ,

Overcoming Gmail “All Mail” Folder in IMAP

Filed in gmail | mac 2 Comments

Wahoo! Google blog about this quite a while back and i didn’t realise it.
They have this new add-on currently experimental in their labs section, while gmail is still in beta, so almost everything is labs!

So the problem here is Gmail IMAP offer a very good means for almost everyone to sync their email in mail, iphone and thunderbird etc (outlook sucks in imap features, especially with gmail). BUT the “All Mail” label in gmail can get quite irritating when u start seeing duplicates emails in your “Inbox” and “All Mail” folder. and even more irritating when search produce 2 email of exact same thing from the 2 folders, of cos, there was recommendation like this to remove it from spotlight, but if your gmail account have 4gb of email, you are actually using 8gb to cache 4gb of your email.

So come “Advance IMAP Setting for Gmail”, simply go to “Settings” then under the “Labs” tab, search for:
Advance IMAP Controls
picture-1

Enable it, and simply go to the “Filters” tab to exclude your “All Mails” label from showing in IMAP.
picture-4

You can read more about this in google’s blog linked below.

Source: Google System Blog – Advanced IMAP Settings for Gmail

, , , , ,

emptying large log files

Filed in mac | software | unix Leave a comment

my apache error_log file was like getting over 400mb! and go googling to figure how to empty these error messages and found this!

# cat /dev/null > /private/var/log/apache2/error_log

that simple! and the error_log file is emptied.
simplest method, fast and easy way to empty any file

,

Mac: Lynx Text Web Browser and SEO-Browser

Filed in mac | software Leave a comment

Being trying out some seo stuff, well, have yet to optimise this site, but was workin on a wordpress site for a client, many interesting reads. one pretty good one will be this:
WordPress SEO by Joost de Valk
well if u googled, he will probably be among the top few in the PR for that search term.

Being using Lynx through SSH on my unix server, so now that i got a mac, Lynx on mac!
a very easy install

may want to check out this cool page SEO Browser
what i find so interesting is that it show you how your site is redirected like those permanently moved 301 and stuff. very good, in fact, i am trying to do something like this now. but more for searching for orphans links, missing images etc.

, , ,

Mac: Connecting to msSQL Server on Mac

Filed in mac | php 3 Comments

This is for ppl who are mac lover and mysql lover but due to work requirement have to conenct to mssql server on their mac.

if you had installed PHP Apache Module from Entropy.ch the following instruction is for you, else, you may try my earlier post on installing msSQL extension for php in *nix/Centos Server, largely used by WHM/cPanel.

entropy’s php for the version i install for mac is still in beta. but it comes with freeTDS installed, i am not too sure about the earlier versions. so to conenct to mssql server you jus have to configure your freetds.conf file which should be located in, the path,

/usr/local/php5/etc/freetds.conf

you may had name “php5” with something else instead.

vi this file or open with a text editor and insert the following line at the end.

[MSHOSTNAME]
host = MSHOSTNAME
port = 1433
tds version = 8.0

note that MSHOSTNAME for both case mus be the same, and is something like 192.168.0.100 or mssql.somehost.com etc. it should be the hostname you are connecting to probably in your php script.

ie: $link = mssql_connect(‘MSHOSTNAME’,’username’,’password’) or die(‘Damn! Unable to connect to msSQL Server!’);

tds version depends on the mssql server version you are connecting to, gennerally 8.0, and port is standard 1433 unless your remote mssql server connects on weird port number.

save, and you are done!

, , ,

Mac: Apple Remote

Filed in mac Leave a comment

so you jus brought an apple remote and you want to pair it with your macbook, macbook pro etc, what do you do?

from Apple, it says:
1. Log in as an Admin user.
2. Get extra close to your Mac (about 3 or 4 inches away).
3. Point the remote at the Apple logo on the front of your Mac.
4. Press and hold the Menu and Next/Fast-forward buttons simultaneously on the remote for 5 seconds.

well, it got me trying for hours and still nothing works, until i found this webpage!

So, if the above 4 steps dun work for you,
replace step 4 with:
Press and hold the Menu and Play buttons simultaneously on the remote for 5 seconds.

simple! it is time apple update their support articles!

, ,

Mac: Show or Hide Hidden Files in Mac

Filed in mac Leave a comment

a mac addict already, i should be having writing quite a lot of post on mac related stuff.

you generally wun need to see the hidden files in mac except prolly if you are using subversion, cos i was attempting to delete the .svn folder. which is by default and definitely hidden.

to show hidden files, open Terminal, and type the following:

1. defaults write com.apple.finder AppleShowAllFiles TRUE
2. killall Finder

omit “1.” or “2.”
statement 1. will state show hidden to TRUE, so to hide hidden files, jus do the same 2 line with FALSE.
statment 2. kill all “Finder” forcing a restart, warning! dun killall Finder if you are moving files or copying, etc.

Source: Slash Dot Dash

, , , ,

TOP