<![CDATA[Creativecrap]]> https://creativecrap.com/ Creativecrap RSS Feed https://creativecrap.com//image/favicon-144.png Creativecrap https://creativecrap.com/ zh-tw Wed, 25 Apr 2018 10:37:14 +0800 Give it a Go https://creativecrap.com/blog/murmur/give-it-a-go.html https://creativecrap.com/blog/murmur/give-it-a-go.html Fri, 23 Mar 2018 03:04:10 +0800 I's been awhile since I really dig into a new language, I think it might be the time to give it a "Go".
Start by rewriting my personal scripts which usually build upon bash or php.

===

After go through Go tour, kinda remind me why I don't like AngularJS at first place.
Overall, single binary file and performance still got me, however the syntax might cause a lots confusing and I don't like it

]]>
v2 first beta https://creativecrap.com/blog/misc/v2-first-beta.html https://creativecrap.com/blog/misc/v2-first-beta.html Thu, 05 Oct 2017 02:36:12 +0800 finally we have the first public beta after 100 more days

![okidokey-v2-chart.png](/img/posts/2017/okidokey-v2-chart.png

]]>
QIF vs OFX https://creativecrap.com/blog/murmur/qif-vs-ofx.html https://creativecrap.com/blog/murmur/qif-vs-ofx.html Mon, 08 Jan 2018 17:35:55 +0800 QIF - out-dated "COBOL" like data structure, lack of transaction/statement identifier, currency, rate and such features, however it supports split transactions.

OFX - XML structure, contains above missing features in QIF, however it has no concept of split transactions.

Reference:
https://en.wikipedia.org/wiki/Quicken_Interchange_Format
http://www.ofx.net

]]>
OkidoKey - 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 OkidoKey 2
The Input Method Keyboard Kit

            Buy  
            Try OkidoKey Lite  




        OkidoKey 2 包含純文字編輯器、軟體鍵盤及可於系統及其他 app 中使用的第三方鍵盤。可做為快速輸入目的,不需要開啟或刪除文件,並會自動複製內文的剪貼簿。  
        可安裝多個不同的輸入法,並直接於鍵盤中切換,可中英文混合輸入不需來回切換鍵盤,支援 emoji、使用者自訂字彙、拼字檢查、中文詞庫、智慧型符號、同音字及字根反查等功能。  


            * OkidoKey 2 需 iOS 11.0 及更新版本  
            * OkidoKey Lite 含有廣告及部份功能限制  
            ** 請先試用免費版,如果 Lite 版無法達到您要的需求,則付費版也同樣無法達成  






        Input Methods  

        OkidoKey 蒐集了常見並使用公眾授權或其他授權方式開放的中文輸入法表格,包含行列、注音、倉頡、大易、拼音、双拼等中文輸入法,下載安裝後即可使用。  

        安裝其他輸入法同樣簡單。只要於 cin 表格檔上長按後選擇安裝,或進入檔案選取畫面,勾選要安裝的 cin 表格檔再選擇安裝。或分享 cin 表格檔自其他 App 例如 Mail.app。  

        有關 cin 表格說明、蒐集清單或鍵盤配置,請參閱 OkidoKey Charsets 專案.  






        Bluetooth Keyboard  
        第三方鍵盤不支援藍牙鍵盤,然而內建純文字編輯器則可搭配藍牙鍵盤使用。OkidoKey 剪貼簿搭配 iPad 分割畫面多工,可做為中繼輸入界面使用,切換至不同 app 時,剪貼簿會自動複製內文,只要執行貼上動作即可。  

        內置文字編輯器比第三鍵盤含更多功能,例如文中任何位置都可使用字詞功能,可以查詢標記文字的同音字、字根反查或字詞,及專為藍牙鍵盤設計的功能等等。  






        More  


            方向鍵  
            長按鍵  
            中文字詞  
            拼字檢查  
             ...
]]>
Apps https://creativecrap.com/app/apps.html https://creativecrap.com/app/apps.html Sat, 26 Mar 2016 19:05:05 +0800 My personal published side projects.
Most of these project was created because I can't find any 3rd party apps that fits me.

    Location Switcher  
    Firefox Add-on  
    Switching between development and production servers.  








    OkidoKey  
    iOS 8.0+  
    第三方中文輸入法鍵盤,可於內建記事本中使用藍牙鍵盤。  








    OkidoKey Charsets  
    Open source data of OkidoKey  
    OkidoKey 鍵盤配置、輸入法字根等資料開源專案  








    iLyricsCloud  
    Self-hosting Web Service  
    LyricsCloud is a self-hosting web service which can management, search artworks and lyrics.  It's the middle man of iLyrics widgets.  








    ibus2cin  
    Command line tools for Mac, Linux and Windows  
    嘸蝦米輸入法字根表匯出工具程式  

Under-development
They may still works but out-dated or drop support by its platform, consider using above apps instead if any.

    zhim! extended  
    iOS 5.0~7.x  
    自訂中文輸入鍵盤記事本軟體,支援藍芽鍵盤。  
    For newer devices, please use OkidoKey instead ...
]]>
2 is coming https://creativecrap.com/blog/misc/2-is-coming.html https://creativecrap.com/blog/misc/2-is-coming.html Tue, 14 Nov 2017 16:04:06 +0800 It's time to upgrade to iOS11 and preapre for upcoming OkidoKey 2

]]>
Textmate bundle cache issue https://creativecrap.com/article/tutorials/textmate-bundle-cache-issue.html https://creativecrap.com/article/tutorials/textmate-bundle-cache-issue.html Wed, 07 Jun 2017 15:58:42 +0800 Sometimes Textmate bundle changes got restore back to previous state when re-launch.
Fixed by delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary, then it should works again, the downside is it may re-active a few bundles again, have to turn them off manually.

