位元詩人 技術雜談

此處收集一些單篇的技術文章。這些文章和文章間的順序僅代表發佈時間的先後,沒有內容上的連貫性,讀者可跳著讀自己感興趣的部分。

技術雜談:Sort by Hash Values in Perl

Since hash is a one-way relation, you cannot directly sort by hash values and get hash keys in Perl. However, by customized sort subroutine, 繼續閱讀

技術雜談:Add Bookmarks with Coherent PDF Tools

Coherent PDF Tools is a command line PDF tool for Windows, Mac and Unix. It is free for non-commercial use. I wanted to remove all bookmarks 繼續閱讀

技術雜談:How to Remove PKG packages on Mac

For GUI mac software, AppCleaner is an easy way to safely and cleanly uninstall it on Mac. However, there is no easy method to uninstall PKG 繼續閱讀

技術雜談:Install Ruby Gems in Home Directory

Although some system package managers on Linux or Unix provides Ruby gems as package, you still want to gem to install updated or specific gems 繼續閱讀

技術雜談:PastebinCL - Paste Your Code from Terminal

Pastebin.com is a website where you can store and share text or code for a certain period of time. Pastebin support syntax highlight for a variety 繼續閱讀

技術雜談:How To Install Pygame for Python 3 on Mac

If you need to develop Python 3 application in Pygame on Mac, you should have noticed that there is no official installer of Pygame for Python 繼續閱讀

技術雜談:Homebrew, the missing package manager for OS X

Beneath the pretty user interface, OS X is also an Unix. However, OS X lacks a system package manager like APT for Debian and Ubuntu, YUM for 繼續閱讀