About this blog
We present the latest IT news and tips, and information about our IT courses. Brought to you by Dr. Daniel Wong and Mr. Jude How
Latest news and events
March 2015
« Feb    
facebook like box

Archive for the ‘IT tips’ Category

SO you’ve downloaded the iOS 7 software update to your iPhone. It’s great. You’re enjoying the pretty layout and all of its new features. But your battery doesn’t seem to go the distance quite like it used to.

That’s probably because you’ve got everything open at once. Sure, the new operating system is full of fancy new features, but you don’t need to use all of them, all the time. They suck up lots of battery life even when you’re not using them.

So what exactly do you need to shut down? Here are 6 tips to help you squeeze the most life out of your iPhone battery:

1. Turn off your auto-brightness

You don’t need your screen to be that bright. Go to Setting > Wallpapers & Brightness and turn it off. Manually decrease or increase the screen brightness as you need it, depending if you’re inside or outside. And if you’re really low on battery, crank it down to as dark as you can handle.

Click here to read more

Post to Twitter

Often, when we try to connect to a machine/server with ssh (for a secure connection), the ssh client will not know if the public key it is receiving is indeed from the machine/server it is intending to establish the ssh connection with, so you will get the infamous message along the lines of

The authenticity of host ‘server.name.com (’ can’t be established. RSA key fingerprint is 5a:33:…[a-fingerprint]. Are you sure you want to continue connecting (yes/no)?

You should preferably not blindly say yes unless you can verify the fingerprint. How can this be done?

In the case where the machine/server is on MacOS, and you have some other way to access the machine (e.g., sitting at the machine), you can easily obtain the finger print, since we know:

a) the public key is stored in /etc/ssh_host_rsa_key.pub (at least, in MacOS X 10.4 till at least 10.7, as we checked)

b) ssh-keygen can generate the fingerprint for you

Thus, we can open a terminal window and type

$ ssh-keygen -l -f /etc/ssh_host_rsa_key.pub

to obtain the RSA key fingerprint. Then we can check that it matches the one seen when you try to ssh to the machine.

Post to Twitter

以下是Mozilla Firefox使用者可在面子书里使用的一些快捷键:

1. 可按Alt + Shift + ?以快速至搜索框。

2. 可按Alt + Shift +M以编写新讯息。

3. 可按Alt + Shift +1以快速至面子书首页。

4. 可按Alt + Shift +2以快速至个人资料页。

5. 可按Alt + Shift +3以显示好友请求列表。

6. 可按Alt + Shift +4以显示讯息列表。

7. 可按Alt + Shift +5以显示通知列表。

8. 可按Alt + Shift +6以快速至帐户设置页。

9. 可按Alt + Shift +7以快速至隐私设置页。



Post to Twitter

On Facebook, the Firefox users can press:

1. Alt+Shift+? to go to the search box.

2. Alt+Shift+M to compose a new message.

3. Alt+Shift+1 to go to the home page.

4. Alt+Shift+2 to go to your profile page.

5. Alt+Shift+3 to open the Friend Requests list.

6. Alt+Shift+4 to open the messages list.

7. Alt+Shift+5 to open the Notifications list.

8. Alt+Shift+6 to go to the Account Settings page.

9. Alt+Shift+7 to go to your Privacy Settings page.


Post to Twitter

Have you ever remembered that there is some important information in one of your pdf documents, but you don’t remember which of those documents contains the information? Perhaps a sinking feeling of dread came upon you, as the prospect of going through the documents one by one and searching pushed aside happy emotions in you? Wouldn’t it be nice to be able to search through all those hundreds of documents with one click, or one command-line command? (like using something like “grep” to search multiple text files at once)

Guess what? Adobe Acrobat provides that capability!

acrobat multi doc search    As seen in the image on the left, there is the option to specify “where would you like to search”, and you can set that to be “All PDF Documents in ..” any folder on the hard disk! wonderful! joy, oh joy!

Just select “Advanced search” under the “Edit” main menu. Nice.

Post to Twitter

Ever tried to share a folder located on the desktop, with Windows Vista? You might have been horrified to find, some time later, that not only was your intended folder shared, but the entire c:\Users folder was also shared! Sure, c:\Users contains the desktop (and Documents and other such folders for possibly multiple users of the PC), and in the desktop is that one folder you tried to share. But why does Windows Vista then go and share the entire c:\Users folder?

I encountered this problem before, and was too busy to investigate, so I just copied the contents to be shared into some other folder that was being shared, and that was fine. Today, again, I wanted to share a folder located on the desktop, and ran into the same problem.

Did some google searching and found that it is a known Windows Vista bug (that Microsoft never bothered to fix, apparently?). It was reported in this post from 2008, and you can see that one responder didn’t believe it was possible and that the questioner was at fault, but another responder acknowledged the bug, and posted a solution. The solution is to go to “Advanced sharing” in the folder properties for both the c:\Users and the to-be-shared folder. Uncheck “Share this folder” for c:\Users, and then check “Share this folder” for the to-be-shared folder.

One more thing: if you have subfolders inside that folder you wish to share, doing the above will not cause them to automatically be shared (like they should .. they should inherit the sharing properties of their parent!). You have to manually go and check “Share this folder” on each subfolder that should also be shared. Ugh! Wonder who was responsible for testing file sharing in Windows Vista ..

Post to Twitter

Let’s say you have a Mac running OS X Lion or Mountain Lion, and you want to use git and other command line developer tools. You open a terminal window, and type “git” and it doesn’t find it.

Turns out that when you install Xcode (at least, Xcode 4.5.2 — I haven’t verified this with all versions of Xcode), it puts git and other developer tools in /Applications/Xcode.app/Contents/Developer/usr/bin , but it doesn’t add that directory/folder to your path. So, assuming you are running bash (the default shell), you can add it as follows

export PATH=$PATH:/Applications/Xcode.app/Contents/Developer/usr/bin

for the current shell. If you wish it to be “permanently” added, you can add this line to your .profile (where the bashrc looks for customizations whenever it starts). If this is a new Mac that doesn’t have .profile in your home directory yet, just create a new .profile file, and put the line there.

For more information and related details, see stackexchange

Post to Twitter













Post to Twitter



Please click HERE for viewing the list in larger size.

Post to Twitter

Please follow the steps below to apply a new action, such as “Switch user” or “Restart”, to the power button which is located at the bottom-right of the Start menu in Windows 7:

1. Right-click on the Start button, and then select “Properties” from the pop-up menu.

2. Under the “Start menu” tab, open the drop-down menu next to “Power button action”, and then choose a new action, such as “Restart”, in the menu.

3. Click “Ok”.


Post to Twitter