Step1 : sudo apt-get install gcin
Step2 : im-switch -s gcin
Step3 : re-login

lbysdc 發表在 痞客邦 留言(0) 人氣()

The way to solve that ubuntu 13.10 cannot connect to A2DP BT devices...
bluez version: bluez [bluez (4.101-0ubuntu8b1)
pulseaudio version: 4.0

In /etc/bluetooth/audio.conf:
// add Enable=Source which located on the top of audio.conf
[General]
Enable=Source

// modify the value of HFP from true to false
HFP=false
// uncomment the following three lines which located
// in the bottom of audio.conf
[A2DP]
SBCSources=1
MPEG12Sources=0
If it's still not working, try below...
// Test by:
pactl list | grep -i module-bluetooth-discover
// If it's empty, load via below command
pactl load-module module-bluetooth-discover
Pulse audio will then (hopefully) recognize the device
Reference: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1199059

lbysdc 發表在 痞客邦 留言(0) 人氣()

blog-photo
 sudo apt-get install scim
sudo apt-get install scim-tables-zh
download Liu.bin from here
http://km2.iiietc.ncu.edu.tw/xms/read_attach.php?id=1347

lbysdc 發表在 痞客邦 留言(0) 人氣()

Python Socket Programming (Python3)
# server.py
from socket import *
# all available on host
myHost = ''
myPort = 50007
# create a TCP/IP socket object
sockobj = socket(AF_INET, SOCK_STREAM)
# Bind socket object to host/port
sockobj.bind((myHost, myPort))
# Allow 5 pending connects
sockobj.listen(5)

lbysdc 發表在 痞客邦 留言(0) 人氣()

Life cycle of a request
The two kinds of coprocessors
1. observers: allow the cluster to behave differently during normal client operations.
2. endpoints: allow you to extend the cluster's capabilities, exposing new operations to client applications.
Observers
How it works? That's take a look at the request lifecycle compares to the RegionObserver intercepted

lbysdc 發表在 痞客邦 留言(1) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。