Monday, April 7, 2008

A little joke

Young and pretty lady wishes to marry a rich guy. Fantastic reply from a financial
person

A young and pretty lady posted this on a popular forum:

Title: What should I do to marry a rich guy?

I'm going to be honest of what I'm going to say here. I'm 25 this year.
I'm very pretty, have style and good taste. I wish to marry a guy with
$500k annual salary or above. You might say that I'm greedy, but an
annual salary of $1M is considered only as middle class in New
York. My requirement is not high. Is there anyone in this forum who has an
income of $500k annual salary? Are you all married? I wanted to ask: what
should I do to marry rich persons like you? Among those I've dated, the
richest is $250k annual income, and it seems that this is my upper limit. If
someone is going to move into high cost residential area on the west of New
York City Garden (?), $250k annual income is not enough.

I'm here humbly to ask a few questions:

1) Where do most rich bachelors hang out? (Please list down the names and
addresses of bars, restaurant, gym)

2) Which age group should I target?

3) Why most wives of the riches is only average-looking? I've met a few girls
who doesn't have looks and are not interesting, but they are able to marry
rich guys

4) How do you decide who can be your wife, and who can only be your
girlfriend? (my target now is to get married)

Ms. Pretty
---------------------------------------
---------------------------------------
-------------------
Here's a reply from a Wall Street Financial guy:

Dear Ms. Pretty,

I have read your post with great interest. Guess there are lots of girls
out there who have similar questions like yours. Please allow me to analyze
your situation as a professional investor. My annual income is more than
$500k, which meets your requirement, so I hope everyone believes that I'm not
wasting time here.

From the standpoint of a business person, it is a bad decision to marry
you. The answer is very simple, so let me explain. Put the details aside, what
you're trying to do is an exchange of "beauty" and "money": Person A provides
beauty, and Person B pays for it, fair and square. However, there's a deadly
problem here, your beauty will fade, but my money will not be gone without
any good reason. The fact is, my income might increase from year to year, but
you can't be prettier year after year. Hence from the viewpoint of economics,
I am an appreciation asset, and you are a depreciation asset. It's not just
normal depreciation, but exponential depreciation. If that is your only
asset, your value will be much worried 10 years later

By the terms we use in Wall Street, every trading has a position, dating
with you is also a "trading position". If the trade value dropped we will sell
it and it is not a good idea to keep it for long term same goes with the
marriage that you wanted. It might be cruel to say this, but in order to make
a wiser decision any assets with great depreciation value will be sold or
"leased". Anyone with over $500k annual income is not a fool; we would only
date you, but will not marry you. I would advice that you forget looking
for any clues to marry a rich guy. And by the way, you could make yourself to
become a rich person with $500k annual income. This has better chance than
finding a rich fool.

Hope this reply helps. If you are interested in "leasing" services, do
contact me

signed,

The Wall Street Guy

Thursday, February 28, 2008

How to resize quiz timer box

On a 1024x768 resolution, the quiz timer box sometimes block the questions. To resize the box, edit the moodle/mod/quiz/jstimer.php

Look for width on the first "table" and change 150px to 80px. That should fix the problem.

Monday, February 25, 2008

How to read mysql datetime format?

To read datetime from mysql format to a format that we understand, simply just add from_unixtime(fieldname) on your query.

For example: select from_unixtime(lastaccess) from mdl_user;

Thursday, January 10, 2008

VZ Add More Diskspace

To view the current diskspace status, you can enter command
vzquota stat 123 (where 123 is the vz id number)

To increase the diskspace by the current space with factor of 2, command is
vzctl set 123 --diskspace $(( 1048576*2 )):$(( 1153434*2 )) --save

To increase the diskspace by the amount, command is
vzctl set 123 --diskspace $(( 1548576 )):$(( 1753434 )) --save

To increase the diskspace by the inode with factor of 3, command is
vzctl set 123 --diskinodes $(( 200000*3 )):$(( 220000*3 )) --save

Sunday, January 6, 2008

How to set default course

When you create a new course, how do you make it so it comes up as your default setup?
Easy, by editing your moodle/course/edit_form.php file.
You can make changes here.

For example, if you want to make the format to show as topics, then you edit line 98
where it says $mform->setDefault('format', 'weeks'); and change it to
$mform->setDefault('format', 'topics');

Monday, November 12, 2007

Online User Map Block hide username

How to hide the username on the Online User Map Block?

The easiest way to hide the name completely would just be to change a line in getusers.php (in the online_users_map code). The line that needs changing is no 79 and change from:

$puser->fullname = fullname($puser);

To:

$puser->fullname = "";

Then the name will be hidden completely.

Monday, October 29, 2007

Disable Window Key at Keyboard

How to disable Window Key at your keyboard?

1. Open Registry Editor.

2. Goto: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout.

3. Right Klik Mouse and choose [New] > [Binary Value].

4. Give it name Scancode Map then data value with 00 00 00 00 00 00 00 00 03 00 00 00 00 00 5B E0 00 00 5C E0 00 00 00 00.

5. Close Registry Editor then restart PC.