2014年9月3日 星期三

Qt 经典出错信息之”Basic XLib functionality test failed!”(Z..z..)

sudo 指令使用說明

http://note.drx.tw/2008/01/linuxsudo.html

Linux Shell 文字取代、替換

語法: ${變數/預計替換的字串/替換後的字串}   s=${temp/_/ } 將temp變數的底線換成空格,再給變數s.

自定义树莓派的显示分辨率

这个是1080p。
hdmi_group=1 hdmi_mode=16   1080p 60Hz
hdmi_group=2  hdmimode=82,两者皆可
http://shumeipai.nxez.com/2013/08/31/custom-display-resolution-raspberry-pie.html#more-135

Qt编程技巧 Qt图片翻转
http://blog.csdn.net/killua_hzl/article/details/4731292

Qt is now configured for building. Just run 'make'.

Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local/Trolltech/Qt-4.7.2

To reconfigure, run 'make confclean' and 'configure'.


自定义树莓派的显示分辨率

http://bbs.shumeipai.org/thread-117-1-1.html

http://blog.csdn.net/neu_sunlei/article/details/5524384

顯示內容中文亂碼的解決:在程序代碼的最開始增加如下代碼:
    QTextCodec *textc=QTextCodec::codecForName("utf8");
    QTextCodec::setCodecForTr(textc);
    QTextCodec::setCodecForCStrings(textc);


下面幾個步驟就可以關閉螢幕保護功能.
  • Install apt-get install x11-xserver-utils
  • Edit /etc/xdg/lxsession/LXDE/autostart
Append these lines:
@xset s noblank
@xset s off
@xset -dpms
Possibly also comment out the line that says @xscreensaver -no-splash, so the complete file should look something like this:
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
# @xscreensaver -no-splash

