<![CDATA[Creativecrap]]> https://creativecrap.com/ Creativecrap RSS Feed https://creativecrap.com//image/favicon-144.png Creativecrap https://creativecrap.com/ zh-tw Sun, 28 Apr 2024 05:59:08 +0800 FontBooth - A CJK First Font Provider https://creativecrap.com/app/fontbooth.html https://creativecrap.com/app/fontbooth.html Sun, 26 Nov 2023 01:23:44 +0800 CJK fonts unicode coverage https://creativecrap.com/article/general/cjk-fonts-unicode-coverage.html https://creativecrap.com/article/general/cjk-fonts-unicode-coverage.html Sun, 12 Nov 2023 18:52:30 +0800 Frankie - The Input Method Keyboard Kit https://creativecrap.com/app/okidokey.html https://creativecrap.com/app/okidokey.html Tue, 01 Dec 2015 15:59:28 +0800 https://creativecrap.com/blog/murmur/just-a-little-summary.html https://creativecrap.com/blog/murmur/just-a-little-summary.html Thu, 21 Jul 2022 15:16:17 +0800 移除 disqus 留言系統 https://creativecrap.com/article/news/leaving-disqus.html https://creativecrap.com/article/news/leaving-disqus.html Wed, 31 Jul 2019 18:54:55 +0800 斷斷續續也使用了免費版的 disqus 幾年的時光,除了曾手誤刪除錯誤的網站之外,倒也沒有遇到什麼狀況。比較被垢病的效率問題,只要有 lazy loading or delay 的處理,一直也沒覺得有什麼明顯的差別,比較在意的反而是免費後面的成本。

  • 資料的所有權
    disqus 免費版管理者並無法取得 IP, email 等完整的資料,也無法完整控制 spam 的條件,匯出的資料完整度有限之外,也無法直接當備份使用,因為匯入的格式不同。
  • 使用者的隱私權
    對於網站的使用者而言,等於是無選擇性的提供資料給 disqus 做其他利用,當然這是免費服務相對付出的代價,但對於使用者而言並不甚公平。
  • 其他一些板面、內容廣告,沒有 stage 模式等等小的問題。

看了一下目前其他類似的免費服務或 open source 版本,沒有特別中意的方案,所以就另外重寫了一個,目的也很單純還不想要做成太複雜的系統。

  • 匿名
    不需要為了留言,而必須擁有其他第三方單位的帳號。這也表示,使用者無法再次編輯留言,匿名部份程度上也給了有心想搗亂的人方便
  • 私人訊息
    某些時候可能會需要較隱私的資料,但又不便再轉移到其他溝通管道時,是一個簡單快速的方式
  • 不需要 Thread
    一則留言一則回覆,不需要多層
  • 支援 pingback/webmention
    只是中途想到以前做過,所以加進來試試
  • Spam filter
    暱名也表示更有機會有垃圾留言,少了 disqus 自動過濾,不想使用 Captcha 也還先不使用 Akismet 之類的方式,暫時觀察一陣子再來決定

目前的留言由 disqus 匯出後,再重新整理並拆開 threads,部份含有連結的可能會不完整,因為一開始沒注意到,後續也覺得無妨。登入 disqus 的方式因為原本就不存在,所以這類相關的資訊,如 Email、帳號或頭像等資料也不會存在。有幾則留言則因重複,或無對應的回覆,則做刪除處理。

所有的留言等於都已轉為暱名,已與原 disqus 帳號無關聯,所以如果有 “您的舊留言” 有需要做異動,再請直接與我們連繫。

後記

原來早在 2017 年 disqus 已賣給廣告公司,先前移除還是對的。
https:// ...

]]>
行易嘸蝦米 iBus 轉出 cin 表格工具 https://creativecrap.com/app/export-cin-table-from-ibus-boshiamy-using-ibus2cin.html https://creativecrap.com/app/export-cin-table-from-ibus-boshiamy-using-ibus2cin.html Fri, 13 Jan 2012 19:33:57 +0800 ibus2cin

將行易官網提供的嘸蝦米 iBus 表格,轉換為一般通用的 CIN 表格工具程式

使用方式

將 ibus2cin 或 ibus2cin.exe 與自行易官網下載的 iBus 檔案解壓縮後,存放於同一個資料夾。
開啟終端機或命令列視窗,切換至此資料夾下後執行 ibus2cin,Windows 平台則是執行 ibus2cin.exe

> ./ibus2cin  

ibus2cin - version 2.0  
Generate CIN table from iBus database provided by boshiamy.com.  
This program is distributed to help legal users, but without any warranty.  
It's not an official utility from boshiamy.com, please use it well.  
Source repo: https://github.com/ethanliu/ibus2cin  

語法:  
  ./ibus2cin [參數] iBus-表格檔  

範例:  
  ./ibus2cin boshiamy-ibus-1-8-x/boshiamy_t.db  
  ./ibus2cin -v 1.1 boshiamy-ibus/boshiamy_t.db  
  ./ibus2cin -v 1.1 -o boshiamy.cin boshiamy-ibus/boshiamy_t.db  

