분류 전체보기
-
--MARK-- in /var/log/messagesComputer/linux 2007. 7. 31. 06:04
[En] Strange output in the /var/log/messages file as Jul 30 22:13:18 localhost -- MARK -- Jul 30 22:33:18 localhost -- MARK -- this is a default option or the syslogd. With the man page of the syslogd, -m interval The syslogd logs a mark timestamp regularly. The default interval between two -- MARK -- lines is 20 minutes. This can be changed with this option. Setting the interval to zero turns i..
-
xset commandComputer/linux 2007. 7. 27. 23:16
Several options about xset xset -dpms : disable DPMS (energy star) xset +dpms: enable DPMSxset dpms 0 0 0 : disable 'standby' 'suspend' 'off' mode respectively.xset dpms 300 600 900 : enable 'standby' 'suspend' 'off' mode with 300, 600, and 900 seconds respectively.xset s off : off the screen saver xset s on : on the screen saver xset q : the current settings will be displayed.
-
GD Graphics LibraryComputer/linux 2007. 7. 26. 00:40
It is the time to use a graphic library in the C program. debian and ubuntu package is apt-cache search gd |grep 'GD Graphics Library' the web site of the library is http://www.libgd.org one old basic example is http://www.libgd.org/%22OldBasics%22
-
t distribution and GSL random number generatorold memories/physics 2007. 7. 2. 22:57
t distribution with large degrees of freedom is the same as Normal (Gaussian) distribution with mean 0 and standard devitation 1 approximately.normal[x_] := PDF[NormalDistribution[0, 1], x]t[x_, nu_] := PDF[StudentTDistribution[nu]], x]Plot[{normal[x], t[x, 3], t[x, 6], t[x, 20]}, {x, -6, 6}, PlotStyle -> {Black, Gray, Blue, Red}]Five real random numbers x0 from the Gaussian distribution (0,1): ..