我的 subversion / svn server 設定

OS : Gentoo Linux 2.6.22-gentoo-r5 #11

gcc –version
gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1)

svnserve –version
svnserve, version 1.5.4 (r33841)
compiled Dec 17 2008, 08:11:10

/usr/bin/svnserve –foreground –daemon –root=/var/svn

 

b3427f82eb24f02a7a8c162d19f344c6

74fe80d6a738a7f3beb1c6da3e33b80f

 

一些 subversion command 下的操作:

用 svn co 一個 source 到目錄下 , 把要加到 svn  的檔案/目錄 copy 過來 , 下 svn status 會看到一堆 ? 表示那些是新的檔案

e7cd532c5adf186cfae84be0973cfcf6

下 svn add * 或 svn add dirname

84befb5056c4efb725a40ba8ef42577f

下 svn status 可以看到 剛剛的 ? 變成 A 了 (add)

eaf23dbfa9a596768ee8e351bb792062

下 svn ci 把 source code commit 進 svn

5ffc7c116629e31e25b3b274d4f9ee4a

cd 到工作目錄

svn –username monster export svn://xxx.com/my_repos/search/src

把 source code export 出來

在 skype 聊天室中使用 IRC command / hidden smileys

這個讚!

(rock)
(finger)
(smoking)
(bug)
(fubar)

(heidy)
(bandit)
(sheep)
(dog)
(bomb)

/showmembers 

Available commands:
/me [text]
/topic [text]
/add [skypename]
/history
/find [text]
/fa or /
/alertson [text]
/alertsoff
/call [skypename] ..
/leave
/goadmin
/get creator
/get role
/whois [skypename]
/setrole [skypename] MASTER|HELPER|USER|LISTENER
/kick [skypename] 會議室管理者才有作用
/kickban [skypename]
/get guidelines
/set guidelines [text]
/get options
/set options [[+|-]flag] ..
/setpassword [password] [password hint]
/clearpassword
/get password_hint
/set password_hint [text]
/set password [text]
/get banlist
/get allowlist
/set banlist [[+|-]mask] ..
/set allowlist [[+|-]mask] ..
/help
For more help please see http://www.skype.com/go/help.chathelp

得到一個 javascript 寫成的木馬

可以拿來學習寫奇特的 javascript 寫法 , 也可順便作 Antivirus 擋木馬的功力測試

2008.1226

品牌 阻擋成功
Symantec AntiVirus ver.10.2.x SUCCESS
Symantec Endpoint Protection ver.11.0.7.x SUCCESS
NOD32 ver.3.0.669.0 FAILED
小紅傘 無法在當下檔下 , 可是用它來 scan 卻可以阻擋 –> 這點還是算 FAILED!
*ps1
avast! antivirus SUCCESS
繼續測試中

*ps1: Guard –> Scan –> Files 要選 All files
剛裝好是設成 Use file extension list 這個選項讓他無法在第一時間就把它阻擋下來
*ps2: ….
擷取-zdnet

如果程式語言是艘船, 那麼 …. 是….

http://compsci.ca/blog/if-a-programming-language-was-a-boat/

…..

If a programming language was a boat…

This one is inspired by a recent forum post, that still leaves me in amazement.

Hi, Im wondering how i can create a boat in turing and if someone can post a example.

This makes no sense, since one doesn’t normally make water vehicles in Turing, the programming language. Though this got me thinking — if a programming language was a boat, what would it be?

Turing

Turing would definitely be a kayak (thank you for comments). It’s small. It’s human powered. It’s often used as a beginner “boat”. And it’s also very Canadian.

Turing programming language as a canoe
Original photo by naokomc

Java

Java is a cargo ship. It’s very bulky. It’s very enterprise~y. Though it can also carry a lot of weight. Will carry a project, but not very fun to drive.

Java programming language as a cargo ship
Original photo by cfarivar

Perl

Perl is a tugboat. Powerful enough to tug Java around, in 80 characters or less.

Perl programming language as a tugboat
Original photo by xeeliz

Ruby

Ruby is difficult to describe. It’s sleek, sexy, and very fun to drive. Here’s a picture. Very trendy.

Ruby programming language as a speed boat
Original photo by Tony Falcon

PHP

PHP is a bamboo raft. A series of hacks held together by string. Still keeps afloat though.

PHP programming language as a raft
Original photo by permanently scatterbrained

C

C is a nuclear submarine. The instructions are probably in a foreign language, but all of the hardware itself is optimized for performance.

C programming language as a nuclear submarine
Original photo by Ryan C. McGinley

HTML

HTML isn’t really a programming language boat.

HTML is not a boat
Original photo by ascendeddaniel

There’s a lot more to this, and it’s all up for discussion. How would your favourite programming language fare in open waters?

Virtual appliance

看到 http://virtualappliances.net/ 這裡面立即提供了 5 總 ready to go 的 appliance  , 只要 “抓下來 / 啟動 就立即可用” —> 這就是 virtual appliance 的精神 , 看了這頁頓時覺得 這些 appliance 真的對 developer 非常 friendy , 看看這頁
http://virtualappliances.net/documentation/readme/README.lamp.html

裝好立即有

  • Apache HTTP Server
  • PHP
  • Perl
  • Python
  • ZendOptimizer (www.zend.com)
  • MySQL
  • phpMyAdmin

然後要開發就只要到它開放的 samba  目錄下寫程式即可 , 這點跟我包裝的 Monster LAMP Pack 精神是相同的.