I keep forgetting the location of the bundle cache, and google for it everytime.

Ref: [Reverting To Defaults](https://github.com/textmate/textmate/wiki/Reverting-To-Defaults

]]>
嘸蝦米指南 https://creativecrap.com/app/zhim-boshiamy-walkthrough.html https://creativecrap.com/app/zhim-boshiamy-walkthrough.html Sat, 14 Dec 2013 15:13:00 +0800 關於嘸蝦米指南

嘸蝦米因字根著作權及專利權問題,在字根表未公開授權免費自由使用之前,僅有合法版權的使用者可自行利用,不能以任何型式散佈,因此嘸蝦米的使用者需自行提供字根表格來做轉換,並僅其本人使用。

如果您需要在 zhim! 中使用嘸蝦米 而又不知道如何轉換字典檔,那就來對地方了,請依您的狀況進行指南,若仍有疑問,再歡迎來信詢問。

    什麼是字根表  
    字根表或稱表格檔,是所有文字與其字根的對照列表表格。  
    嘸蝦米範例  

a 對
aa 寸
aaa 鑫
ab 鎮
ab 鎭

返回

    什麼是 CIN 格式  
    cin 是中文輸入引擎所支援的輸入法表格常見的格式之一,為純文字文件,內容排版類似 csv 格式,除了字根表格還多了輸入法相關的資訊,如輸入法名稱、鍵盤按鍵配置等等。  
    行列30的表格範例  

%ename array30
%cname 行列30
%encoding UTF-8
%selkey 1234567890
%keyname begin
a 1-
b 5⇣
c 3⇣
.... (略)
; 0-
, 8⇣
? ?
* *
%keyname end
%chardef begin
a 一
aa 二
aaa 三
aaax 貳
aac 示
..... (略)
%chardef end

返回

    什麼是 UTF-8 編碼  
    純文字文件依所使用的語系不同,會使用不同的編碼儲存,例如早期繁體中文會以 Big5 編碼儲存,簡體多半以 GB2321 編碼等等。當使用了錯誤的編碼開啟文件,或是軟體尚不支援的該編碼時,無法正確解讀,就會產生常說的亂碼問題。  
    隨著國際化時代來臨,單一的編碼不再適用於多語系的環境,因此有了 Unicode 來做為字元編碼的標準,UTF-8 便是其一最廣泛的應用。  

        維基百科: Unicode  
        維基百科: UTF-8  

返回

    how to convert to utf8  

返回

    指南開始  
    要能夠使用嘸蝦米,首先需要將嘸蝦米字根轉換為 zhim! 可使用的字典檔, ...
]]>
Disable rootless on Mac OSX 10.11 https://creativecrap.com/article/misc/disable-rootless-on-mac-ox-10.11.html https://creativecrap.com/article/misc/disable-rootless-on-mac-ox-10.11.html Fri, 02 Oct 2015 07:34:43 +0800 OS X 10.11 及 iOS9 引進了 System Integrity Protection 也就是俗稱的 rootless 的保護機制,簡單的說他限制了所有非 Apple 軟體去更動系統自帶的檔案,這包含了系統上最高權限的帳號 root 也無法更動,所以即使有 root 權限的 sudo 命令,也會只得到 "Operation not permitted" 或 "can’t be modified or deleted because it’s required by OS X" 的結果。 OS X 10.11 及 iOS9 引進了 System Integrity Protection 也就是俗稱的 rootless 的保護機制,簡單的說他限制了所有非 Apple 軟體去更動系統自帶的檔案,這包含了系統上最高權限的帳號 root 也無法更動,所以即使有 root 權限的 sudo 命令,也會只得到 "Operation not permitted" 或 "can’t be modified or deleted because it’s required by OS X" 的結果。

立意是好的這毋庸置疑,對一般的使用者來說只有更安全,但對於進階者說來不便應該會多於安全。例如以字型來說,在安裝完或系統版本更新之後,關閉明體及楷書字體是我首先會調整的設定之一,因為這兩個字體實在不適合在電腦上閱讀使用,但大多數狀況下他的優先權卻又高於其他字體,能夠關閉的字體則在 Font.app 中完成,如果為系統字型無法關閉,我則會把字型由 /Library/Fonts 複製到 ~/Library/Fonts 然後就能在 Font.app 中關閉但並沒有真的刪除字型,這個動作在 rootless 的限制下就無法完成,更別說像 XtraFinder 這類的插件也都無法正常執行。  


Disable rootless  


唯一的方式只有關閉 rootless,要關閉 rootless 需要進入 Recovery mode,未進入回復模式下執行的 nvram 都沒有作用,系統重新啟動後就會再複原。  


1. 開機始按住 command-r 進入 recovery mode  
2. 於選單中選擇 Utility > Terminal 開啟終端機  
3. 執行 csrutil disable 關閉 SIP  
4. 重新啟動  

完成上述動作,就完成關閉 rootless。可以再執行 csrutil status 確認 SIP 的啟用狀況,有需要重新開啟時,重複上述動作,指令改為 csrutil enable 則可重新開啟。  

Terminal 過程如下

-bash-3.2# csrutil

Modify the System Integrity Protection ...

]]>
About https://creativecrap.com/misc/about.html https://creativecrap.com/misc/about.html Thu, 28 Feb 2008 19:47:46 +0800 My name is Ethan, a freelance developer base on Taipei, Taiwan.
I've create many websites and a few iOS apps.

If you like to contact me, please use the following contact form, I'll get back to you as soon as I can.

If your questions are relate to any of our product, please provide more informaction about the product and your device, it'll help us to solve your questions faster. ie. zhim! extended v2.1 on iPhone6 iOS 8.1.

Line@

To get instant news or direct support via Line app, feel free to add us as a friend

]]>