我是素食者,我吃我自己定義的素,我只吃沒有神經系統的生物。
並不需要所有人都是素食者。
但古代有腦筋的領導人,不分經緯地域,對於所獵取採集,都想出相同方法,好長治久安;我目前所知道的,至少有兩大原則,還有沒有再多我不清楚,先就說明這兩項。
一、尊重生命:不管是漁獵或伐木,要按季節時令,不能趕盡殺絕,也不能戲弄生命,人也是大自然的一份子,我們既是獵人,也是獵物。今天我們吃牠,要感謝牠們犧牲生命來延續我們的生命,哪天我們誰犧牲了,也不能抱有怨恨,因為這是自然界的安排與永續生存的原則。
二、自然分享:從自己、親人、種族往外推,取的自己足夠的食物,要給其他獵人,要給其他人,甚至給其他動物。千萬不要只自己屯積;屯積是最最最後才可以做的事。在天堂地獄長湯勺的故事裡,天堂的狀況就是能保留在,不需要屯積的社會狀況。
—-
Read more »
TCPDF ver. 4.8.012 中文支援OK,只要指定字體為 msungstdlight 就可以了。如果想要套用其他字體,則按網站上說明自行製作(我自己覺得有點費工……) PHP 環境設定的 memory_limit 不能太小(我目前設32M可行)。 這個版本有了$this->re_spaces判斷式不需要再去自行修改tcpdf.php檔了。
WP Shopping Cart plugin version 3.7 中文化工作 停擺…..好慘,才開始就做不下去了 hahahahaha -_-
http://befun.520net.to/lover/ce/2007/09/05/user-smart..
《程式有古老差異, 那不嚴謹或內部錯誤一堆的程式叫什麼呢!? 》 ,事實上這兩天由於需求修正,更新了Cuesub程式,然後對於TCPDF的功能感到值得運用,不過現在php5(寫程式時會下載安裝EasyPHP)和以往php4又不太一樣,我寫程式又不嚴謹,拿以前的程式碼來研究,居然很多連錯在哪裡都不知道,挺頭痛的。
看了一些sqlite的相關資源和網路上的文獻以後,理論上sqlite比較輕巧簡便符合需求,但其在溝通上(不管是和我,還是和PHP)的順暢程度,都比不上mysql。因此決定我還是搭配以PHP和Mysq為一組l,再以TinyButStrong和TCPDF等輔助,來試著寫一些管理工具。
Read more »
| 工作程序項目 |
來源檔 |
參考檔 |
使用軟體 |
目標檔案 |
中間參考或暫時檔 |
| 聽打逐字稿 |
|
mp3(或錄音等參考媒體檔案) |
文字編輯器,或 謄稿專用軟體 (豆子謄稿機,或 CCK Player) |
txt(純文字檔) |
// |
| 斷句校稿 |
txt |
mp3(或錄音等參考媒體檔案) |
CCK Player |
txt |
// |
| 上時間碼 |
txt |
mp3(或錄音等參考媒體檔案) |
Dvm Work 2 |
srt |
// |
| 製作字幕影片1-1 |
srt |
|
cuesub (Srt → Ass) |
ass |
// |
| 製作字幕影片1-2 |
|
ass |
avs4ass |
avs |
// |
| 製作字幕影片1-3 |
ass,avs |
*** |
avs2mpg ( avisynth 已安裝 forfiles.exe 存在 ffmpeg.exe 存在 VSFilter.dll 支援unicode版存在 ) |
mpg |
~run.cmd |
| 製作字幕影片2 (A計畫) |
srt |
mp3(或錄音等參考媒體檔案) |
srt2mpg (暫定) |
mpg |
ass avs |
上時間碼 製作字幕影片3 (B計畫) |
txt |
mp3(或錄音等參考媒體檔案) |
Dvm Work 3 (暫定) |
mpg |
srt ass avs |
Read more »
WP Shopping Cart plugin version 3.7 中文化工作
WP Shopping Cart 3.7.4
» Instinct Entertainment (url)
A plugin that provides a WordPress Shopping Cart. Contact Instinct Entertainment for support.
不自覺地就開始進行這種邊做便罵的工作了。
這項工作主要是將EN_en.php翻譯成zh_TW.php,之所以不直接拿zh_CN.php轉成繁體是因為一來措辭用語多少有點差異,最主要更是因為該語系檔是對應3.6.10版的,所以有些新的變更就缺漏了。
不過翻譯過程發現該語系檔的生成有點笨,同樣的辭彙有時會重複定義,不過懶得去幫他優化,免得先把搞得自己更頭痛。
zh_TW.php放到該外掛的languages資料夾內,當然還要增加case "zh_TW.php";
$language = "繁體中文";
break;
到適當的位置,在哪裡呢?在外掛的\wpsc-admin\includes\settings-pages\general.php 的 switch($language_file) {之後,}
if($language_setting == $language_file) { ?>
之前。
Read more »
只要是用 WordPress 架站的人,就一定要寫一篇文章來列出自己在用的插件:
| Admin Menu on Right |
Moves WordPress Admin to right side of screen.
後台管理時,管理選單放在右邊。 |
| Advanced Random Posts |
Display random posts from selected categories or current category or all posts with thumbnail images (optional). |
| Akismet |
Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a WordPress.com API key to use it. You can review the spam it catches under 『Comments.』 To show off your Akismet stats just put <?php akismet_counter(); ?> in your template. See also: WP Stats plugin. |
| Assign Missing Categories |
Assigns categories to posts incorrectly stripped of all categories (showing unlinked 『Uncategorized』 in Manage → Posts). |
| Blogroll Links |
Displays blogroll links on a Page or Post.
Insert <!--blogroll-links category-slug="blogroll"-->
<!--/blogroll-links-->
to a Page or Post and it will display your blogroll links there. |
| Clean Options |
finds orphaned options and allows for their removal from the wp_options table |
| Collapsing Categories |
Uses javascript to expand and collapse categories to show the posts that belong to the category |
| Custom Post Text |
最主要搭配 TOC 類的外掛使用,因為可以在每篇文章頭尾自動加點文字上去,剛好加入呼叫 WP-TOC 的標籤文字。
Include custom text before or after every post. |
| Delete Duplicate Posts |
View and delete those pesky Duplicate Posts on your WordPress blog! |
| Embed Iframe |
Allows the insertion of code to display an external webpage within an iframe. The tag to insert the code is:
|
| Evermore |
Abbreviate all posts when viewed on multiple post pages. This makes all posts behave as if there is a 『<!–more–>』 at an appropriate spot inside the content. |
| Ex Cross References |
網誌裡的文章可以交叉引用 |
| Exclude Pages from Navigation |
Provides a checkbox on the editing page which you can check to exclude pages from the primary navigation. IMPORTANT NOTE: This will remove the pages from any 『consumer』 side page listings, which may not be limited to your page navigation listings. |
| Facebook Status for Wordpress |
Displays your current Facebook status Based on Twitter for Wordpress by Ricardo González. |
| Google Doc Embedder |
Lets you embed PDF files, PowerPoint presentations, and TIFF images in a web page using the Google Docs Viewer (no Flash or PDF browser plug-ins required). |
| List category posts |
將指定類別的文章列清單出來,目前應用在短筆集 上 |
| Most Popular Tags |
A configurable widget that displays your blog’s most popular tags or categories |
| My Category Order |
My Category Order allows you to set the order in which categories will appear in the sidebar. Uses a drag and drop interface for ordering. Adds a widget with additional options for easy installation on widgetized themes. |
| My Link Order |
My Link Order allows you to set the order in which links and link categories will appear in the sidebar. Uses a drag and drop interface for ordering. Adds a widget with additional options for easy installation on widgetized themes. |
| Oleggo LiveStream |
A plugin for livestream interaction. In a simple few steps you can create a page with VideoStreaming (uStream, Youtube, Vimeo, etc…), Twitter conversationd and Facebook conversation. |
| PHP Execution |
讓PHP程式碼在文章中被執行,基本上本頁就是利用這個功能來呼叫 Viper’s Plugins Used 的功能。
This plugin does not require to turn off the visual editor.
|
| Pagebar2 |
Adds an advanced page navigation to Wordpress. |
| Post Editor Buttons |
加入自訂按鈕在後台發表文章的編輯器上,這滿好用的。
譬如有人喜歡用 next page 卻找不到nextpage按鈕時,又我喜歡使用h3~h5的章節段落加清單來編製文件,甚至有人可能可以把外掛的呼叫語法也自訂進來,補充預設的不足。
This plugin allows you to add buttons to the post editor. |
| PrintWhatYouLike |
Places the PrintWhatYouLike button on blog posts and pages to generate a printer friendly version of the page. |
| Quick Page/Post Redirect |
Redirect Pages or Posts to another location quickly. Adds a redirect box to the page or post edit page where you can specify the redirect Location and type which can be to another WordPress page/post or an external URL. Additional 301 Redirects can also be added for non-existant posts or pages – helpful for sites converted to WordPress. |
| Simple Tags (RC1.2) |
Extended Tagging for WordPress 2.8 and 2.9 ! Autocompletion, Suggested Tags, Tag Cloud Widgets, Related Posts, Mass edit tags ! |
| Viper’s Plugins Used |
Allows you to display alphabetically what plugins you have enabled on your blog in either a table or unordered list. Also allows you to set custom descriptions for the plugins in the output. |
| WP Admin Quicklinks |
Adds an unobtrusive, simple floating panel to the top-right of every page on your live WordPress site once you’re logged in. Allows easy access to all major sections of the admin interface. |
| WP DB Optimizer |
Optimize your database tables without phpMyAdmin in one clic for high performance. |
| WP Dojox Syntax Highlighter |
Wordpress Syntax Highlighter Plugin. |
| WP Post Columns |
文章裡頭可使用分欄,像短筆集分成三欄,分別來列舉清單。
Allows you to easily create columns within your posts for a magazine / newspaper style layout. Idea for extra columns credited to RickHap http://www.flyhypersonic.com/wordpress |
| WP-Footnotes |
應用效果看[詩詞] 贈絕世
Allows a user to easily add footnotes to a post. |
| WP-PluginsUsed |
在本站啟用的外掛(利用 WP-PluginsUsed 列出)列出本站所使用外掛的外掛,優點是比較簡單方便,缺點是不能像這一篇可以編輯外掛的內容說明,所以說明描述幾乎全是外國拼音文字。
Display WordPress plugins that you currently have (both active and inactive) onto a post/page. |
| WP-TOC |
TOC(Table of Contents)自動將標題做成索引表格放在頁首,我一直覺得自架Blog就是在這方面很特別。我覺得這是CMS最基本的表現之一。
目前搭配 Custom Post Text 使用,表現程度(包括不同文件相容版面與格式不出錯) 很好。
|
| WPBook |
Plugin to embed Wordpress Blog into Facebook Canvas using the Facebook Platform. |