LINK: http://www.chedong.com/blog/archives/001451.html
http://www.day32.com/MySQL/
Friday, March 13, 2009
Mirror With Wget
wget --mirror --limit-rate=100k --wait=1 -erobots=off --no-parent --page-requisites --convert-links --no-host-directories --cut-dirs=2 http://www.yahoo.com/mirror
Wednesday, March 11, 2009
Remove KDE and Gnome Desktop
Yeah, just remove both of them. Only Fluxbox here! Slackware (12.2). Best Linux.
Sunday, March 8, 2009
Python and Eventlet
http://wiki.secondlife.com/wiki/Eventlet/Documentation
Just use eventlet with a threads scanner to insert data to MySQL database.
Eventlet is an easy to use networking library written in Python. Eventlet is capable of supporting a large number of sockets per process by using nonblocking I/O, cooperatively multiplexing them through a single main loop. This approach allows for the implementation of massively concurrent servers which would require prohibitive amounts of memory under a traditional preemptive multi-threading or multi-process model. However, nonblocking I/O libraries such as asyncore or twisted can be difficult for programmers to use because they require the use of continuation passing style. This means code must be broken up into functions which initiate operations, and functions which will be called when the operation is complete, known as "callbacks."
Just use eventlet with a threads scanner to insert data to MySQL database.
Wednesday, March 4, 2009
PortAudio MME DirectSound
PortAudio是一个跨平台的声音驱动
MME与DirectSound是Windows平台上的,像PJSIP这样的项目默认的是使用PortAudio驱动,如果在Windows上编译,就要使用MME或者DirectSound,因为使用PortAudio可能会出现问题。
MME与DirectSound是Windows平台上的,像PJSIP这样的项目默认的是使用PortAudio驱动,如果在Windows上编译,就要使用MME或者DirectSound,因为使用PortAudio可能会出现问题。
Tuesday, March 3, 2009
Work SVN on Samba
[global]
create mask = 0644
force create mode = 0600
security mask = 0555
force security mode = 0600
Subscribe to:
Posts (Atom)