2014-10-23 聚會手記

上一週 || 下一週

Table of Contents

h4

H4 IRC URL
http://webchat.freenode.net/?channels=h4

H4 IRC Widget (在首頁下方分頁中直接聊天)
http://www.hackingthursday.org/

H4 IRC Logs
https://github.com/hacking-thursday/h4-irc-logs

H4 IRC RSS
https://github.com/hacking-thursday/h4-irc-logs/commits/master.atom

snowwolf

TomP2P, a P2P-based key-value pair storage library
http://tomp2p.net/

CyanogenMod | Android Community Operating System
http://www.cyanogenmod.org/

bruce

Feedly -> Instapaper -> Kindle

How to use conditional compilation with the go build tool | Dave Cheney
http://dave.cheney.net/2013/10/12/how-to-use-conditional-compilation-with-the-go-build-tool

philipz

Open Garden IoT SDK
http://opengarden.com/iot

yan

run X11 GUI application in docker

$ docker run -ti --rm -e DISPLAY=$DISPLAY.0  -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/.Xauthority:/root/.Xauthority --net=host myimage xterm
$ alias dockerx11run='docker run -ti -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/.Xauthority:/root/.Xauthority --net=host' 
$ dockerx11run myimage xterm

允許 systemd 將 acpi 事件轉交給其他程式處理

# vi /etc/systemd/logind.conf
================================
# 讓 systemd 不處理 acpi 事件
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
# 允許 acpi 事件轉交給其他程式處理
PowerKeyIgnoreInhibited=no
SuspendKeyIgnoreInhibited=no
HibernateKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=no 
================================

# vi /etc/rc.local
================================
exec systemd-inhibit acpid 
================================

mount xen image include partitions

# mount -o loop,offset=$((2048 * 512)) mydebian.img /mnt
2048 => start sectors
512 => sectors units

exuberant-ctags - build tag file indexes of source code definitions
最初只支援 C/C++,目前支援支援 43 種語言

$ ctags --list-languages

Vim Awesome
http://vimawesome.com/

xcb X- protocol C-language Binding (XCB) is a replacement for Xlib
http://xcb.freedesktop.org/

Yahoo WOEID Lookup | Find Yahoo WOEID Identifiers
http://woeid.rosselliot.co.nz/

Yahoo! Weather
http://weather.yahooapis.com/forecastrss?w=23424971&u=c

除非特別註明,本頁內容採用以下授權方式: Creative Commons Attribution-ShareAlike 3.0 License