Posts

Showing posts from November, 2013

Configure Emacs's PATH environment in Mac OS X

Image
Configure Emacs's PATH environment in Mac OS X Table of Contents Background Why did that sad thing happen? 1 Background Yesterday, I wanna send a love letter to a chick who I am chasing on-line. So I decided to send this letter by my favorite email client GNUS in my favorite editor Emacs to show my passion and love, but sad things happened(Seriously, Should I still being single and lonely?) , I got following errors: My customized email signature corrupted, which supposed to attach a joke and an ASCII art. Following is the error message, if I sent those error message to a girl, I must be out the game, right? /bin/bash: fortune: command not found /bin/bash: cowsay: command not found I can not send emails in GNUS anymore. smtpmail-send-it: Sending failed: 530 5.7.0 Must issue a STARTTLS command first. y9sm60423107pas.10 - gsmtp Although I have another puzzle which can be classified as same kinds of problem, In eshell-mode, I can not found the right

Install GTK+-3.8.7 into Ubuntu 12.04 from scratch

Image
Install Gtk+-3.8.7 into Ubuntu 12.04 from scratch Table of Contents Preparation How the compile the source code from the beginning? 1 Preparation The first step is alway to download the needed package. I give the following shopping list: software package Download URL glib-2.36.4 http://ftp.gnome.org/pub/gnome/sources/glib/2.36/ gdk-pixbuf-2.28.2 http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.28/ atk-2.8.0 http://ftp.gnome.org/pub/gnome/sources/atk/2.8/ fontconfig-2.11.0 http://www.freedesktop.org/software/fontconfig/release/ harfbuzz-0.9.24 http://www.freedesktop.org/software/harfbuzz/release/ pango-1.34.1 http://ftp.gnome.org/pub/gnome/sources/pango/1.34/ libatk-bridge2.0 http://packages.ubuntu.com/zh-cn/quantal/libatk-bridge2.0-0 libatk-bridge2.0-dev http://packages.ubuntu.com/zh-cn/quantal/libatk-bridge2.0-dev gtk+-3.8.7 http://ftp.gnome.org/pub/gnome/sources/gtk+/3.8/ My operating system is Ubuntu 12.04

How Bluetooth LE works? -- Host stack

Image
How Bluetooth LE works? – Host stack Table of Contents 1 Bluetooth LE hosts stack architecture 2 L2CAP 3 Attribute 4 The Attribute Protocol and The Generic Attribute Profile 1 Bluetooth LE hosts stack architecture +----------------------------------+ | | | Generic Attribute Profile | +----------------------------------+ | | | Attribute Protocol | +----------------------------------+ | | | L2CAP | +----------------------------------+ Bluetooth LE's host stack is built under the Host Control interface, which is used to connect with controller part. As showing in the above figures, there are at least three layers which need to introduce in