Archive for the ‘ Tips ’ Category

meta tags for iphone site

Currently I’m working on a site that is expected to work fine on iPhone devices. Obviously I knew that I had to dig up meta tags for iPhone site for Safari on the iPhone devices.

Found this and here are the list of it:

  • <meta name=”apple-mobile-web-app-capable” content=”yes”> : sets whether a web application runs in full-screen mode. (refer to the documentation for the potential values)
  • <meta name=”apple-mobile-web-app-status-bar-style” content=”black”> : Sets the style of the status bar for a web application. (refer to the documentation for the potential values)
  • <meta name=”format-detection” content=”telephone=no”> : Enables or disables automatic detection of possible phone numbers in a webpage in Safari on iOS.
  • <meta name = “viewport” content = “width = 320,
    initial-scale = 2.3, user-scalable = no”> : Changes the logical window size used when displaying a page on iOS.

Mostly I was using viewport. :)

reference links for guides to PHP and CouchDB

Started looking at CouchDB with PHP recently and I will update this post as I find more references.

Learning generics in Java

Good learning if you are interested in learning Java. :)

Link

reference links for rails and git on ubuntu lucid

For ruby and rails:
(I was getting this message “File not found: lib” and finally found the answer after googling..)

Read more

Tips on how to write a resume for web developer/engineer

I’ve been screening a lot of resumes these days to fill out one open position in our team. However, most of resumes that I reviewed writes about what projects were about and what role the candidate was on.

I rejected most of those resumes and sent back to recruiter.

Resume is a representation of you as an developer/engineer. As an engineer, don’t you want to discuss how you solve an puzzle instead of telling me what the puzzle was all about, what the rule the puzzle had, and so on?

I am looking for a resume that shows me how you solved an issue, how you improved performance, why you chose this approach over that approach, and so on.

In summary, I’d like to see more details on how and why you do.

pulling query string in node.js

in web development, pulling data from query string is the basic and fundamental task. In node.js, the syntax is like this:

http://{host}:{port}/?name=shinstudio.com
1
2
3
4
5
6
7
var http = require('http'), url = require('url');
http.createServer(function(request, response) {
    response.writeHead(200, {"Content-Type":"text/plain"});
    var urlObj = url.parse(request.url, true);
    response.write("Hello " + urlObj.query["name"] + "!\n");
    response.close();
}).listen(8000);

you can actually test my test app here:

http://www.groupstick.com:8001/?name=shinstudio.com

Site Scalability/Performance

This is old blog post by Peter Van Dijck, which he posted presentation materials regarding site performance and scalability, but it is still very good resource.

Check it out.

A player

A player definition. Good read.

memcached with java

I found a great post regarding the subject. It’s a very good read.

Tabs in Textmate

My colleague at work gave me a reference to how to set up Textmate so files appear in tab, not in a separate window. It’s not a perfect solution, but still damn good.

Click here to go to the tutorial