<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>tag:3wa.tw,2026-04-09:/blog/rss.php?bk_id=12</id> 
  <title>3WA佈弱閣</title> 
  <link href="http://mail.3wa.tw"/>
  <updated>2026-04-09T23:51:09+08:00</updated>
  <author> 
    <name>羽山秋人</name>
  </author> 
  
  <entry>
    <title>字詞切割機</title>
    <link href="http://mail.3wa.tw/blog/blog.php?id=1461"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2015-12-21T10:00:00+08:00</updated>
    <summary>
剛才辦公室最近在討論「分詞」
就研究了一下 PHP 下有沒有人寫好現成的工具，找到了「phpanalysis2.0」
詳細說明網站：http://www.phpbone.com/phpanalysis/
試用了一下覺得還不錯
就寫了一個簡單的練習站台
http://3wa.tw/demo/php/word/same_words.php?id=1



主要的程式大概如下：
…</summary>
  </entry>
  <entry>
    <title>PHP 嘗試某網段的 PORT 有沒有開</title>
    <link href="http://mail.3wa.tw/blog/blog.php?id=1460"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2014-11-21T14:04:00+08:00</updated>
    <summary>
今天發生很有趣的事，連上主機維護，不小心把 network.service 設成 enable
所以沒多久，主機自己dhcp 後，ip 就跑了，不知道是因為一個網段有１～２５４
不知道主機的 IP 變多少，立馬寫一支小程式去掃整個網段，還好一下就看到該主機回應了！
連上後確定是那台，把問題解決...Orz
lt;?php $ip="xxx.xxx.xxx."; $ports = ar…</summary>
  </entry>
  <entry>
    <title>將 JAR 轉成 EXE 好用工具之 JSmooth</title>
    <link href="http://mail.3wa.tw/blog/blog.php?id=1459"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2013-01-29T13:14:25+08:00</updated>
    <summary>將 JAR 轉成 EXE 好用工具之 JSmooth簡介： 可以將做好的 JAR 轉成 EXE。作者： Rodrigo Reyes lt;reyes@charabia.netgt;最新版本： JSmooth 0.9.9-7 Released (2007-05-20)評價： ☆★★★★License： http://jsmooth.sourceforge.net/license.php (JSm…</summary>
  </entry>
  <entry>
    <title>vim 的註解開關機 F11</title>
    <link href="http://mail.3wa.tw/blog/blog.php?id=1356"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2012-01-13T11:53:51+08:00</updated>
    <summary>
請將以下的內容加到您的 ~/.vimrc

" By 羽山 F11 可以開關註解 V1.0 2012-01-13let s:vimcomment = "0"func Comment_Toggle() if s:vimcomment == "0" set foldmethod=marker set foldmarker=/*,*/ let s:vimcomment = "1" else se…</summary>
  </entry>
  <entry>
    <title>字首大寫設計</title>
    <link href="http://mail.3wa.tw/blog/blog.php?id=1061"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2010-06-23T16:01:48+08:00</updated>
    <summary>(範例) input: SMITH, A.J. and OTHER, A.N. and SCROOGE, E. output: Smith, A.J. and Other, A.N. and Scrooge, E.

使用 SED 解決

echo "SMITH, A.J. and OTHER, A.N. and SCROOGE, E." |sed -e 's/\(\([A-Z][A-Z]…</summary>
  </entry>
  <entry>
    <title>查詢 yahoo 字典</title>
    <link href="http://mail.3wa.tw/blog/blog.php?id=913"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2009-10-20T15:39:04+08:00</updated>
    <summary>yahoo的字典還不錯

比如查詢: test

試驗化驗;化驗法;化驗劑檢驗;檢驗標準測驗;考察;小考考驗試驗;檢驗;測驗[(+for/in/on)]化驗,分析[(+for)]考驗;考察受試驗;受測驗測得結果(為鑑定而)進行測驗[(+for)]

就會回這麼一堆~

那麼....我同樣利用上次寫的抓取標籤的寫法~使用 python ﹑ php 各寫了個sample



…</summary>
  </entry>
  <entry>
    <title>如何抓取網頁標題</title>
    <link href="http://mail.3wa.tw/blog/blog.php?id=767"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2009-07-31T10:16:24+08:00</updated>
    <summary>

日前在 irc.giga.net.tw #linuxtw 版聊天
發現了個機器人還滿有趣的
你只要貼網址，他就會上幫你 parser 出網址的 lt;titlegt;

像我的 3wa.tw 就是 歡迎來訓練家的工作室

於是，友人 Rickz 就開始搞 shell script，他也寫了個 parser 的功能，用什麼 curl 的指令抓，再抽離

我就用 php 實…</summary>
  </entry>
 
</feed>