개소리 왈왈2009. 5. 9. 12:51
어제 엄마가 딸기를 사오셨다.
근데 술맛이 난다 -ㅁ-!









그래서 잼을 만들었다 +_+
근데 빵이 없다 OTL

'개소리 왈왈' 카테고리의 다른 글

우분투 사용?  (0) 2009.05.11
네이버 쪽지가 도착하였습니다 - 바이럴SOS  (6) 2009.05.10
5월 1일 그리고 3박 4일 여행  (6) 2009.05.01
sho~~~~oes (부제 : 신발 여러개)  (0) 2009.04.29
웬지 초 공감 유머  (6) 2009.04.27
Posted by 구차니
프로그램 사용2009. 5. 8. 16:58
테스트를 할 일이 있어서, 짧은 MP3 파일이 필요 했는데
mp3 자르는 프로그램을 찾다 보니 이 프로그램이 가장 유명한 것 같아서 사용하게 되었다.


글씨로만 이루어진 타이틀도 참 이쁘다는 생각이든다

파일을 열게 되면 나오는 알림 문구, 나오는 파형은 실제 파형이 아니라고 경고를 하고 있다.

mp3는 가청주파수 외에는 전부 자르고,
약한 소리는 강한 소리에 파뭍혀 들리지 않는 특성을 이용하므로
결과론적으로 파형중 가장 강한 소리의 파형만 보이게 된다.

파일을 열면 이렇게 깔끔하게 보인다. 중앙의 확대 축소로 배율을 조정이 가능하다

자르는데 필요한 것은 클릭 / 드래그
(선택된 영역은 밝은 형광 파란색이다)

그리고 메뉴에서 선택구간 저장