@xset s noblank
@xset s off
@xset -dpms
Also edit /etc/kbd/config and make sure these values are set as follows (however I believe this is only for when the lightweight desktop (LXDE) is not running (i.e. the pi is still in text / terminal mode):
BLANK_TIME=0
BLANK_DPMS=off
POWERDOWN_TIME=0
http://blog.csdn.net/c80486/article/details/8460325
树莓派(raspberry pi)学习7: 自动登录、自动运行startx、自动运行程序
http://www.elinux.org/RPi_Debian_Auto_Login
Auto Login:In Terminal:
sudo nano /etc/inittab
Scroll down to:
1:2345:respawn:/sbin/getty 115200 tty1
and change to
#1:2345:respawn:/sbin/getty 115200 tty1
Under that line add:
1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1
原理:linux启动时,会读取inittab文件,执行其中的登录命令,以pi用户名自动登录
Auto StartX (Run LXDE)
sudo vi /etc/rc.local
su -l pi -c startx
在文件尾部(在exit 0前)加上一行 su pi -c startx
这个命令的意思是,以pi用户的身份,执行startx
(where pi is the username you want to run X as). Press Ctrl+X to exit, Y to save followed by Enter twice.
(Note: The previous method indicated that you should add startx to /etc/profile. The updated method is better, since it will cause startx to run only when necessary, and it will not launch the X server as root.)

窗口系统启动后,自动运行自定义的程序的实现方法
进入当前用户HOME目录下的.config目录(这是一个隐藏目录,需用ls -a显示出来)
cd ~/.config     
当前用户是pi, 其HOME目录是/home/pi, 上述命令相当于 cd /home/pi/.config
建立一个名为autostart的子目录,并进入该目录
mkdir autostart
cd autostart
生成一个*.desktop文件(比如:my.desktop),命令如下:
sudo nano my.desktop
输入以下文件内容:
[Desktop Entry]
Type=Application
Exec=midori
最后一句Exec的值就是要启动的程序名(最好是全路径的可执行文件名),此处是midori浏览器
按CTRL+X退出,记得按Y键存盘
OK了,重新 startx 即可

先用enca -L zh [filename] 偵測檔案編碼
在用enca -L zh -x [要轉換的格式 例如UTF-8] [要轉換的filename] [轉換後的filename]
find Samples -name "*.h" -exec enca -L zh -x UTF-8 {} \;

將 Samples 目錄下, 每一個 .cpp 檔案的 "big5" 揍成 "UTF-8"
find Samples -name "*.cpp" -exec sed -i "s/big5/UTF-8/g" {} \;

找出Samples 目錄下, 有含"big5"字串的 .cpp 檔案內容
find Samples -name "*.cpp" -exec grep "big5" {} \;

sed -i "s/old/new/g" `grep old -rl ./` 在當前文件夾下首先搜索所有含有old字符串的文件,然後再對每個文件執行sed替換命令。

cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime

用rsync+ssh+crontab做主機自動同步備份

http://www.davidpai.tw/ubuntu/2011/rsync_backup/

pi@raspberrypi ~ $ rsync -av --delete -e ssh stephen@192.168.1.98:/home/stephen/img /home/pi

rsync -av --delete -e ssh stephen@www.hokag.com:/home/stephen/test_sync/ /home/pi/tmp/

資料備份同步工具簡介— rsync
http://newsletter.ascc.sinica.edu.tw/news/read_news.php?nid=1742

實用 crontab 寫法
@reboot: 在每次開機時執行。
@yearly: 等同 0 0 1 1 * 寫法,即每年一月一日零時零分。
@annually: 與 @yearly 相同。
@monthly: 在每月一號零時零分執行。
@weekly: 在星期天零時零分執行。 Run once a week, “0 0 * * 0″.
@daily: 每天零時零分。
@midnight: 與 @daily 相同。
@hourly: 每小時零分執行。

SETUP SYSLOG WITH LOGANALYZER ON UBUNTU SERVER

http://www.slsmk.com/setup-syslog-with-loganalyzer-on-ubuntu-server/

http://download.adiscon.com/loganalyzer/loganalyzer-3.6.6.tar.gz

mkdir /var/www/syslog

cp -r /home/stephen/Download/loganalyzer-3.6.6/src/* /var/www/syslog
cp -r /home/stephen/Download/loganalyzer-3.6.6/contrib/*.sh /var/www/syslog
chmod +x /var/www/syslog/*.sh
cd /var/www/syslog/
./configure.sh

usermod -G adm www-data



/var/www/syslog# ln -s /var/www/syslog /home/stephen/wordpress/SysLog_HoKag

bind9-提供Domain Name與IP對應的服務

http://wiki.weithenn.org/cgi-bin/wiki.pl?bind9-%E6%8F%90%E4%BE%9BDomain_Name%E8%88%87IP%E5%B0%8D%E6%87%89%E7%9A%84%E6%9C%8D%E5%8B%99


/usr/sbin/named-checkconf        //檢查 named.conf 語法是否有錯
                           -v     //顯示 named-checkconf 版本

#/usr/sbin/named-checkzone weithenn.org named.weithenn.org      //檢查語法是否有錯
 #/usr/sbin/named-checkzone -d weithenn.org named.weithenn.org   //開啟除錯功能
                            -v                                   //顯示 named-checkconf 版本

使用 Ubuntu 安裝 Bind9: Domain Name Service (DNS)

http://www.nowtaxes.com.tw/node/1114

http://www.chc.edu.tw/skill/dns.htm


Dig 常用參數 與 DNS 偵錯追蹤

http://blog.longwin.com.tw/2013/03/dig-dns-query-debug-2013

DNS 系統設定例--2.named.conf 的例子 (進階型)
http://fanqiang.chinaunix.net/a6/b5/20010521/150001173_b.html

ls -l /dev/disk/by-uuid/
vi /etc/fstab

Ubuntu 版本代碼
lsb_release -a 

CentOS 5 設置 DNS 服務 (CentOS 5 DNS Settings)

https://sites.google.com/site/wyvern2000/home/it/linux/centos-5-dns-settings
目前可以使用 DNS response rate limiting的軟體對 DNS 伺服器進行保護,但需為9.9.2的版本以上方支援,ubuntu 12.04 官方只到9.8.1,所以無此參數,不過,ubuntu有ppa套件,所以可以解決的
如果學校使用ubuntu12.04或miniserver,都可以依照以下方式進行升級bind與參數設定
vi /etc/apt/sources.list
加入這兩行
-------------------------------------------
deb http://ppa.launchpad.net/malcscott/bind9.9/ubuntu precise main

deb-src http://ppa.launchpad.net/malcscott/bind9.9/ubuntu precise main

-------------------------------------------

安裝:
apt-get install python-software-properties
sudo add-apt-repository ppa:malcscott/bind9.9

apt-get update

apt-get install bind9

檢查:(升級為9.9.4)
dpkg -l | grep bind9
ii  bind9                                       1:9.9.4-retrosnub1                          Internet Domain Name Server
設定bind9
vi /etc/bind/namd.conf
--------------------------------------------------
options {
        directory "/etc/bind";
        rate-limit {
                responses-per-second 5;
        };
        listen-on-v6 { any; };
        version "Unknown";
};
--------------------------------------------------------------
重啟服務:
sudo service bind9 restart
測試:
while true; do dig @[你的dnsip] +noignore +short +tries=1 +time=1 www.tn.edu.tw A; done
163.26.1.2
163.26.1.2
163.26.1.2
163.26.1.2
163.26.1.2
;; connection timed out; no servers could be reached
163.26.1.2
163.26.1.2
163.26.1.2
;; connection timed out; no servers could be reached
有看到;; connection timed out; no servers could be reached就表示伺服器已建置限制使用量保護
在文字模式的linux server上執行jconsole進行jvm監控
http://cloudtu.blogspot.tw/2013/02/linux-serverjconsolejvm.html
Ubuntu Server 10.04 升級到 12.04 LTS版
http://blog.longwin.com.tw/2012/05/ubuntu-server-upgrade-1204-2012/
若要刪除多餘的網卡設備資訊,只要刪除 /etc/udev/rules.d/70-persistent-net.rules 設定檔並且在重開機之後 udev 就會在開機的過程重新抓到網卡,並給予一個全新且預設的 eth0  介面。
#vi /boot/grub/grub.cfg
set gfxmode=800x600
先編輯:/etc/default/grub
使用root或者sudo去編輯~~
執行 update-grub
使用root或者sudo去執行~~
重新開機即可~~
vi /etc/default/grub
文字模式如何調整字型大小
sudo dpkg-reconfigure console-setup
sudo nano /etc/default/console-setup
1
2
3
W: GPG error: http://ppa.launchpad.net maverick Release:
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY 1C1E55A728CBC482
網路上找到一篇 [Debian] Apt-get : NO_PUBKEY / GPG error,解決方式非常容易,上面錯誤訊息有告知 public key 是 1C1E55A728CBC482,透過底下兩個步驟就可以成功解決,請注意務必將 public number 換成上面錯誤訊息的號碼
1
2
gpg --keyserver pgpkeys.mit.edu --recv-key  1C1E55A728CBC482    
gpg -a --export 1C1E55A728CBC482 | sudo apt-key add -
1. swapoff /dev/sda3
2. mkswap /dev/sda3    // 產生可提供系統使用的 swap 區域
3. swapon /dev/sda3
4. blkid
5. vi /etc/fstab     // 修正/etc/fstab中的Swap分割區位置:
6. vi /etc/initramfs-tools/conf.d/resume    // 改變休眠回復的分割區UUID
7. update-initramfs -u        // 重建initrd檔

看一下/etc/dphys-swapfile
 cat /etc/dphys-swapfile
默认的大小是100M
CONF_SWAPFILE=100
修改之
 CONF_SWAPSIZE=500
或者更大        重启Raspberry Pi    
查看UUID:
blkid
改變UUID:
tune2fs /dev/sdb1 -U random

Manually resizing the SD card on Raspberry Pi

You can also resize the partitions of the SD card that your Pi is running on.
First you need to change the partition table with fdisk. You need to remove the existing partition entries and then create a single new partition than takes the whole free space of the disk. This will only change the partition table, not the partitions data on disk. The start of the new partition needs to be aligned with the old partition!
Start fdisk:
sudo fdisk -cu /dev/mmcblk0
Then delete partitions with d and create a new with n. You can view the existing table with p.
  • p to see the current start of the main partition
  • d3 to delete the swap partition
  • d2 to delete the main partition
  • n p 2 to create a new primary partition, next you need to enter the start of the old main partition and then the size (enter for complete SD card). The main partition on the Debian image from 2012-04-19 starts at 157696, but the start of your partition might be different. Check the p output!
  • w write the new partition table
Now you need to reboot:
 sudo shutdown -r now
After the reboot you need to resize the filesystem on the partition. The resize2fscommand will resize your filesystem to the new size from the changed partition table.
sudo resize2fs /dev/mmcblk0p2
This will take a few minutes, depending on the size and speed of your SD card.
When it is done, you can check the new size with:
df -h

2014年6月24日 星期二

android ImageView 详解----透明度+循环播放效果(二)

http://wiki.debian.org.hk/w/Install_Ubuntu_Netbook_Edition_10.04


QLabel *lbl=new QLabel(QLabel::trUtf8("這是一段測試文本-測試QLabel的具體使用方法"));

Script 指令技巧

http://wiki.weithenn.org/cgi-bin/wiki.pl?Script_%E6%8C%87%E4%BB%A4%E6%8A%80%E5%B7%A7

SET_NETWORK 0 psk "1234567890"' command timed out

http://lists.shmoo.com/pipermail/hostap/2009-December/020817.html

浅谈 Qt 布局那些事

http://mobile.51cto.com/symbian-273141.htm
http://www.cnblogs.com/qq78292959/archive/2012/08/13/2637209.html

Porting source code of the book C++ GUI Programming with Qt 4 from Qt4 to Qt5

 

https://github.com/mutse/qt5-book-code

Qt的QFile类详解
http://www.2cto.com/kf/201203/124292.html

QT4.2.1有辦法讀檔嗎?

http://moto.debian.tw/viewtopic.php?t=11639

Raspberry PI : wireless network 
http://gsyan888.blogspot.tw/2013/04/raspberry-pi-wireless-network.html

http://blog.csdn.net/fragmentalice/article/details/18940753


CENTOS 下安装 QT 遇到遇到错误 QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X1

http://blog.sina.com.cn/s/blog_48e301050101h083.html
sudo apt-get install libXrender*
http://blog.csdn.net/icedcap/article/details/20844643

android中利用ImageView 图片循环播放

http://www.111cn.net/sj/android/46512.htm

http://exilin.blog.163.com/blog/static/18275233320122300119807/

route add 10.0.0.0 mask 255.0.0.0 10.1.1.1 -p

route delete 10.0.0.0 mask 255.0.0.0 10.1.1.1

QEMU – Emulating Raspberry Pi the easy way (Linux or Windows!)
http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/


以 qemu-system-arm 運行 Raspbian

http://jamyy.us.to/blog/2013/11/5538.html

windows上搭建QEMU虚拟机笔记
http://www.2cto.com/os/201111/110753.html

http://qemu.weilnetz.de/w32/

树莓派学习9: Qemu虚拟机联网(主机和虚拟机互访、虚拟机可上网)
http://blog.csdn.net/c80486/article/details/8460755

# 增加2G大小给镜像 $ qemu-img resize ./2013-07-26-wheezy-raspbian.img +2G

跨平台虛擬機 - QEMU
如何使用 QEMU 在 Windows 上模擬 Raspberry Pi 環境?
http://blog.cavedu.com/raspberrypi-%E5%96%AE%E6%9D%BF%E9%9B%BB%E8%85%A6/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8-qemu-%E5%9C%A8-windows-%E4%B8%8A%E6%A8%A1%E6%93%AC-raspberry-pi-%E7%92%B0%E5%A2%83%EF%BC%9F/

How to setup the user networking
https://docs.google.com/document/d/1JATJogszUkgWrOMzVhHrJL2ePKndFA3_qzq7bttEhag/edit?pli=1
記得要先把root的密碼變更
以利日後使用
$ sudo passwd root

連續輸入兩次新密碼即可

 turn off my Pi properly
sudo halt -p

vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565

Raspberry Pi 安裝心得、教學、簡介

http://wwssllabcd.github.io/blog/2013/01/31/how-to-setup-raspberry-pi/



1)、下载内核源码

# uname  -r

看一下内核什么版本。

我已经用rpi-update更新到最新,所以已经是3.10.19+。于是下载3.10.19+.
可以
也可以:
#git clone --depth https://github.com/raspberrypi/linux.git

2)、清理、配置内核源码
将源码移至/usr/src目录
# mv linux-rpi-3.12.y /usr/src  
建立内核模块库目录的链接  
# ln -s /usr/src/linux-rpi-3.12.y /lib/modules/3.12.31+/build  
# cd /lib/modules/3.12.31+/build  
make mrproper可以看作更加强劲的make clean命令,用来清除环境变量,即清除配置文件,一般编译内核前都要运行  
# make mrproper 将当前正在使用的系统的内核配置生成内核配置信息  
# gzip -dc /proc/config.gz > .config  
生成编译内核所需要的东西  
# make modules_prepare  
获取内核编译时生成的内核模块导出符号文件,因为不是从头编译内核,所以没有,但是编译内核模块需要这个  

到这里,可以证实开始编译驱动了。

3)、编译驱动

小米 wifi
解压缩后,修改common/rtusb_dev_id.c文件,找到
{USB_DEVICE(0x148f,0x7601)}, /* MT 6370 */
下面加一行
{USB_DEVICE(0x2717,0x4106)}, /* Xiaomi*/

然后回到内核源码根目录,执行
#sudo  make
然后会有一个比较久的编译时间,完成以后。os/linux目录就有了MT7601Usta.ko文件了。
可以用modinfo命令查看内核模块信息:
#modinfo MT7601Usta.ko
然后安装模块
#sudo  cp  mt7601Usta.ko  /lib/modules/3.12.31+/kernel/drivers/net/wireless/
这样还不行,还要:
在/etc/目录创建Wireless/RT2870STA/子目录。然后:
#sudo cp  RT2870STA.dat   /etc/Wireless/RT2870STA/
#sudo cp  RT2870STACard.dat   /etc/Wireless/RT2870STA/

这个时候,执行
分析可加载模块的依赖性,生成modules.dep文件和映射文件
#sudo  depmod -a
加载模块
#sudo modprobe  MT7601Usta
查看网络接口,这时候应该出来一个ar0的无线接口
#ifocnfig
然后到/etc/network/interface里面把wlan0,然后修改为ar0。可以共用wpa_supplicat配置文件。
四、总结:
该方法是一个驱动编译的通用方法。
编译好的驱动,可以直接复制ko文件给相同内核的raspberry pi使用。


VNC (VIRTUAL NETWORK COMPUTING)
http://www.raspberrypi.org/documentation/remote-access/vnc/

qemu在linux和windows下tap网络的配置方法

http://www.blogjava.net/javafever/archive/2006/11/20/82403.html

OpenVPN 2.3.4 -- released on 2014.05.02

https://openvpn.net/index.php/open-source/downloads.html

 qemu虚拟机与外部网络的通信
http://blog.chinaunix.net/uid-26061689-id-2981914.html

Windows主机的Qemu网络配置

https://www.google.com.tw/search?q=Windows%E4%B8%BB%E6%9C%BA%E7%9A%84Qemu%E7%BD%91%E7%BB%9C%E9%85%8D%E7%BD%AE&oq=Windows%E4%B8%BB%E6%9C%BA%E7%9A%84Qemu%E7%BD%91%E7%BB%9C%E9%85%8D%E7%BD%AE&aqs=chrome..69i57j69i61&sourceid=chrome&es_sm=122&ie=UTF-8

windows xp下qemu虚拟ubuntu的网络配置笔记

http://www.verydemo.com/cj.jsp?c=59&u=windowsxp-xia-qemu-xu-ni-ubuntu-de-wang-luo-pei-zhi-bi-ji

Raspberry Pi 筆記(八):安裝Webmin、RDP、FTP、Web、VNC、Web伺服器及無線網路

http://atceiling.blogspot.tw/2014/02/raspberry-pi-webminftpwebvncweb.html#.U-uCr_mSySo
把 vsftpd.conf 把其中 anonymous 加上註解,把 write 跟 local 拿掉註解。再用最後一行重開就好
基于Basic4android的Android应用开发指南
http://blog.csdn.net/qinix2/article/details/7729177

巧用VMware Workstation的clone来制作虚拟机模板
http://derekyang.blog.51cto.com/2083604/1206790

https://mega.co.nz/#!uVZnxTQJ!8N10Z0AU_9YHH8O7oJiC6r-JEeKDh8AXQsiYIL2JDuk


https://mega.co.nz/#!iE5BGJLJ!8IhIqj7PDzzu7Lfx9oAFdlraGlQZ64oVC8Bxa36SS4A


在 QEMU 和 KVM 上运行 OS X Mavericks

http://www.linuxidc.com/Linux/2014-06/102809.htm

QEMU 2.1.0 发布下载,开源模拟器

http://www.linuxidc.com/Linux/2014-08/105045.htm

http://qemu-buch.de/


让golang在Raspberry Pi上飞一会

http://www.lixin.me/blog/2013/02/12/29680

Qt资源
http://www.qter.org/?page_id=161
http://qt-project.org/wiki/RaspberryPi_Beginners_guide


Tutorial : apt-get install Qt4 on the Rasperry Pi

http://qt-project.org/wiki/apt-get_Qt4_on_the_Raspberry_Pi

树莓派上Qt5交叉编译移植新手指南

http://blog.diveinedu.net/%E6%A0%91%E8%8E%93%E6%B4%BE%E4%B8%8Aqt5%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91%E7%A7%BB%E6%A4%8D%E6%96%B0%E6%89%8B%E6%8C%87%E5%8D%97/

Qt中显示连续的图片 

 http://jinhao0513.blog.163.com/blog/static/11067348120112281021459/


C++ 入門指南 - 目錄

http://pydoing.blogspot.tw/2012/10/cpp-guide.html

2014年6月18日 星期三

Android自动滚动轮播循环的ViewPager

source.list的更新源選擇可以到
https://launchpad.net/ubuntu/+archivemirrors尋找
( 找Taiwan的 )
http://www.trinea.cn/android/auto-scroll-view-pager/
爱情强气流 Amour & Turbulences
Git簡易教學
http://ncu-csie-snmg.github.io/2013-NCU-CSIE-Website-Design-Competition/git.html#section-github

簡單 Git 教學

https://github.com/dylandy/Easy-Git-Tutorial


[Mac] 安裝 Homebrew 及使用

http://devmanna.blogspot.tw/2014/01/mac-homebrew.html

brew install git

GitHub 第一個專案教學
http://techaride.blogspot.tw/2013/08/github-github.html

Eclipse上GIT插件EGIT使用手册
http://blog.csdn.net/luckarecs/article/details/7427605

EGit : 從 Github Import 專案到本地端

http://puremonkey2010.blogspot.tw/2012/05/eclipse-plugin-egit-github-import.html



GitHub設定

接著去 GitHub 申請帳號,並 create Repository ,然後按照網站給的教學來設定吧!!
  • git config --global user.name "Your Name"
  • git config --global user.email xxx@mail.com
  • 建立 private/public key : 就是建立一對密碼,把 private 存到自已電腦的 /home/name/.ssh/id_rsa , 另外一個 public key 存到 github。
    • 建立key方式 : ssh-keygen -t rsa -C "xxxm"
    • 測試進線 ssh -T git@github.com : 若收到訊息「Hi xxxx! You've successfully authenticated, but GitHub does not provide shell access.」這樣就算成功囉。

https://github.com/ViewPic/v0.1

Android实现图片滚动控件,含页签功能,让你的应用像淘宝一样炫起来
http://blog.csdn.net/guolin_blog/article/details/8769904

 Android图片滚动,加入自动播放功能
http://blog.csdn.net/guolin_blog/article/details/8796877
Android中实现多张图片自动播放  
http://songyingjian2009.blog.163.com/blog/static/13183024220126275716891/


SD卡图片自动播放功能实现

http://www.cnblogs.com/hui-wang/archive/2012/07/24/2606565.html

Gallery元件的自動輪播與無限循環效果

http://dean-android.blogspot.tw/2013/04/androidgallery.html

【Android应用实例之一】自动播放Assets下图片

http://www.mythroad.net/2011/09/24/android_application_instance_one_autoplay_assets_under_picture/


Android程式範例] 讀取XML利用XML Pull Parsing解析政府的XML Open DATA

