December 22, 2009

Access ISIS for NUS Computing students

For those trying to VPN to work, forget it, because you can just use SSH tunnels to do it. I say NUS Computing students because I believe we’re the only ones with an SSH account in the school. I could be wrong. :)

The instructions:

Just forward isis.nus.edu.sg:443 to a local port.

For example in the Terminal (on Mac OS X, for example):

ssh -L 8081:isis.nus.edu.sg:443 [yoursunfireusername]@sunfire.comp.nus.edu.sg

(That’s one continuous line)

Then, leaving the terminal window open, access https://localhost:8081/ on your browser. Look carefully, it’s https not http. When you’re done, just close the connection. :)

Comments (View)
December 5, 2009

Thinking of checking out the following:

http://wiki.github.com/mojombo/jekyll

I can’t seem to get enough control out of tumblr. I don’t like the fact that I can’t even type code properly without disabling the Rich Text editor…

Comments (View)

Set Up VirtualBox with MAMP

Here’s how to get your MAMP websites to show in your VirtualBox for browser compatibility testing. I took a while to figure this out so I’m putting it up for others to see.

First, add the following line to the end of the http.conf file in the MAMP directory (usually /Applications/MAMP/conf/apache/http.conf )

<VirtualHost _default_:*></VirtualHost>

Then, stop the server (if it’s running) and start it again. This just makes sure that while connecting to the MAMP server, all types of addresses will get to the document root directory that you’ve set. Now, from your Guest machine (which by default is connected via NAT configuration) on Virtualbox, you just have to access http://10.0.2.2:8888/ and you’re accessing the MAMP webserver. Done.

Comments (View)
October 22, 2009

Had a weird dream of receiving a birthday party invitation from Sean. And visiting the dentist with Emily. (she was patient)

Weird.

Comments (View)
October 18, 2009

Full of disappointment. All I can think of is how to torture myself. Since when have I deteriorated to this level. I can’t do anything right. I’m always neglecting my priorities. This isn’t me. What happened? Did something go wrong somewhere? Screwing up and then seeking comfort. Or screwing up then scolding myself. Are those the only things I can do?

Comments (View)