[공식 : http://mpesch3.de1.cc/mp3dc.html]
Posted by 구차니
모종의 음모/Notepad22009. 5. 8. 13:22


간만에 백신을 돌려보았더니
notepad2를 실행하는 부분의 레지스트리가 바이러스로 검출이 되도록 패턴이 수정되었다.


...
어떻게 피해가야 하나 -ㅁ-?
Posted by 구차니
출근길에 SVN 설명서를 읽어 보니..

svn에 접속하는 방법으로는

file://
svn://
svn+ssh://
http://

정도가 있다고 한다.

근데.. http:// 를 이용하는 방법 외에는
svn 사용 로그가 남는 방법이 없다고 한다.

cvs에 비해서는 사용로그가 남지 않는 다는 건 관리자 측면에서는 아쉽지만,
사용자 측면에서는 아무런 아쉬움이 없으니 음..



[출처  : http://svnbook.red-bean.com/nightly/en/svn-book.pdf]
Posted by 구차니
예를 들어
/home/svn 이 svn의 저장소를 놓을 위치이고
그 아래에 각각의 프로젝트가 들어 간다면

저장소의 위치는 /home/svn이다.

svnserve -d로 구동할때 의 경로는 /home/svn이 되고
svn으로 checkout을 할때의 경로는 각 프로젝트를 넣어 준다.

예를 들어

/home/svn/proj1
/home/svn/proj2
가 있다면

svn://svnserver.ip.addr/proj1
이런식으로 접속하면 프로젝트에 대해서 보인다.

음.. 그런데 굳이 각각의 저장소로 여러개의 저장소에 구분을 해야 하는 이유가 있을려나..
그냥 repos 이런식으로 하나의 저장소만을 만들고
그 아래에 디렉토리/폴더로 구분하면 될텐데 말이다...

아무튼 각 저장소별 ./conf 디렉토리에는
passwd / auth / svnserve.conf가 존재하며

svnserve.conf의 주석 몇개와
passwd에 사용자 계정을 추가하면
svn:// 식으로 접속하여 사용이 가능하다.
svn+ssh://은 아직.. OTL


svnserve.conf
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository.  (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)

### Visit http://subversion.tigris.org/ for more information.

[general]
### These options control access to the repository for unauthenticated
### and authenticated users.  Valid values are "write", "read",
### and "none".  The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file.  Unless you specify a path starting with a /,
### the file's location is relative to the directory containing
### this configuration file.
### If SASL is enabled (see below), this file will NOT be used.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control.  Unless you specify a path
### starting with a /, the file's location is relative to the the
### directory containing this file.  If you don't specify an
### authz-db, no path-based access control is done.
### Uncomment the line below to use the default authorization file.
# authz-db = authz
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa.  The default realm
### is repository's uuid.
# realm = My First Repository

[sasl]
### This option specifies whether you want to use the Cyrus SASL
### library for authentication. Default is false.
### This section will be ignored if svnserve is not built with Cyrus
### SASL support; to check, run 'svnserve --version' and look for a line
### reading 'Cyrus SASL authentication is available.'
# use-sasl = true
### These options specify the desired strength of the security layer
### that you want SASL to provide. 0 means no encryption, 1 means
### integrity-checking only, values larger than 1 are correlated
### to the effective key length for encryption (e.g. 128 means 128-bit
### encryption). The values below are the defaults.
# min-encryption = 0
# max-encryption = 256

passwd
### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
### example below it contains one section labelled [users].
### The name and password for each user follow, one account per line.

[users]
# harry = harryssecret
# sally = sallyssecret
userid = password

위의 경우는 사용자명 userid, 암호가 password인 경우이며,
svn에 수정/삭제 시 아래와 같이 인증을 요구하게 된다.



[참고 : http://www.pyrasis.com/main/Subversion-HOWTO#s-4.3]
Posted by 구차니
Linux/Ubuntu2009. 5. 7. 23:35
문득.. 방화벽에서 특정포트를 열어줄려고 습관적으로
$ ps -ef | grep iptable
을 실행했는데... 없다!!
iptables가 없다는건.. 방화벽이 없는건가!?!? 라는 생각에 검색을 해보니
오래전 우분투 5.x 대 이야기들, 그리고 없다라는 이야기마저도 존재하는데..


아무튼 요 근래 문서로 발견한 내용중에
$ sudo ufw enable
이라는 내용을 발견하였다.
[링크 : http://ubuntu.or.kr/viewtopic.php?p=16788]


그래서 ufw를 검색해보니
위키가 나오고 나름 편하게 사용이 가능한 방화벽으로 보인다.
[링크 : https://wiki.ubuntu.com/UbuntuFirewall]

 The default firewall configuration tool for Ubuntu is ufw. Developed to ease iptables firewall configuration, ufw provides a user friendly way to create an IPv4 or IPv6 host-based firewall.

ufw by default is initially disabled. From the ufw man page:

“ ufw is not intended to provide complete firewall functionality via its command interface, but instead provides an easy way to add or remove simple rules. It is currently mainly used for host-based firewalls. ”


[출처 : https://help.ubuntu.com/9.04/serverguide/C/firewall.html]


그래도.. 아쉬운건.. 페도라에서 사용하던 방화벽/ SELinux 설정용 프로그램이 안보인다는 점..
그리고... 방화벽이 없다는 사실은 웬지.. 충격적이다.
(가짜 진실에 속아 왔던 것일까?)

'Linux > Ubuntu' 카테고리의 다른 글

우분투에서 rpm 설치하기 - install rpm package on ubuntu  (0) 2009.08.31
ubuntu에서 compiz 돌리기  (2) 2009.06.02
ubuntu에 cvs / svn 설치하기  (0) 2009.04.30
ubuntu 내장 VNC 서버 - vino-server  (0) 2009.04.30
삼바 설치하기  (0) 2009.04.29
Posted by 구차니
내가 일하는데는 OOO을 만드는 곳이다.
그러다 보니 완제품보다는 개발품이다 보니, 항상 열어 놓고 사는 편인데..

간혹 방심하다가 220V의 피카츄 빰치는 짜릿함을 맛보게 된다.




그게 아니라면....
회사 전체를 정전시키게 된다.


물론 갈굼은 기본 욕은 옵션?!

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

아 손발이 오그라든다 -ㅁ-!  (6) 2009.05.12
panic  (4) 2009.05.12
출근일기 - 20090430  (2) 2009.04.30
출근일기 - 20090428  (4) 2009.04.28
예비군 보충훈련 통지서.. 택배로 받다 & 400회 기념  (0) 2009.04.26
Posted by 구차니
Linux2009. 5. 7. 00:30
$ update-rc.d
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | SS KK]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force

$ man update-rc.d
NAME
       update-rc.d - install and remove System-V style init script links

SYNOPSIS
       update-rc.d [-n] [-f] name remove

       update-rc.d [-n] name defaults [NN | SS KK]

       update-rc.d   [-n]   name   start|stop  NN  runlevel  [runlevel]...   .
              start|stop NN runlevel [runlevel]...  . ...

예를 들어 svnserve를 구동하기 위해 /etc/init.d/svnserve 구동 스크립트를 작성하고
이것을 런레벨 마다 S00svnserve / K00svnserve 이런식으로 복사를 해주어야 하는데
이러한 노가다성 작업을 자동화 시켜주는 유틸리티이다.
Posted by 구차니
우분투에 ssh를 설치후 접속하면 아래와 같이 무진장 긴 메시지가 나온다

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/

/etc/motd.tail 파일을 수정하면 우분투 ssh 접속시 나오는 메시지를 바꿀수 있다고 한다.
하지만 데비안 계열은 이 내용을 수정하는 것은 불법이라고 하는데.. 조금 짜증나도 냅둬야 하나?

[링크: http://www.coveredjin.com/tag/ssh%20%EB%A9%94%EC%84%B8%EC%A7%80]

2010.02.04 추가
/etc/issue 파일에 일반적으로 로그인시 출력하는 메시지가 들어있다.
Posted by 구차니
Linux2009. 5. 6. 23:57
Gedit에 플러그인 중에 Ctags 기능을 확장해주는 것이 있다.
일단 몇가지는 설치를 하려면 Gedit 소스코드가 있어야 하고 꽤나 복잡해서 성공한건 두개 뿐이다.

Class Browser

A class browser located in the side pane. Based on ctags, it supports a wide range of languages. Download: http://www.stambouliote.de/projects/gedit_plugins.html

Function browser

GEdit function browser plugin provides an easy way to navigate through sources files with GEdit. This plugin uses Exuberant CTags for parsing process and returned back results in GEdit left panel. Mostly tested under C and C++ files. A Bookmarking support has been delivered in version 0.2. More: http://sourceforge.net/projects/gedit-funcbrows/


위의 링크에서 다운로드 받아, 위의 경로에 압축을 해제한다.
그리고 Gedit를 다시 시작하고 Plugin을 설정해준다.


Class Browser를 실행한 예제

Functions Browser를 실행한 예제


Posted by 구차니