Loading... Cancel

$Id$: How to apply SVN Keywords R

August 3rd, 2006

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

Posted in Other

Ooo My computer!!! R

September 10th, 2005

My Computer is becoming slow to slower slower to slowest ……..
Here is one snap

Posted in Other

Where we are going R

August 20th, 2005

Where we are going

I have been surprised when I heard about Chain bombing …

Are we going in a trap like Iraq?

I am enough frank to speak out my thinking…

Whenever I have watched the great documentary DVD from http://www.911inplanesite.com/
I have been surprised.
“Corruption is not in 3rd world it is actually in AMERICA…, there is no dirty work they can’t do… ” that was my first expression slide out from my mouth.

America would never mind if you kill their people instead you will give your assets.
Please visit this site and checkout their says (they are AMERICA indeed) .. http://www.911inplanesite.com/

As a Bangladeshi I cant belief that we have enough ability to organize this sort of bombing.

1. We by born not so organized
2. We have lack in entrepreneur
3. We are very emotional
4. We don’t have much money

What I marked in news papers

1. No killing

2. Highlighted on only one group

3. That group published some Arabic and Bengali Leaflets (Strange because we are not much Arabic literate so why they had published in Arabic ????)

4. From where they had collected their bombs??

5. We have more than 20 Islamic group all of them are splitting day by day… now my question where these Islamic groups are not organized themselves how they sufficient organized for this bombing.??.

What I think?

1. We are in trap. Some country must got something significant in our country and want to kick out ourselves from our home.
2. Who is our enemy?? We…
3. Look deeply why we are flattering AMERICA?. Because we are bounded
4. Why we are poor? – Because of honesty
5. Why we are not confident? – Because of honesty
6. Why we don’t have leading people? – Because of Honor
7. Why we have dirty politics? – Because we lost our honor
8. Why Why……

I like my country.. however it may be the worst country in the world..

OPEN YOUR EYES AND SHARE YOUR FEELINGS

Why you blame us??? Why you blame our government???

……………

What is democracy???

1. Democracy is the BIG arm of America. They kill you just by the Keyword “Democracy”
2. Their people usually enjoy their life.
3. We the Bengali Muslim people do not have Enjoyable life because of our deep feelings in life….we belief on the next steps of life….. its really a little stupid thinking about our future that we don’t have anything after dead….

I like my country and like to alert all people who have little brain to contribute for our country.

** Buddies I made some complex situation …..:D

No way don’t dislike to express my opinion in wrong words…..

Hasan

Posted in Other

Community….. R

August 19th, 2005

