Archive for August 2006
Country list Combo box
Hi, sometimes it should be helpful. (credit goes to IBM registration page
)
<html:option value=”Australia”>Australia</html:option>
<html:option value=”Canada”>Canada</html:option>
<html:option value=”Germany”>Germany</html:option>
<html:option value=”Japan”>Japan</html:option>
<html:option value=”United Kingdom”>United Kingdom</html:option>
<html:option value=”United States of America”>United States of America</html:option>
<html:option value=”Afghanistan”>Afghanistan</html:option>
<html:option value=”Albania”>Albania</html:option>
<html:option value=”Algeria”>Algeria</html:option>
<html:option value=”American Samoa”>American Samoa</html:option>
<html:option value=”Andorra”>Andorra</html:option>
<html:option value=”Angola”>Angola</html:option>
<html:option value=”Anguila”>Anguila</html:option>
<html:option value=”Antarctica”>Antarctica</html:option>
<html:option value=”Antigua and Barbuda”>Antigua and Barbuda</html:option>
<html:option value=”Argentina”>Argentina</html:option>
<html:option value=”Armenia”>Armenia</html:option>
<html:option value=”Aruba”>Aruba</html:option>
<html:option value=”Austria”>Austria</html:option>
<html:option value=”Azerbaijan”>Azerbaijan</html:option>
<html:option value=”Bahamas”>Bahamas</html:option> Read the rest of this entry »
Wow hasan.we4tech.com configured
just few minutes back i have configured hasan.we4tech.com my blog domain.
thank you NetNeuron for configuring DNS stuff..
following code where required on httpd.conf to map hasan.we4tech.com on somewhereindhaka.net server
ServerAdmin hasan@somewherein.net DocumentRoot d:/apache2triad/htdocs/hasan_blog ServerName hasan.we4tech.com ErrorLog logs/hasan.we4tech.com-error_log CustomLog logs/hasan.we4tech.com-access_log common ServerAdmin hasan@somewherein.net DocumentRoot d:/apache2triad/htdocs/ ServerName somewhereindhaka.net ErrorLog logs/hasan.we4tech.com-error_log CustomLog logs/hasan.we4tech.com-access_log common
useful list of wordpress plugins
useful list of wordpress plugins…
http://mtdewvirus.com/code/wordpress-plugins/
Buggy Google code
i was trying to create a project for more than 30 minutes… but could not get it done…
it was again and again returning the same error page…

** Last update: i could make it ![]()
Closure in java
many known java ppl
“Gilad Bracha, Neal Gafter, James Gosling and Peter von der Ahé”
have posted a proposal for adding closure to java language… this change may be added to JDK 7
http://blogs.sun.com/roller/resources/ahe/closures.pdf or
http://gafter.blogspot.com/2006/08/closures-for-java.html
Gafter: http://gafter.blogspot.com/2006/08/whats-point-of-closures.html
Bracha: http://blogs.sun.com/roller/page/gbracha?entry=achieving_closure
van der Ahé: http://blogs.sun.com/roller/page/ahe?entry=full_disclosure
http://www.javalobby.org/java/forums/t77733.html
(Thank you harald kuhr)
To whom never worked with closure:
http://martinfowler.com/bliki/Closure.html
Example in ruby:
[1,2,4,5].each { |item| puts item }
Example in java (proposed)
Before closure:
void doit(API api) {
api.doRun(new Runnable(){
public void run() {
snippetOfCode();
}
});
}
After closure:
void doit(API api) {
api.doRun(() { snippetOfCode(); });
}
Pageflakes and YouOs – not Google – are the Ajax Kings
InformationWeek took a close look at Google and about 20 startups to find out who’s the Ajax King. In the “webtop” or “personalized startpage” category – arguably the most important of all categories – the winners are Pageflakes and YouOs, ahead of Google and Microsoft.
Customize HTML file field
Hi,
as we know html file field is unchangeable. you can change border style but you can’t use a button instead of traditional style.
recently i have introduced an article which clearly illustrated several examples.
though you can read it from here i am also giving my code snap.
here is live example: customized_file_field.html
<html>
<head>
<style type="text/css">
.file {
position: relative;
-moz-opacity:0;
filter:alpha(opacity: 0);
opacity: 0;
z-index: 2;
left: -160px;
}
.fake {
position: absolute;
top: 0px;
left: 0px;
z-index: 1;
}
</style></head>
<body>
<form action="null" style="position: relative;">
<input type="file" name="file" class="file" id="upload-file" />
<div class="fake">
<input type="button" value="upload" />
<input type="submit" value="submit" />
</div>
</form>
</body>
</html>
Hitman: bload and money BanG BanG… (Game over)
$Id$: How to apply SVN Keywords
SVN keywords are pieces of useful information. which is populated by svn itself.
$Id$
$LastChangedDate$
$LastChangedRevision$
$LastChangedRevision$
$LastChangedRevision$
etc.. are SVN’s predefined keywords.
SVN by default does not apply this keywords on any source.
here is simple command which will enable this keywords to your source code.
$ svn propset svn:keywords "Id LastChangedDate LastChangedByastChangedRevision" *.java





