2004-01-01ãã1å¹´éã®è¨äºä¸è¦§
rpmã®ãã¡ã¤ã«åã¯ï¼ããã±ã¼ã¸å-ãã¼ã¸ã§ã³-ãã¼ã¸ã§ã³ã¨ããå½¢å¼ãªã®ã§ï¼æ£è¦è¡¨ç¾ã使ã£ã¦åãåºããï¼sedãªããããªæãï¼ sed 's/^\(.*\)-\([^-]*\)-\([^-]*\)$/\1/g'
ããã¤ã³ã¹ãã¼ã«æ¸ã¿ã®packageã«ã¤ãã¦ã¯ rpm -q --queryformat '%{BUILDTIME}' <packageå> rpm -q --queryformat '%{BUILDTIME:date}' <packageå>ã¨ããã¨ï¼buildãããæ¥æã調ã¹ããã¨ãã§ããï¼ãããå¿ç¨ã㦠rpm -qa |\ while read x ; do \ echo `rpm -q</packageå></packageå>â¦
http://d.hatena.ne.jp/pyopyopyo/20041223 ã®delete this ãã¡ãã£ãã⦠ã®ç¶ãï¼cppll ã«ã¦http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.14ã«ãã°ããIs it legal (and moral) for a member function to say delete this?ãã¨ããé â¦
\def\dfrac#1#2{{\displaystyle\frac{#1}{#2}}} \def\tfrac#1#2{{\textstyle\frac{#1}{#2}}}ä»ã¾ã§ä¸çæ¸å½TeXã§æ°å¼ãæ¸ãã¦æ¥ããï¼ãã¯ããå®ç¾©ããã¨æ¥½ã«æ¸ãããã¨ã«ä»é æ°ãä»ããï¼
ã¤ã¿ãªãã¯\itã¨ããã¼ã«ã\bfã¨ãï¼çè¨ä½\calã¨ã {\bf x} {\boldmath x} {\rm x} {\cal x} {\it x}
\bigl( (x) \bigr) \Bigl( \bigl( (x) \bigr) \Bigr)
cppll ã® [cppll:11457] delete this ãã¡ãã£ãã⦠ã®ã¹ã¬ããããï¼C++ã§ï¼ãã¹ãã©ã¯ã¿ã private ã«ããã¨ï¼ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãçæããéã«new ãå¼·å¶ã§ããï¼ class Hoge { private: virtual ~Hoge() {} public: void suicide() { delete this; } â¦
Using the GNU Compiler Collection (GCC): Top Using the GNU Compiler Collection (GCC): Optimize Options
gcc ã¨åããã¦ä½¿ããã¨ã§ï¼ããã°ã©ã ã解æãããã¼ã«ï¼ããè¯ãã³ã¼ããçæããããã®æ å ±ãéãããï¼æªãã¹ãã®ã³ã¼ããæ¢ããã¨ãã§ããï¼ $ gcc -fprofile-arcs -ftest-coverage hoge.c $ ./a.out $ gcov hoge.c hoge.da hoge.bb hoge.bbg ã£ã¦ãã¡â¦
upper_bound(k) k lower_bound(k) k equal_range(k) k == ite ãæºããç¯å²ãè¿ãï¼ã¤ã¾ã pair(lower_bound(k), upper_bound(k))ãè¿ãï¼ ãã ãã³ã³ããã¯äºåã«æ´åããã¦ããå¿ è¦ãããï¼
VMware workstation 5 ã® beta 2 ãå ¬éãããï¼æ®æ®µãããã¼ãPCã§WindowsXPããã¹ãOSï¼linuxãã²ã¹ãOSã¨ãã¦VMware workstation 4.5ã使ã£ã¦ãã. VMware以å¤ã«é¸æè¢ãç¡ããã¨ããããï¼ããã©ã¼ãã³ã¹ããããªããªã®ã§åºæ¬çã«ã¯æºè¶³ãã¦ããï¼ã§ãï¼â¦
æå ã®ã¡ã¢ããï¼ print print å¤æ°å /o 8é² /d 符å·ä»ã10é² /x 16é² /u 符å·ãªã10é² /t 2é² /c æå /f æµ®åå°æ°ç¹ /a ã¢ãã¬ã¹ break ãã¬ã¼ã¯ãã¤ã³ããè¨å®ããï¼ delete [ãã¬ã¼ã¯ãã¤ã³ãçªå·] ãã¬ã¼ã¯ãã¤ã³ããåé¤ããï¼ tbreak ä¸åã ãåæ¢ãâ¦
æå ã®ã¡ã¢ããï¼ã¹ãã¬ã¼ãã±ã¼ãã«ã®å ´åã¯ï¼ä¸¡æ¹ã®ã³ãã¯ã¿ã¨ãã«æ¬¡ã®ããã«çµç·ãã¾ãï¼ _____ ____| |____ | | | | |_|_|_|_|_|_| â æ©æ©ç·ééç·è¶è¶ ç½ ç½ ç½ ç½ ã¯ãã¹ã±ã¼ãã«ã®å ´åã¯ï¼çæ¹ã®ã³ãã¯ã¿ã¯æ¬¡ã®ããã«çµç·ãã¾ãï¼ ããä¸æ¹ã®ã³ãã¯ã¿â¦
http://japan.internet.com/linuxtutorial/20041214/4.htmlãã> ä¸è¨ã§è¨ãã°ãå®ç§ã§ãã©ãã«ã®çºçããªãã³ã³ãã¥ã¼ãã£ã³ã°ç°å¢ãæãã®ãªãã° Fedora ã¯ä½¿ããªããã¨ã ï¼ãã©ãã«ããããªãã³ã³ãã¥ã¼ã¿èªä½ã使ããªããã¨ã ï¼ãæå 端æè¡ã§åªããããâ¦
rpmbuild ã§ãã¾ãrpm ãä½ããªãå ´åãªã©ï¼ rpmbuild ã®å¦çãéä¸ã§åãã¦åå ã調æ»ããããªããã¨ãããç¨ã«ããï¼ãããªã¨ãã¯ï¼ãã¨ãã°ï¼specã®å 容ã«ãããã£ã¦ããããå½ã¦ããã¨ã®ã½ã¼ã¹ã確èªãããå ´å㯠rpmbuild -bp hoge.specã¨ããã°ããï¼â¦
pthreadã使ã£ãããã°ã©ã ãgdbã§ãããã°ãããã¨ããã¨ï¼è¦æ £ããªãã¨ã©ã¼ãåºãï¼ Program terminated with signal SIGTRAP, Trace/breakpoint trap.ã©ãã /lib/tls/libpthread-2.3.3.so ã strip ããã¦ããã¨ï¼ gdb ã§ãããã°ã§ããªããªããããï¼glâ¦
arrayç°å¢ãã¤ãã£ã¦è¨è¿°ããï¼ \[ |x| = \left\{ begin{array}{cc} x & x \ge 0 \\ -x & otherwise \end{array} \right} \]\cases ã使ãæ¹æ³ãããï¼ \[ |x| = \cases{ x & $x \ge 0$ \cr -x & otherwise \cr } \]
arrayç°å¢ãã¤ãã£ã¦è¨è¿°ããï¼ \[ A = \left[ \begin{array}{ccc} 1 & 2 \\ 3 & 4 \end{array} \right] \]\pmatrix ã使ãæ¹æ³ãããï¼ \[ \pmatrix{ 1 & 2 \cr 3 & 4 \cr } ]\
TeXã®æ°å¼ï¼ \begin{eqnarray} a+b & = & 3 \\ a-b & = & 1 \end{eqnarray} æ°å¼çªå·ãä»å ããããªãå ´å㯠\nonumber ãç¨ããï¼ \begin{eqnarray} a+b & = & 3 \nonumber \\ a-b & = & 1 \end{eqnarray}
http://www.feyrer.de/g4u/Symantecã®ghostãã©ãã¿ããï¼ghostã¯ä¾¿å©ãªãã ãã©å¤æ®µé«ãããã£ã¦æã£ã¦ãããã©ï¼ãªãã ãªã¼ãã³ã½ã¼ã¹çããã£ãã®ã(ç¬)ï¼ çµæ§æããåå¨ãã¦ããããããä»æ¥åãã¦ãã®åå¨ãç¥ãã¾ããï¼
http://www.opencvs.org/OpenCVSã¨ãããã®ãéçºããã¦ãããããï¼è¿ã ãªãªã¼ã¹äºå®ã¨ã®ãã¨ï¼ç¾è¡ã®cvsã¯ï¼åºã使ããã¦ãããã¼ã«ã®å²ã«åºæ¥ãæªãã£ããããï¼ãã¨ãã° ã½ã¼ã¹ã³ã¼ããã°ã£ã¡ã(ã»ãã¥ãªãã£ãã¼ã«ããã£ã±ããã) EUCâSJISâJISã®ãããªâ¦
ãã¢ã³ãã ããå¹¾ã¤ãæ°ã«ãªã£ãURLãããã¯ã¢ããï¼
rubyã¯ä¾¿å©ï¼ã§ãæ®æ®µC/C++ã使ã£ã¦ããèªåã«ã¨ã£ã¦ï¼ãã¾ã«ãã使ããªãrubyã¯å¤å½èªãã®ãã®ï¼ ãã¤ã google ã§æ§æãè¨æ³ãæ¤ç´¢ãã¦ããï¼ããã§ruby ã®æ§æã¨ãæ¸ãæ¹ãã¡ã¢ãã¦ããã°ï¼æçµçã«Cè¨èªä½¿ãã®ããã® rubyæ´»ç¨å¤§è¾å ¸ã®ãããªããã¥ã¡ã³ãâ¦
http://web.mit.edu/persci/people/adelson/checkershadow_illusion.htmlç½é»ã®ãã§ãã¯ãã¼ãã®ä¸ã«å½±ãããç»åï¼ã§ãï¼å®ã¯Aã¨Bã¯åãè²ã ã¨ããæåãªç»åï¼ä¹ ãã¶ãã«è¦ãã®ã§ï¼URLãã¡ã¢ï¼Aã¨Bãåãè²ã§ãããã¨ã¯ï¼proofãè¦ãã¨å¤ããããï¼http://â¦
SMTPãµã¼ãä¸ã§ï¼ç¡æã§ä½¿ããããªã¦ã¤ã«ã¹ãã§ãã¯ãæ¢ãã¦ã¿ãï¼ ClamAV (Clam AntiVirus) http://www.clamav.net/ http://clamav-jp.sourceforge.jp/ãªã¼ãã³ã½ã¼ã¹ã§GPLã©ã¤ã»ã³ã¹ãããï¼2004å¹´12æç¾å¨ã§ãï¼é »ç¹ã«ãã¿ã¼ã³ãã¡ã¤ã«ã¯æ´æ°ããã¦ããï¼â¦
Valgrind 2.2.0: Memory Debugging and Profiling | Linux Journalã¡ã¢ãªé¢é£ã® profilerï¼gtkãã¼ã¹ã®GUIãæä¾ãã¦ããï¼ ã¡ã¢ãªå©ç¨ç ç¯å²å¤ã¢ã¯ã»ã¹ã®æ¤åº ã¡ã¢ãªãªã¼ã¯ã®æ¤åº malloc/new/new 㨠free/delete/delete ã®å¯¾å¿ã®ç¢ºèª ãªã©å¿ è¦ãããªæ©è½ã¯â¦
http://doxymacs.sourceforge.net/doxymacs ã使ã㨠emacs 㧠doxygen ç¨ã®ã³ã¡ã³ãã楽ã«æ¸ããã¨ãã§ããï¼ ä½¿ãæ¹ ~/.emacs ãªã©ã«ä»¥ä¸ã®ããã«è¨è¿°ï¼ ;;; -- for doxymacs ;; sumomo-emacs, w3-emacs ã®RPM㨠;; doxymacs.el ãªã©ãå¿ è¦ (require 'â¦
phpã®mailé¢æ°ã§ã¡ã¼ã«ãéããªãå ´åã®å¯¾å¦æ¹æ³ã®ã¡ã¢ï¼ã¾ãmailé¢æ°(ã¾ãã¯mb_send_mailé¢æ°)ã®æ»ãå¤ã確èªã確èªãã æ»ãå¤ãtrueãªãSMTPãµã¼ã*1ã«ã¡ã¼ã«ã渡ãã¦ããã®ã§ï¼SMTPãµã¼ãå´ã®åé¡ï¼ æ»ãå¤ãfalseãªãPHPå´ã®åé¡ï¼ 以ä¸ï¼PHPå´ãåé¡ã®â¦
redhat 9 ã§åãã¦ãã ãããµã¼ãã®dmesg ã« hw tcp v4 csum failed ã¨ãããã°ã大éã«åºåããã¦ããï¼ã©ãã ECN ãæå¹ã«ãªã£ã¦ããã¨åºãå ´åãããããã*1 試ãã« echo 0 > /proc/sys/net/ipv4/tcp_ecnã¨ECNãç¡å¹ã«ãããã¨æã£ããï¼ãããã ã¯ãâ¦
mysqldump ã³ãã³ãã«ãã¼ã¿ãã¼ã¹ã®ãã¹ã¯ã¼ãã渡ãæ¹æ³ã¨ãã¦ã¯ï¼~/.my.conf ãã¡ã¤ã«ã使ãæ¹æ³ãæåã®ããã ï¼å ·ä½çã«ã¯ï¼crontab ãè¨ç½®ããã¦ã¼ã¶ã®ãã¼ã ãã£ã¬ã¯ããªã« .my.conf ã¨ãããã¡ã¤ã«ãä½æãï¼ä»¥ä¸ã®è¨è¿°ãè¡ã [mysqldump] password=â¦