↓ 快轉到主要內容

Posts

2016

Android JNI 環境建置

·1223 字·3 分鐘
介紹 # 主要參考這篇:Android studio 1.5.1 NDK JNI環境安裝與執行原理 不過Android 2.1.2上步驟稍有簡化,還是可以達到同樣效果。

renpy (5) 自己撰寫button的Action

·417 字·1 分鐘
在官網可以看到有很多可使用的Action。 萬一想要的功能並不在裡面呢? 其實也有Function此一Action的存在,可自己撰寫Function傳進去使用。 這裡只是提點一些Function使用上的誤區。

renpy (3) 改良tooltip的方法

·850 字·2 分鐘
tooltip # 所謂的tooltip,就是當你滑鼠移到一個button上後,可以顯示一些說明,讓使用者更了解這個button的功能。 可以用以下的程式碼簡單的實作tootip

renpy (1) 基礎語句

·1431 字·3 分鐘
緣起 # 其實很多內容在 雪凡與好朋友們的 Ren’Py 遊戲引擎初學心得提示 就有了,大概寫一些製作時的心得而已。

2015

在mutt設定gmail

·1068 字·3 分鐘
總設定 # set editor = "vim" set send_charset="us-ascii:utf-8" set from = "你的帳號@gmail.com" set realname = "你的名字 可隨便打" set imap_user = "你的帳號@gmail.com" set imap_pass = "你的密碼" set folder = "imaps://imap.gmail.com:993" set spoolfile = "+INBOX" set postponed ="+[Gmail]/Drafts" set header_cache =~/.mutt/cache/headers set message_cachedir =~/.mutt/cache/bodies set certificate_file =~/.mutt/certificates set smtp_url = "smtp://你的帳號@smtp.gmail.com:587/" set smtp_pass = "你的密碼" set move = no set imap_keepalive = 900 bind pager <up> previous-line #scroll inside the message rather than the index bind pager <down> next-line bind index <left> last-entry bind pager <left> exit bind index <right> display-message bind pager <right> next-page bind browser <right> select-entry 細部設定 # 編碼與編輯器 # 通常在Ubuntu底下的預設編輯器是nano而不是vim,所以需要調整。 utf-8則是Linux Cross Reference中建議的。