IT

Page navigation on Mac

As newbie Mac OS user I’ve faced problem “where the f**k are page up, page down, etc. keys?”. A little of exploration and here it is (MacBook Pro):
fn + arrow down = page down
fn + arrow up = page up
cmd + arrow down = end
cmd + arrow up = home
fn + backspace = delete (this is quite annoying that on PC I’ve had one button for that)

Why trial version are dying?

As I have new toy (MacBook), I need new software for it. As I’m a little paranoid about security (yeah, I know, there are no viruses on Mac) I’ve wanted to add some antivirus to my new system. I’ve worked with many such programs in the past, so I know that sometimes (or mostly) it happens that they’re slowing down computer. I’m new to Mac OS and very happy already about it performance, so I don’t want to ruin it. Obvious thing for me was to try some trial version, before I would buy it. As I’m using Norton on my desktop PC I’ve wanted to buy Symantec product also for Mac, I’ve didn’t noticed any trial version on their website, but didn’t gave up and called support. They’ve told me that indeed there is no trial, but I can buy it and return it if I’m not satisfied in 60 days. OK, it’s not bad I thought and was planning to buy it as soon as I would get back from work. When at home I’ve recalled that Kaspersky was about to release antivirus for Mac, so I’ve checked their site and yeah, there was trial. I’m using it right now and didn’t noticed any slowness (well, system is starting up and shutting down a little longer), so I would probably buy it after 30 days trial. Even though it’s 10$ more expensive than Norton.

My bank is learning from Schneier, but isn't good student

Bruce Schneier is the person well known to everybody interested in IT security. Recently he published blog post about why two-factor authentication is not solving all security problems. For those who don’t know what this term means, two-factor authentication is basically system where first you’re giving your “constant” password (password which doesn’t change), then if you’ve provided correct password system is sending you another one which is generated for you just for this single use (this password can be generated also by some small device provided to you by system admin). When you’ll provide valid second password system would let you in. Mr. Schneier is writing that it’s not as safe as many people used to think, because it can be intercepted (for details read his post), so he suggest to use transaction based authentication, instead of session.

Reset root password in Debian

Today I’ve faced embarrassing situation, I’ve forgot my root password to my Debian VM. I know this is lame. But happened, so I’ve started looking for solution and after viewing few more or less helpful websites I’ve compiled my own solution. To reset root password on Debian (Lenny) do following:

  1. During start of PC when there is your boot manager displayed press “e”.
  2. Move arrow on the keyboard to highlight “kernel”.
  3. Press “e” again.
  4. On the displayed line change “ro” to “rw” and add “init=/bin/bash” at the end. Without quotation marks of course.
  5. Press Enter and then “b” to boot your Debian.
  6. Debian would boot to bash console with root privileges. Now execute “passwd” command and input your new password.
  7. Reboot your system.

That’s it. Your root account is now back. Enjoy!

VMWare Workstation and switching between Linux virtual terminals

I’m using VMWare Workstation a lot to virtualize my testing environments. Along with many other OSs that I’m using there are Linux systems and one of the most useful functionality in Linux are (in my opinion) virtual terminals. Virtual terminal is like your another monitor, so when doing many things you can avoid mess by using few “desktops” instead of one. In Linux you’re creating and switching between terminals by pressing CTRL+ALT+F1-12. Problem with VMWare is that CTRL+ALT has special meaning there, so pressing mentioned combination does nothing. Instead you can use workaround, first press CTRL+ALT+SPACE, then release SPACE and press F1-12 button.

How to get colored syntax in Vim on Debian

I’m using Debian Linux as a second operating system. Previously I was using it only for my servers, but now I’ve decided to start doing some software development on it. As I love bash environment, the choice of text editor was pretty obvious, Vim, the greatest editor ever made. But problem was that I like my syntax to be colored, it’s easier to write program code then. No problem, I thought, quick searching via Google gave me the “:syntax on” command which should enable what I’ve wanted. After typing it in my Vim I’ve received a message “command not available in this version”, WTF? So I’ve searched and searched, and searched a little more:) And finally solved it!

Windows Update is not multilingual!

For about a month I was receiving notification that there is service pack 2 available for my Office 2007 package via Windows Update. So I’ve chosen to install it, but it always returned error when installing. Today I’ve decided that it’s about time to update my Office, so I’ve navigated to MS site and downloaded update manually. Started installation and boom, error again! But then something came to my mind, “wait a minute, I have English version of Vista, but Polish version of Office!”. Of course, it was so simple. I’ve downloaded Polish version of service pack 2 and installation went smoothly. Yeah! But why Windows Update cannot recognize that I’m using Polish version. Is it making decisions only basing on version of OS? Apparently yes, but it’s stupid. Hopefully it would be fixed in Windows 7.

Be hidden

Good news to all people for whom being private in Internet counts. Some Netherlands based company started to provide free, that’s right completely free, VPN service. It’s enough to register and you can enjoy 128-bit encryption over your Internet connection which would gain you some privacy. You don’t have to install any software, just configure VPN connection in your system. Of course as it’s new and it’s free be careful, because all your Internet traffic would go through their servers first. I would not do any credit card transactions when connected with their VPN for the time being, lets wait and see if there would be no bad words about it in Net. But for any other type of activity I suggest to give it a try. For now it’s pretty fast, but we will see how it would go when it would start to be popular. Now go to their website itshidden.com and enjoy!