- Jan 15 Fri 2016 10:01
-
RTMP writer
- May 26 Mon 2014 19:32
-
zbar and jpeg file input
#include <stdlib.h>
#ifdef ENABLED_PNG
#include <png.h>
#endif
- Aug 26 Sun 2012 11:14
-
編譯GDB7.5 with arm-his
用了His最新toolchain: arm-hisiv100nptl-linux-gcc (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) 4.4.1
編了gdb7.5,立刻就出現下列錯誤
compile warning "configure: error: no termcap library found"
老問題, 少了termcap:如果X86直接安裝sudo apt-get install libncurses5-dev就好了.
但畢竟是要corss compiler,因此要抓ncurses自己回來重build,
- Apr 19 Thu 2012 17:20
-
google map usage
GPS 座標轉 google map
<!DOCTYPE html>
<html>
<head>
<metaname="viewport"content="initial-scale=1.0, user-scalable=no"/>
- Mar 31 Sat 2012 09:28
-
vsftpd 續傳功能驗證
listen=YES
#listen_ipv6=YES
anonymous_enable=YES
anon_root=/srv/ftp
local_enable=YES
- Nov 02 Wed 2011 15:51
-
FastCGI和lighttpd使用心得
White paper: FastCGI: A High-Performance Web Server Interface (http://www.fastcgi.com/drupal/node/6?q=node/15)
如果FastCGI在編譯的時候, 發生了EOF Error未定義的問題. 只要在fcgio.cpp的檔案補上#include <cstdio.h>即可解決.
我使用範例裡面的echo.fcgi, 配合lighttpd, 設定如下
###################################################
##
- Jul 27 Wed 2011 17:26
-
計算執行時間
#if BLD_WIN_LIKE || VXWORKS
int gettimeofday(struct timeval *tv, struct timezone *tz)
{
#if BLD_WIN_LIKE
FILETIME fileTime;
- Jul 15 Fri 2011 15:47
-
passing the file descriptor by unix domain socket
Unix domain sockets have a unique ability to pass file descriptors.
#include <sys/sockets.h>
int sendmsg(int fd, const struct msghdr *msg, unsigned int flags);
int recvmsg(int fd, struct msghdr *msg, unsigned int flags);
sender:
- Jun 30 Thu 2011 14:42
-
gsoap example
製作一個calc的webservice
下載gsoap toolkit, linux必須安裝byacc, flex, bsion, openssl lib.
./configure --without-yacc (需要補上without-yacc,不然會出現-ly找不到的問題)
安裝完之後,主要會有兩個執行檔
wsdl2h 解晰wsdl檔案,產生soapcpp2需要用到的header檔案
- May 30 Mon 2011 17:14
-
Centos公司伺服器安裝筆記
1.yum install samba, apache, subversion
2.samba configuration
security = server
password server = 192.168.1.2
[homes]
- Apr 26 Tue 2011 15:23
-
astyle
- Mar 23 Wed 2011 16:19
-
smbfs (cifs)
如果想用linux連到samba server export出來的分享資料夾,
之前都是用smbclient或者mount -t smbfs,
不過smbfs在新版的linux已經移除了,取而代之的是
mount -t cifs -o username=personlin,password=personlin //192.168.23.2/personlin /mnt/smb
[舊的用法]
