Thursday, July 9, 2009

Robe and Wizard hat

bloodninja: Baby, I been havin a tough night so treat me nice aight?

BritneySpears14: Aight.

bloodninja: Slip out of those pants baby, yeah.

BritneySpears14: I slip out of my pants, just for you, bloodninja.

bloodninja: Oh yeah, aight. Aight, I put on my robe and wizard hat.

BritneySpears14: Oh, I like to play dress up.

bloodninja: Me too baby.

BritneySpears14: I kiss you softly on your chest.

bloodninja: I cast Lvl. 3 Eroticism. You turn into a real beautiful woman.

BritneySpears14: Hey...

bloodninja: I meditate to regain my mana, before casting Lvl. 8 Cock of the Infinite.

BritneySpears14: Funny I still don't see it.

bloodninja: I spend my mana reserves to cast Mighty F*ck of the Beyondness.

BritneySpears14: You are the worst cyber partner ever. This is ridiculous.

bloodninja: Don't f*ck with me bitch, I'm the mightiest sorcerer of the lands.

bloodninja: I steal yo soul and cast Lightning Lvl. 1,000,000 Your body explodes into a fine bloody mist, because you are only a Lvl. 2 Druid.

BritneySpears14: Don't ever message me again you piece of ****.

bloodninja: Robots are trying to drill my brain but my lightning shield inflicts DOA attack, leaving the robots as flaming piles of metal.

bloodninja: King Arthur congratulates me for destroying Dr. Robotnik's evil army of Robot Socialist Republics. The cold war ends. Reagan steals my accomplishments and makes like it was cause of him.

bloodninja: You still there baby? I think it's getting hard now.

bloodninja: Baby?

-------------------

bloodninja: Ok baby, we got to hurry, I don't know how long I can keep it ready for you.

j_gurli3: thats ok. ok i'm a japanese schoolgirl, what r u.

bloodninja: A Rhinocerus. Well, hung like one, thats for sure.

j_gurli3: haha, ok lets go.

j_gurli3: i put my hand through ur hair, and kiss u on the neck.

bloodninja: I stomp the ground, and snort, to alert you that you are in my breeding territory.

j_gurli3: haha, ok, u know that turns me on.

j_gurli3: i start unbuttoning ur shirt.

bloodninja: Rhinoceruses don't wear shirts.

j_gurli3: No, ur not really a Rhinocerus silly, it's just part of the game.

bloodninja: Rhinoceruses don't play games. They f*cking charge your ass.

j_gurli3: stop, cmon be serious.

bloodninja: It doesn't get any more serious than a Rhinocerus about to charge your ass.

bloodninja: I stomp my feet, the dust stirs around my tough skinned feet.

j_gurli3: thats it.

bloodninja: Nostrils flaring, I lower my head. My horn, like some phallic symbol of my potent virility, is the last thing you see as skulls collide and mine remains the victor. You are now a bloody red ragdoll suspended in the air on my mighty horn.

bloodninja: Goddam am I hard now.

--------------

BritneySpears14: Ok, are you ready?

eminemBNJA: Aight, yeah I'm ready.

BritneySpears14: I like your music Em... Tee hee.

eminemBNJA: huh huh, yeah, I make it for the ladies.

BritneySpears14: Mmm, we like it a lot. Let me show you.

BritneySpears14: I take off your pants, slowly, and massage your muscular physique.

eminemBNJA: Oh I like that Baby. I put on my robe and wizard hat.

BritneySpears14: What the f*ck, I told you not to message me again.

eminemBNJA: Oh ****

BritneySpears14: I swear if you do it one more time I'm gonna report your ISP and say you were sending me kiddie porn you f*ck up.

eminemBNJA: Oh ****

eminemBNJA: damn I gotta write down your names or something



Awesome awesome :) I crack up every time I read this. :D

Source:
http://www.albinoblacksheep.com/text/bloodninja
http://bash.org/?104383

Friday, June 26, 2009

C++ Convert string to upper/lower case

To convert an std::string to upper case you can use the following:

#include <algorithm>
#include <string>
…
std::string data = “Abc”;
std::transform(data.begin(), data.end(),
data.begin(), ::toupper);

For converting to lower case, you need to replace ::toupper with ::tolower.

Thursday, June 25, 2009

HOW TO run explorer in Sun Solaris

to run explorer..

first time run this:

# /opt/SUNWexplo/bin/explorer -g

from then on, run this;

# /opt/SUNWexplo/bin/explorer

Sunday, June 14, 2009

Why is Microsoft running ads for BING via Google ??????



While watching Top Gear today I stumbled onto something rather "special" as I would like to call it.

Its an ad for Microsofts new search engine "Bing" on Youtube which is owned by Google.

The situation is special in more than one way though if you really think about it.

A. Microsoft is trying to gain visibility via a source it knows is used my most people. So by displaying an ad there most earthlings like me who use various services of Google get to know that there exists something called Bing.

B. Google gets nothing by displaying the ad (assuming its under AdSense sort of arrangement) unless someone clicks on the advertisement. So this means that if Microsofts Bing is not popular enough and most people do not click its ad, Google will not generate revenue which is the sole purpose for Googles interest in displaying ads.

C. If people start clicking on ads for Bing via Google, then Google will generate revenue for itself at the cost of losing people who may potentially like Bing and may possibly start using it actively ditching Google.

So should Google display ads for Microsoft ?
Should Microsoft display ads on Google ?

I don't know .. but its sure that things like these keep the humor going.

Tuesday, June 2, 2009

How to Enable or Disable a processor in Sun Solaris

In multiprocessor environments, Sun Solaris can allow enabling or
disabling Processors. This although is not something that we would do
all the time but can come handy when troubleshooting hardware issues.

Sun
Solaris has the psradm utility which allows enabling or disabling a
Processor on the system. The psradm utility changes the operational
status of processors. The legal states for the processor are on-line,
offline, spare, Faulted, and no-intr. An online processor processes
LWPs (lightweight  processes) and can be interrupted by I/O devices in
the system.

To enable or disable
a processor on the system we need to know the Processor ID. This can be
found using the psrinfo utility as follows:

sunsolaris# psrinfo
0       on-line   since 05/09/2008 19:41:32

where 0 is the processor ID.

To know the path of the psradm command

sunsolaris# which psradm
/usr/sbin/psradm

To disable a processor

sunsolaris# psradm -f 0

where ‘0′ is the processor ID and ‘-f’ indicates the processor is taken offline (disable)

To enable a processor

sunsolaris# psradm -n 0

where ‘0′ is the processor ID and ‘-n’ indicates the processor is brought online (enable)


Source: http://www.sunsolarisadmin.com/hardware/how-to-enable-or-disable-a-processor-in-sun-solaris/#more-57