Community makes your life easier …. I think u cant imagine if your are not familiar with LinkedIn (http://linkedin.com) and other network as well…. Here some summary that will help u to get in…

You -->Have 5 friends
 |
 |
 +--
    Your friends have 5x10=50 Friends
 |
 |
 +--
     They have 50x......

IS it wondering!!!?? 

Posted in Other

JsHashMap R

June 29th, 2005

I have tried to implement one JavaScript based Collection object with iterator……
Here is my code snaps….

JsHashMap.js



/////////////////////////////////////////////
///// Js Object //////
///////////////////////////////////////////
// Author: NHM TAnveer Hossain Khan (Hasan)
// http://hasan.we4tech.com
// mail:admin@we4tech.com

// hashmap internal data object
JsObject=function(key, value) {
this._key=key;
this._value=value;
}

// set some methods for JsObject
JsObject.prototype.getKey=function() {
return this._key;
}

// get value
JsObject.prototype.getValue=function() {
return this._value;
}

/////////////////////////////////////////////
//// Iterator ///////
///////////////////////////////////////////
JsIterator=function(array) {
// set internal array
this._array=array;

// create inernal index counter
this._counter=0;

// set _hasNext value
if(array.length>0)
this._hasNext=true;
else
this._hasNext=false;
}

// return boolean value
JsIterator.prototype.hasNext=function() {
return this._hasNext;
}

// return object in next method
JsIterator.prototype.next=function() {
if(this._array.length>this._counter) {
// get object
var rtnObj=this._array[this._counter];
// increment counter value;
this._counter++;
// check is has next true of flase
if(this._array.length>this._counter)
this._hasNext=true;
else
this._hasNext=false;

// return data
return rtnObj;
}
else {
this._hasNext=false;
}
}
// remove object
JsIterator.prototype.remove=function() {
this._array.splice(this._counter,1);
if(this._array.length > this._counter)
this._hasNext=false;

}

/////////////////////////////////////////////
//// HashMap Object ///////
///////////////////////////////////////////

// create JsHashMap class object
JsHashMap=function() {

// init. internal array
this._array=new Array();
// set internal counter value as 0
// this counter will keep track the current index
// of array
this._counter=0;
}

// create add method
// put key and value
JsHashMap.prototype.put=function(key, value) {
// add new value
var newJsObj=new JsObject(key, value);
// add in internal array
this._array[this._counter]=newJsObj;
// increment the internal index counter
this._counter++;
}

// retrive data based on iterator
JsHashMap.prototype.iterator=function() {
// create iterator
var it=new JsIterator(this._array);
// return iterator
return it;
}

// retrive data based on keyword
JsHashMap.prototype.get=function(key) {
// create iterator object
var it=this.iterator();

// iterate untile get success
while(it.hasNext()) {
// fetch object
var getObj=it.next();

// check is found or not
if(getObj.getKey()==key)
return getObj.getValue();
}
}

// remove key and object
JsHashMap.prototype.remove=function(key) {

}

Example

//———————————-
// Usages
//———————————-
var hash=new JsHashMap();
hash.put(”key1″,”my_value1″);
hash.put(”key2″,”my_value2″);
hash.put(”key3″,”my_value3″);
hash.put(”key4″,”my_value4″);

// retrive iterator
var it=hash.iterator();

alert(”FIRST”);
/// check iterator
while(it.hasNext()) {
var getObj=it.next();
alert(getObj.getKey()+”:”+getObj.getValue());
}
alert(”SECOND”);
/// check iterator
while(it.hasNext()) {
it.remove();
}
alert(”THIRD”);
/// check iterator
while(it.hasNext()) {
var getObj=it.next();
alert(getObj.getKey()+”:”+getObj.getValue());
}
// get single object
alert(”KEY2: “+hash.get(”key2″));
alert(”KEY3: “+hash.get(”key3″));

Thank you……

Posted in Other

Very Busy ! Very Busy!! Very Busy!!!…. R

May 24th, 2005

I can consider everything (except my religion and relations) for some exciting jobs.
I described my previous post that I got one exciting job (SMS Yahoo).
Yea I am also adding MSN (though I got 90% success), Hope I can finish it soon …..

Posted in Other

Math is Religion!!!! R

May 10th, 2005

I collected this image from URL
Math is Religion!!!

Posted in Other

OOO Allah So many thanks. R

May 10th, 2005

I could complete all initial features and hope i can chk it tomorrow…..

Posted in Other

Started new exciting project R

May 9th, 2005

Hu!!. Got one interesting project. Today i seated before my computer around 6 PM and still working. Because I have to complete one exciting project :D …. I like to play with this sort of things… I think my project will really interesting to every people……

Posted in Other

How to add Google Ads. In your Word Press Blog?? R

May 8th, 2005

Follow these steps:

1. Log on your blog administration panel
2. Click on manage link
3. Click on files
4. Select Main Template
5. And place your google Ads. Code in your desired place.
6. You may want to place in Navigation panel or Body u can do it.

Note: You template file “wp-content/themes/your-theme/index.php”
must be writable

Example: Google Ad. Sense Code:


<script type=”text/javascript”>
google_ad_client = “pub-1021446156033695″;
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = “468×60_as”;
google_ad_channel =”";
google_color_border = “B0E0E6″;
google_color_bg = “FFFFFF”;
google_color_link = “000000″;
google_color_url = “336699″;
google_color_text = “333333″;
</script>

<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>

Posted in Other