參數:  
  -o string  
        輸出的 CIN 表格檔名 (預設為 "[iBus-表格檔].cin")  
  -v string  
        嘸蝦米表格檔版本 (預設為 "2.1")  

什麼是 iBus

iBus 是在 Linux 平台下的輸入法框架之一。
例如奇摩輸入法、gcin、香草輸入法、OkidoKey 等,分別為在不同平台下的輸入法框架,皆以使用輸入法表格檔來支援各種輸入法。

如何取得嘸蝦米 ...

]]>
gitee https://creativecrap.com/blog/misc/gitee.html https://creativecrap.com/blog/misc/gitee.html Tue, 10 Nov 2020 18:56:17 +0800 因為 GitHub 中國連線問題,原本想嘗試也另外放一份 repo 在 gitee,沒想到 app 更改完測試才發現 gitee 有超過 1MB 的檔案無法直接讀取的限制。

同時也發現在導向登入頁時,會把 https 轉成 http... 嗯....
可以來刪帳號了 (刪的掉嗎?)

gitee-1mb-limit.png

後記

另有讀到可使用 Gitee Pages 靜態頁面 (類似 github pages) 將檔案掛進來,就可以跳過這個限制,不過要啟用這項服務,帳號也需要手機認證後才能使用,所以並未嘗試。

最終,因為沒有看到比較符合的選擇,所以直接將檔案切割成數個 1MB 的檔案的方式來處理

]]>
Some new keyboard layouts coming https://creativecrap.com/blog/misc/some-new-keyboard-layouts-coming.html https://creativecrap.com/blog/misc/some-new-keyboard-layouts-coming.html Fri, 24 Jul 2020 19:20:28 +0800 既然有支援倚天、許氏等等注音鍵盤,其實再往回支援九宮格式的也沒什麼問題,只是九宮格式比較無標準,通常依每個不同品牌的手機就有不同,不品牌不同型號也可能不同,先試了幾種較常見的組合。

keyboard-bpmf-keypad2.png
keyboard-bpmf-keypad4.png

也嘗試 14 鍵的 QWERTY 鍵盤,一般應該比較適用於拼音式的輸入法,搭配一般輸入法也能正常使用,只是重碼相對會比較多。

keyboard-qwerty-k14.png

因應行列輸入法的特性,如果搭配了無方位鍵的鍵盤,那麼就直接忽略方位鍵吧 😎

![keyboard-array.png](/img/posts/2020/app/keyboard-array.png

]]>
Launch an application from a browser https://creativecrap.com/article/tutorials/launch-an-application-from-a-browser.html https://creativecrap.com/article/tutorials/launch-an-application-from-a-browser.html Thu, 05 Sep 2019 17:29:13 +0800 當然不是真的由瀏灠器直接去執行某個應用程式,而是透過 protocol 來進行,例如 mailto 會開啟本機端註策到這個協定的應用程式。

我想在 git commits 資訊頁面,直接以 Textmate (或其他應用程式) 來開啟指定的檔案。這個的目的比較單純也僅使用於本機,所以乎略自訂協定或安全性的問題。

目前通用的協定有很多其實不常用到,所以挑選一個不常使用的協定來使用,例如 gopher,則要使用的連結為 gopher:///path/filename.ext。然後使用 Apple Script 來處理這個協定,簡單的將傳進來的網址字串,把 gopher:// 刪除便是檔案的位置 /path/filename.ext,然後交由 Textmate 來開啟。

-- https://github.com/abbeycode/AppleScripts/blob/master/Scripts/Libraries/Strings.applescript
on replace_text(this_text, search_string, replacement_string)
set prevTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to the search_string
set the item_list to every text item of this_text
set AppleScript's text item delimiters to the replacement_string
set this_text to the item_list as string
set AppleScript's text item delimiters to prevTIDs
return this_text
end replace_text

on open location _URL
set _path to replace_text(_URL, "gopher://", "")
tell application "TextMate"
open _path
...

]]>
macOS 10.15 beta https://creativecrap.com/blog/misc/macos-10-15.html https://creativecrap.com/blog/misc/macos-10-15.html Fri, 02 Aug 2019 14:36:37 +0800 overall
  • Need to disable SIP more then ever since there's a new separated protected partition contains all system files
  • Need 2-copy of system fonts to disable system fonts since you can't delete or disable system fonts anymore
  • All apps are 64btis, includes AppleScript apps
  • Finder crashed on preview html file associated with Chrome?

beta6

  • Previous Firefox products issue fixed (possible related to jemalloc issue?)
  • Finder crashed when select a .html file fixed (might related to above issue?)
  • Finder and arrow keys now works as usual
  • Xcode 11b6 still have issue for accessing documents from DocumentBrowserViewController

beta5

  • Firefox/Thunderbird crashes on start Bugzilla
  • Much stable then b4

beta4

  • Unexpected crashes a lot, sometimes during shutdown/reboot process
  • DocumentBrowserViewController file accessing not working on simulator

beta3

  • UIDocumentController ...
]]>