http://www.unood.me/2014/04/android-xml-pull-parsingxml-open-data.html#more



[Android程式範例] 利用好用的HTML Parser-Jsoup抓取網頁資料

http://www.unood.me/2014/04/android-html-parser-jsoup.html#more

2014年6月10日 星期二

Go 编程语言指南

 Go home page      http://golang.org/   http://golang.org/dl/   http://golang.tw/

http://www.golang-book.com/assets/pdf/gobook.pdf

Golang开发环境搭建(Notepad++、LiteIDE两种方式以及martini框架使用)
http://blog.csdn.net/gdutliuyun827/article/details/25142483

http://go-tour-zh.appspot.com/welcome/1

http://www.vaikan.com/go/a-tour-of-go/#1

Go 交叉編譯輸出 Android (ARMv7) 和 Windows x86 可執行檔


http://chuiwenchiu.wordpress.com/2014/03/24/go-%E4%BA%A4%E5%8F%89%E7%B7%A8%E8%AD%AF%E8%BC%B8%E5%87%BA-android-armv7-%E5%92%8C-windows-x86-%E5%8F%AF%E5%9F%B7%E8%A1%8C%E6%AA%94/


Image Gallery Example in Android

http://www.edumobile.org/android/android-development/image-gallery-example-in-android/

Android--ImageSwitcher案例分析详解

http://www.cnblogs.com/vus520/archive/2012/08/20/2647718.html


android使用Timer实现ImageSwitcher自动切换

http://qefee.com/2014/03/06/android%E4%BD%BF%E7%94%A8timer%E5%AE%9E%E7%8E%B0imageswitcher%E8%87%AA%E5%8A%A8%E5%88%87%E6%8D%A2/

Android入门教程之Gallery

http://www.linuxidc.com/Linux/2012-02/53069.htm

Android 控件之ImageSwitcher图片切换器

http://www.linuxidc.com/Linux/2012-02/53070.htm

Android中Gallery和ImageSwitcher同步自动(滚动)播放图片库

http://www.linuxidc.com/Linux/2012-02/53071.htm

自定义的图片轮询器ScrollView
http://blog.csdn.net/w54dxs/article/details/22576087

2014年6月2日 星期一

raspberry pi