2006-01-01ãã1å¹´éã®è¨äºä¸è¦§
emacsã®æ©è½ãé§ä½¿ãã¦ï¼ã½ã¼ã¹ã³ã¼ããåèªåçã«æ´å½¢ããæ¹æ³ï¼æé ã¯ãã£ãã®2stepã§ãï¼å ·ä½çã«ã¯ step-1 C-c C-q ã§èªåã¤ã³ãã³ã step-2 M-x align-regex ã§ãã¼ã¯ã¼ããæå®ãã¦ããã¹ããæ´å ã¨ããæµãã«ãªãã¾ãï¼ä»¥ä¸ä¾ã¨ãã¦Cè¨èªã§è¨è¿°ããâ¦
vi (å³å¯ã«ã¯viã®æ¹è¯çï¼vim)ã§ã¹ãã«ãã§ãã«ã使ãæ¹æ³ï¼ :set spellemacs ã 㨠M-x ispell-region ã¨ã M-$ ã§åæ§ã«ã¹ãã«ãã§ãã¯ã§ããï¼
VMware ãæä¾ãããããã¯ã¼ã¯ãã©ã¤ã vmxnet ã¯ã linux-2.6.19 ã§ã³ã³ãã¤ã«ã§ããªãã以ä¸ãç°¡åãªããããæ¸ããã®ã§ã¡ã¢ãã¾ãããã©ã¤ãã®ã½ã¼ã¹ã³ã¼ããå±é $ tar xvf /usr/lib/vmware-tools/modules/source/vmxnet.tar 次ã«ãä¸è¨ã®ãããããã¦â¦
åé»ã¨ãï¼å¯¿å½ã§HDDãå£ãã¦ãã¾ã£ãå ´åï¼ããã¦æ®ã£ã¦ãããã¼ã¿ã ãã§ãååºãããã»ã»ã»ããããæ³£ããããªç¶æ³ã«é¥ã£ã人åãã®ä½æ¥ã¡ã¢ï¼æ¦è¦ã¨ãã¦ã¯ï¼ä¾ãã°CDROMãCDRã¸ã³ãã¼ããéã«ã¯ï¼ ä¸åº¦ CDROMãããã¼ã¿ãå¸ãåºãã¦ISOã¤ã¡ã¼ã¸ãã¤ãã£ã¦â¦
redhat/whitebox/fedora ç³»ã§software raidã復æ§ããæé ã¯ä»¥ä¸ã®éãï¼ ä¸æºå ç¶æ³ãææ¡ãã $ cat /proc/mdstatãã¨ãã°ä»¥ä¸ã®ãããªåºåãå¾ãããå ´åï¼md1ãæ§æãã¦ããsda5ã®é åãå£ãã¦ããï¼ Personalities : [raid1] read_ahead 1024 sectors â¦
#include <iostream> #include <iterator> #include <vector> using namespace std; int main() { vector<int> d; d.push_back(1); d.push_back(3); d.push_back(13); copy(d.begin(), d.end(), ostream_iterator<int> (cout, " ")); return 0; } #include <iostream> #include <iterator> using namespace std; int mai</iterator></iostream></int></int></vector></iterator></iostream>â¦
run-mozilla.sh ã¨ããã¹ã¯ãªããã使ãã¨ï¼ããã㬠gdb çµç±ã§firefoxãèµ·åã§ããï¼ $ /usr/lib/firefox-1.5.0.7/run-mozilla.sh -g ./firefox-bin -d gdbããã ãï¼è©³ç´°ã¯ run-mozilla.sh ã®ã³ã¡ã³ãã«ããããæ¸ãã¦ããï¼ 10/23追è¨ï¼ åããã¨ãï¼ $ â¦
2017å¹´11æ6æ¥è¿½è¨ï¼demangle å¦çã追å ããã³ã¼ããå ¬éãã¦ãã¾ãï¼è©³ç´°ã¯ http://d.hatena.ne.jp/pyopyopyo/edit?date=20171106 ã§ï¼http://0xcc.net/blog/archives/000067.html ã«ã¦ç¥ã£ãã®ã ãï¼glibc ã¯ããã¯ãã¬ã¼ã¹ã表示ããããã®é¢æ°ãæä¾ãâ¦
STLã使ã£ãã³ã¼ãï¼ãã¨ãã° std::vector<int> array;ã¨ããã³ã¼ãããã£ãã¨ãã¦ï¼gdbã§ãããã°ä¸ã« array[0] ã®å¤ã確èªãããå ´åã¯ã©ããããï¼å®ã¯ãããçµæ§é¢åãªã®ã ï¼ gdbã§ãããã°ä¸ã«ï¼å¤æ°ã®å¤ã確èªãããå ´å㯠print ã³ãã³ãã使ãï¼ä¾ãã° in</int>â¦
æµ®åå°æ°ç¹æ¼ç®ãè¡ãéã« æµ®åå°æ°ç¹å(floatãdoubleãlong doubleã) è¨ç®ç²¾åº¦ ãå¤ããã¨ï¼å®éã«ã©ããããè¨ç®é度ãç°ãªãã®ã測å®ãã¦ã¿ãï¼æ¸¬å®ããç°å¢ã¯ fedora core 5 ãã¼ã¹ã®linuxã§ï¼ä¸èº«ã¨ãã¦ã¯ linux-2.6.17, glibc-2.4 Intel(R) Pentium(â¦
Cè¨èªã®æ°ããè¦æ ¼ã§ããISO C99ã§ã¯ï¼ æµ®åå°æ°ç¹æ¼ç®ã®ä¸¸ãæ¹ ä¾å¤ã®åãæ±ã ãå¶å¾¡ããããã«ï¼11åã®é¢æ°ãå®ç¾©ãã¦ããï¼ #include <fenv.h> // ä¾å¤é¢ä¿ int feclearexcept(int excepts); int fegetexceptflag(fexcept_t *flagp, int excepts); int feraiseex</fenv.h>â¦
C99ã§ã¯ï¼FLT_EVAL_METHODã®å¤ã§ floatå ã doubleåã®è¨ç®ç²¾åº¦ãå¶å¾¡ã§ããããã«ãªã£ã¦ããï¼ã§ã¯ FLT_EVAL_METHOD ã®åæå¤ã¯ã©ããªã£ã¦ããã®ãï¼ Linuxç°å¢ã§èª¿ã¹ã¦ã¿ãï¼ çµè«: ããã©ã«ãã§ã¯ FLT_EVAL_METHOD 㯠2ï¼ã¤ã¾ã float ã§ã double ã§ã â¦
C99ã§ã¯ï¼FLT_EVAL_METHOD ã¨ããã©ãã«ã®å¤ã§ï¼æµ®åå°æ°ç¹æ¼ç®ã®è¨ç®ç²¾åº¦ãå¶å¾¡ã§ããï¼FLT_EVAL_METHODã®å¤ã¨ä¿è¨¼ããã精度ã®é¢ä¿ã¯ä»¥ä¸ã®è¡¨ã®æ§ã«ãªãï¼ FLT_EVAL_METHODã®å¤ floatåãä¿è¨¼ãã精度 doubleåãä¿è¨¼ãã精度 0 float double 1 double douâ¦
http://objprelink.sourceforge.net/ Objprelink is a code transformation tool that optimizes C++ shared libraries in order to reduce the runtime linking time.
http://www.radiumsoftware.com/0605.html#060531ããï¼Approximate Sorting ã¨ããã¢ã«ã´ãªãºã ããããããï¼å¤§å¤èå³æ·±ãï¼
ä»é ç¥ã£ãã®ã ãï¼å æ 7.0.8 ãªããã¼ã¸ã§ã³ããªãªã¼ã¹ããã¦ãããããï¼ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0.8/jpnæéãåºæ¥ããã¢ããã°ã¬ã¼ããã¦ãããï¼
subversion ã§ç®¡çãã¦ãããã¡ã¤ã«ã«å®è¡æ¨©éãä»ããã«ã¯ä»¥ä¸ã®ããã«ããï¼ $ svn propset svn:executable ãã¡ã¤ã«åãã¡ã¤ã«åã¯è¤æ°åæã«æå®ã§ããã®ã§ï¼*.sh ã«ã¾ã¨ãã¦å®è¡æ¨©éãä»ããå ´å㯠$ svn propset svn:executable *.shã¨ããï¼ Subversiâ¦
http://bashdb.sourceforge.net/ bashã§æ¸ããã·ã§ã«ã¹ã¯ãªããããããã°ã§ããã¿ããï¼ã¹ãããå®è¡ã¨ããæ®éã«ã§ããã¿ããï¼
ã©ã¤ã»ã³ã¹ã®é½åä¸ï¼ debian 㧠googleearth ã使ãããã«ã¯ *.deb ãèªåçæããã¹ã¯ãªããã apt-get ã§ã¤ã³ã¹ãã¼ã« ã¹ã¯ãªããã使ã£ã¦ããã±ã¼ã¸ *.deb ãçæ dpkg -i ã§ã¤ã³ã¹ãã¼ã« ã¨ããä½æ¥ãå¿ è¦ã«ãªãï¼ã¾ãï¼ããã±ã¼ã¸ãçæããã¾ã§ã®ä½æ¥â¦
Tiny C Compilerhttp://fabrice.bellard.free.fr/tcc/
ãããããã¥ã¬ã¼ã¿ã«ãããã¦ãã人ãããã®ã§ï¼ã¡ã¢ï¼ãã使ãã¨æããã manipulator ã¨ï¼ãã®åä½ï¼ setw(n) åºåå¹ ãæä½næåã«ãã setprecision(n) åºåæ¡ãnæ¡ã«ãã right åºåãå³ã«è©°ãã left åºåãå·¦ã«è©°ãã setw(n)ã®è¨å®ã ãã¯ä¸åº¦ãªã«ãâ¦
http://www.nongnu.org/failmalloc/ã¡ã¢ãªé¢é£ã®ãããã°ç¨ã©ã¤ãã©ãªï¼failmalloc ã使ãã¨ï¼malloc()ãNULLãè¿ããå ´åã«ããã°ã©ã ãæ£å¸¸ã«å¦çãç¶ç¶ã§ããã調æ»ã§ããï¼ãªãã¨ãæãããçºæ³ãããæ¹ãããã£ããããã®ã ã¨ãããã¨ã§ï¼æ¥è¨ã«æ¸ãã¦â¦
emacs ãã M-x ispell-buffer ã¨ã M-$ 㧠ã¹ãã«ãã§ãã« aspell ãèµ·åããã¨ï¼ä»¥ä¸ã®ãããªã¨ã©ã¼ãã§ãï¼ Error: No word lists can be found for the language "ja_JP"ãã®ãããªå ´å㯠以ä¸ã®ãããªå 容ã§~/.aspell.conf ãç¨æããã°è¯ãï¼ lang en_â¦
linuxã§æå»ãåå¾ããæ¹æ³ã«ã¤ãã¦èª¿æ»ããï¼(2006/7/17æ´æ°) æå»ãåå¾ããæ¹æ³ã¨ãã¦ã¯ ã·ã¹ãã ã³ã¼ã«ãå¼ã³åºãï¼æå»ã管çãã¦ããããã¤ã¹(RTCã¨ãã«ã¼ãã«å é¨ã®ãªãã¸ã§ã¯ã)ãèªãæ¹æ³ userlandããç´æ¥CPUãæã£ã¦ããã¯ããã¯ã®ã¬ã¸ã¹ã¿ãèªãâ¦
cvsä¸ã®repositoryã svnç¨ã®repository ã«å¤æããæé ãã¡ã¢ï¼æé ã¯å¤§ã¾ãã«ã¯ cvs2svn 㧠cvsã®ãªãã¸ããªã svnå½¢å¼ã§dump dumpããçµæãï¼svnadmin load ã§svnã®ãªãã¸ããªã«èªã¿è¾¼ã ã®ï¼æ®µéï¼ æé ï¼ ã¾ãï¼cvs2svn ã§ãªãã¸ããªãsvnå½¢å¼ã§dumpãâ¦
http://gccsummit.org/2006/2006-GCC-Summit-Proceedings.pdf ããï¼gdbã«è¿½å ãããæ°æ©è½ã«ã¤ãã¦ï¼å人çã«é¢ç½ããã ã¨æã£ããã®ãã¡ã¢ï¼ checkpoint ã¬ã¸ã¹ã¿ã¨ãã¹ã¿ãã¯ã®å 容ãä¿åãããï¼å¾©å ããæ©è½ï¼ãã¨ãã°ï¼ãã°ãçºçããç´åã®ç¶æ ãä¸åº¦â¦
çµè«ããããã¨ï¼ã¾ã åºæ¥ãªãã¿ããï¼Linuxã®C/C++éçºç°å¢ã«ä¸è¶³ãã¦ããæ©è½ã®ä¸ã¤ã«ã¨ãã£ããã³ã³ããã¥ã¼ãããï¼ã¨ãã£ããã³ã³ããã¥ã¼ã£ã¦ã®ã¯ï¼ãããã¬ä¸ã§å®è¡ä¸ã®ããã°ã©ã ãæ¸ãæãã¦ããã®ã¾ã¾ããã°ã©ã ãç¶ç¶ãã¦ãããã°ã§ããæ©è½ï¼micâ¦
http://www.scheme.com/tspl3/ ã®"Section 5.6. Delayed Evaluation" ããå¼ç¨ã An expression subject to lazy evaluation is not evaluated until its value is required and once evaluated is never reevaluated å¿ è¦ã«ãªãã¾ã§å¤ã®è©ä¾¡ãè¡ããªã ä¸åº¦â¦
ãã®ãã¼ã¸ã®å 容ã¯å¤ãããã®ã§ï¼æ°ããè¨äºãç¨æãã¾ãã http://d.hatena.ne.jp/pyopyopyo/20180426/p1 è¤é㪠shell script ãæ¸ãããã«ã¯ï¼ã³ãã³ãã©ã¤ã³å¼æ°ã®æ§æ解æãå¿ è¦ä¸å¯æ¬ ï¼ããã§ï¼bashä¸ã§getoptã使ã£ã¦ã³ãã³ãã©ã¤ã³å¼æ°ã解æããæ¹â¦
ã¨ããããï¼æ°å¤ã+1ãããã©ã°ã¤ã³ãæ¸ãã¦ã¿ãï¼ã¤ã¾ãï¼script-fu 㧠(inc 10)ã¨ããã¨ï¼(11) ãè¿ããã©ã°ã¤ã³ã§ããï¼ #include <libgimp/gimp.h> static void query (void); static void run (const gchar *name, gint nparams, const GimpParam *param, gint *nretur</libgimp/gimp.h>â¦