how can I solve these two stochastic integrals? 

$$\int_0^T B_t\,dB_t$$
$$\int_0^T f(B_t)\,dB_t$$

where B_t is the BM. 

Thank you very very much!


Question: How to enable or disable services?
Answer: For those of us who run Ubuntu over ssh, I think the nicest option is rcconf - a text based program: 

sudo apt-get install rcconf
sudo rcconf




Navigate with tab and arrow keys, press spacebar to enable/disable. Changes are persistent across restarts.

Screenshot borrowed from this blogpost, which also shows sysv-rc-conf - a similar tool that also lets you set the runlevel. (For those who happen to care enough about runlevels to wish to change them :) 

Unfortunately, rcconf doesn't work with upstart (services listed in /etc/init/*), just with the traditional mechanism (ls -l /etc/init.d/* - the ones that are not symbolic links).

Fortunately, many of the services that are relevant when ssh-ing in to a server (Apache, Tomcat, mdadm, boinc-client...) haven't been moved to upstart yet.