FrontPage › king/2004-09
Sep 28, 2004 ¶
gnome theme ¶
Submitted by king @ 09-27 [10:33 pm]
- Desktop Themes - Applications (gtk2)
- Desktop Themes - Window Borders (gtk2)
ÀÌÇÏ À§ ÆÄÀϵéÀº /usr/share/themes ¿¡ ¾ÐÃàÀ» Ç®¸é Å׸¶¸¦ º¯°æÇÒ ¼ö ÀÖ´Ù.
¾ÆÀÌÄÜÀº /usr/share/icons ¿¡ ¾ÐÃàÀ» Ç®¸é ¾ÆÀÌÄÜ Å׸¶¸¦ º¯°æÇÒ ¼ö ÀÖ´Ù.
/etc/fonts/local.conf ¶
Submitted by king @ 09-27 [10:29 pm]
- °íÁ¤Æø ±Û²Ã ¹ö±×ÇØ°á (xxChe ±Û²Ã »çÀ̹ú¾îÁü ÇØ°á)
- º¼µå±Û²Ã ¾ø´Â ±Û²ÃÀ» À§ÇÑ º¼µå
- ¿ÀÅäÈùÆÃ
- Å͹̳Π±Û²Ã (monospace ¼±Åýà ¿µ¹® : Luxi Mono, ÇÑ±Û : YoonGothic)
Sep 22, 2004 ¶
Sep 20, 2004 ¶
ps -ef | grep sendmail ¿¡¼ grep sendmail ÁÙ »©°í Ãâ·ÂÇϱ⠶
Submitted by king @ 09-20 [07:31 pm]
[tongseob@WebHost tongseob]$ ps -ef | grep sendmail root 880 1 0 Aug25 ? 00:00:00 sendmail: accepting connections smmsp 889 1 0 Aug25 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue tongseob 2931 2299 0 19:26 pts/4 00:00:00 grep sendmail \
grep sendmail ÀÌ º¸±â ¾È ÁÁ´Ù ÀÌ·²¶§´Â
[tongseob@WebHost tongseob]$ ps -ef | grep sendmail | grep -v grep root 880 1 0 Aug25 ? 00:00:00 sendmail: accepting connections smmsp 889 1 0 Aug25 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue \
grep -v ·Î Çѹø ´õ °É·¯ÁÖ¸é µÈ´Ù
Sep 19, 2004 ¶
cat nabi-0.14.ebuild ¶
Submitted by king @ 09-19 [09:25 pm]
# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-i18n/nabi/nabi-0.14.ebuild,v 1.1 2004/08/ 30 16:50:48 usata Exp $ DESCRIPTION="Simple Hanguk X Input Method" HOMEPAGE="http://nabi.kldp.net/" SRC_URI="http://download.kldp.net/nabi/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~x86 ~ppc" DEPEND=">=x11-libs/gtk+-2.2" src_compile() { econf || die emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS COPYING* ChangeLog README NEWS } pkg_postinst() { einfo "You MUST add environment variable... " einfo " " einfo "export XMODIFIERS=\"@im=nabi\" " einfo "export XIM_PROGRAM=/usr/bin/nabi // for /xinit.xinitrx.d/xinput" einfo " " } \
Sep 14, 2004 ¶
xorg 6.8.1 bold patch & fonts.conf ¶
Submitted by king @ 09-14 [11:26 am]
- xorg 6.8.0 bold patch ebuild
http://onionmixer.net/~tongseob/linux/xorg-x11-6.7.0-fakebold-20040405-myedition.patch
http://kkanari.org/linux/xorg-x11-6.8.0.ebuild
http://kkanari.org/linux/xorg-x11-6.7.0-fakebold-20040405-myedition.patch (files ¿¡ ³Ö¾îÁØ´Ù)
http://kkanari.org/linux/xorg-x11-6.7.0-fakebold-20040405-myedition.patch (files ¿¡ ³Ö¾îÁØ´Ù)
# ebuild xorg-x11-6.8.0.ebuild digest ÇØÁØÈÄ
# emerge xorg-x11-6.8.0.ebuild
# emerge xorg-x11-6.8.0.ebuild
Sep 13, 2004 ¶
xgrep - °¡³ÇÏ°í °ÔÀ¸¸¥ »ç¶÷µéÀ» À§Çؼ.. ¶
Submitted by king @ 09-13 [04:34 pm]
¼Ò½ºÄÚµå µð·ºÅ丮¿¡¼ ¹º°¡ ãÀ»¶§ ctags ¸¦ ¾²´Âµ¥
¿øÇÏ´Â°Ô ³ª¿ÀÁö ¾ÊÀ» ¶§°¡ ¸¹½À´Ï´Ù. ±×·¡¼ °á±¹
grep -r À» ¾²°Ô µÇ´Âµ¥, ÀÌ°Ç ½±°Ô ¾²¸é ¹ÙÀ̳ʸ®±îÁö
´Ù °Ë»çÇØ ¹ö¸®ÁÒ. ±×·¡¼ ¸Ó¸® ±¼·Á¼ °£´ÜÇÑ ½ºÅ©¸³Æ®¸¦
¸¸µé¾ú½À´Ï´Ù. ÀÌ°É µ¹¸®±â À§Çؼ´Â
grep, tee, less, wc, vim, cut, find, xargs µîÀÌ
¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.
¿øÇÏ´Â°Ô ³ª¿ÀÁö ¾ÊÀ» ¶§°¡ ¸¹½À´Ï´Ù. ±×·¡¼ °á±¹
grep -r À» ¾²°Ô µÇ´Âµ¥, ÀÌ°Ç ½±°Ô ¾²¸é ¹ÙÀ̳ʸ®±îÁö
´Ù °Ë»çÇØ ¹ö¸®ÁÒ. ±×·¡¼ ¸Ó¸® ±¼·Á¼ °£´ÜÇÑ ½ºÅ©¸³Æ®¸¦
¸¸µé¾ú½À´Ï´Ù. ÀÌ°É µ¹¸®±â À§Çؼ´Â
grep, tee, less, wc, vim, cut, find, xargs µîÀÌ
¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.
»ç¿ë¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù:
xgrep SetClockFrequency
ÇöÀç µð·ºÅ丮¿Í ¼ºê µð·ºÅ丮¿¡¼ ¼Ò½ºÄÚµåÀÏ °Í °°Àº
ÆÄÀϵéÀ» µÚÁ®¼ SetClockFrequency ¶ó´Â ¹®ÀÚ¿À»
ã½À´Ï´Ù.
ãÀº ´ÙÀ½¿¡´Â ÀÌ°ÍÀ» less·Î º¸¿©ÁÖ°í,
less¸¦ ºüÁ® ³ª°¡¸é ´Ù½Ã vim -q ¸í·ÉÀ¸·Î
Çϳª¾¿ ¿¾î¼ º¸¿© ÁÝ´Ï´Ù.
vim ¾È¿¡¼ ´ÙÀ½¿¡ ³ª¿Â SetClockFrequency¸¦
ã´Â ¸í·ÉÀº :cn À̶ó´Â °ÍÀº ±â¾ï ÇϽôÂÁö?
xgrep +*.h SetClockFrequencyÆÄÀϵéÀ» µÚÁ®¼ SetClockFrequency ¶ó´Â ¹®ÀÚ¿À»
ã½À´Ï´Ù.
ãÀº ´ÙÀ½¿¡´Â ÀÌ°ÍÀ» less·Î º¸¿©ÁÖ°í,
less¸¦ ºüÁ® ³ª°¡¸é ´Ù½Ã vim -q ¸í·ÉÀ¸·Î
Çϳª¾¿ ¿¾î¼ º¸¿© ÁÝ´Ï´Ù.
vim ¾È¿¡¼ ´ÙÀ½¿¡ ³ª¿Â SetClockFrequency¸¦
ã´Â ¸í·ÉÀº :cn À̶ó´Â °ÍÀº ±â¾ï ÇϽôÂÁö?
ÇöÀç/¼ºê µð·ºÅ丮¿¡¼ *.h ÆÄÀϵ鸸À» °ñ¶ó¼ À̵é Áß
SetClockFrequency °¡ µé¾î ÀÖ´Â ÆÄÀÏÀ» ã½À´Ï´Ù.
±× ÀÌÈÄ´Â À§¿Í °°½À´Ï´Ù.
xgrep +*.h +*.c SetClockFrequencySetClockFrequency °¡ µé¾î ÀÖ´Â ÆÄÀÏÀ» ã½À´Ï´Ù.
±× ÀÌÈÄ´Â À§¿Í °°½À´Ï´Ù.
ÇöÀç/¼ºê µð·ºÅ丮¿¡¼ *.h ¿Í *.c ÆÄÀϵ鸸À» °ñ¶ó¼
SetClockFrequency µé¾î ÀÖ´Â ÁÙÀ» ã½À´Ï´Ù.
±× ÀÌÈÄ´Â À§¿Í °°½À´Ï´Ù.
¸¸¾à! emacs¸¦ ¾²½Ã´Â ºÐÀ̶ó¸é, ¾Æ·¡ ½ºÅ©¸³Æ®¿¡¼SetClockFrequency µé¾î ÀÖ´Â ÁÙÀ» ã½À´Ï´Ù.
±× ÀÌÈÄ´Â À§¿Í °°½À´Ï´Ù.
browse=¾î¼±¸Àú¼±¸
¶ó°í µÇ¾î ÀÖ´Â ÁÙÀ» Áö¿ì½Ã¸é emacs ÀÇ grep ¸ðµå¿ë¸í·ÉÀ¸·Î »ç¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
À½ º°°Å ¾Æ´Ñ ÁÙÀº Àúµµ ¾ËÁö¸¸, °©Àڱ⠴©±º°¡ ÀÌ·±°Ô
ÇÊ¿äÇÒ °Í °°Àº ¿¹°¨ÀÌ °©Àڱ⠽ºÃļ Àû¾î ºÃ½À´Ï´Ù.
ÇÊ¿äÇÒ °Í °°Àº ¿¹°¨ÀÌ °©Àڱ⠽ºÃļ Àû¾î ºÃ½À´Ï´Ù.
#!/bin/sh browse="|tee xgrep.out |less -eR; (wc xgrep.out && vim -q xgrep.out)" opts= pats= root=. query= while [ ! -z "" ]; do case in +*) newpat=`echo |cut -c2-`; if [ -z "$pats" ]; then pats="-iname $n ewpat"; else pats="-o -iname $newpat"; fi; ;; *) query=; shift; break; ;; esac shift done rest=$* if [ -z "$pats" ]; then pats="-iname \*.h -o -iname \*.hpp -o -iname \*.inc -o -iname \*.c -o -iname \ *.cpp -o -iname \*.s -o -iname \*.asm -o -iname \*.java" fi cmd="find ${root} ${pats} |xargs grep -n ${opts} '${query}' ${rest} ${browse}"; #echo "Running: $cmd" eval $cmd \
apache 1.3.x 256 limit º¯°æÇϴ¹ý ¶
Submitted by king @ 09-13 [04:31 pm]
# cd /usr/portage/distfiles/apache_1.3.31/src/include # vi httpd.h \
¿¡¼
#ifndef HARD_SERVER_LIMIT #ifdef WIN32 #define HARD_SERVER_LIMIT 1024 #elif defined(NETWARE) #define HARD_SERVER_LIMIT 2048 #else #define HARD_SERVER_LIMIT 256 #endif #endif \
ºÎºÐ¿¡¼ ÁÖ¼®À» Ç®¾îÁÖ¸é µÈ´Ù
±×¸®°í apache 2.0.x ¿¡¼´Â ÀÌ·¯ÇÑ Á¦ÇÑÀÌ ¾ø´Ù.