What are JSON Web Tokens? Can it really be used to replace traditional session cookies? This article is a note made while studying JWT.
閱讀全文 JSON Web Tokens分類: Technologies
CSS Text 3: Segment Break Transformation Rules
At the end of last year, I used my free time1 to fix Firefox Implementation of Segment Break Transformation Rules (Bug 1081858). Starting from Firefox 52, the line breaks between Chinese and Chinese in HTML will not be displayed as blank in the browser.
閱讀全文 CSS Text 3: Segment Break Transformation RulesConvert Texinfo to MOBI
GNU software often comes with a large set of documents in texinfo format, which can be typesetted to a real book. For example the Gnus Manual has over 500 pages, full of fun and humor. Having a mobi version on my Kindle would be quite handy.
閱讀全文 Convert Texinfo to MOBIAndroid Service with dynamic arguments
Recently when I was preparing some Android training material I found this little trick.
Android “init” can do a lot of things, including “on property change” trigger; one can image some applications use this to implement an ad-hoc IPC. One example is the system/libnetutil that monitors the “init.svc.dhcpcd” property to detect whether dhcpcd is running or not.
閱讀全文 Android Service with dynamic argumentsRoot your Phone with just 1-Click
AndroidDev: Recent progress on Gallery3D
Gallery3D is the gallery application released with Éclair, contributed by Cooliris.
This application heavily uses OpenGL to render the scenes. It looks great on Nexus One. But 0xdroid does not yet support hardware accelerated 3D graphics and rely on libagl to rasterize the 3D graph.
閱讀全文 AndroidDev: Recent progress on Gallery3DFourth 0xdroid Release for BeagleBoard and Devkit8000!
Today we are celebrating the 0xLab’s one year old birthday! I’d like to write about the recently announced fourth 0xdroid release.
閱讀全文 Fourth 0xdroid Release for BeagleBoard and Devkit8000!Created a 4096 bit GPG key to replace my 1024 bit one
In light recent new attacks against SHA-1 [1,2], and the NIST guidance on 1024 bit keys and SHA-1 hashes [3,4], I have decided to move to a new OpenPGP key of a larger size. As such, I will be slowly transitioning away from my old key.
閱讀全文 Created a 4096 bit GPG key to replace my 1024 bit oneCairo Clock without composite manager
The cairo-clock from MackSlow indeed has very good look and feel. But it’s transparent background depends on cairo’s alpha channel and Xorg’s composite extension. I did not enable this extension by default because gnome doesn’t have it’s own composite manager but rely on xcompmgr.
閱讀全文 Cairo Clock without composite manager