土曜日, 1月 31, 2009

Pupy Linux in China(シリーズⅠ)

  1. E-PUP Linux 中文论坛
  2. 中文Puppy Linux开发者之家
    pup2usb: Puppy Linux硬盘/U盘安装程序
  3. 日本語化キット

  1. new2dir make install
  2. dir2pet
  3. tgz2pet
  4. pet2tgz

  • mksquashfs dir /mnt/home/dir.sfs



资讯 - 中国Linux公社 - Powered by SupeSitehttp://www.linuxfans.org/cms/index.php
中国最大的、最权威的开源网站 中国开源项目http://www.opensourceproject.org.cn/
Linux 学习网 - Linux学习网http://www.5dlinux.com/

火曜日, 1月 27, 2009

TAP-Win32 でネットワークパケットのやり取りのリンク

TAP-Win32 Adapter V8 (coLinux)
  1. TAP-Win32 でネットワークパケットと戯れる (前編)
  2. TAP-Win32 でネットワークパケットと戯れる (後編)


FlashPaper 2 サンプル


FlashPaper 2 サンプル

C/C++ のコードを Flash Player 上で動かす Alchemy

C/C++ のコードを Flash Player 上で動かす Alchemy

Pythonデバッガと PythonのEXE化



pdb - Python DeBugger


  1. py2exe
  2. PyInstaller
  3. bbfreeze

MinGW Cross Compilerのzipファイルの取得

MinGW Cross Compiler - The aim of this project is to provide and maintain MinGW (Minimalist GNU-Win32, http://www.mingw.org) cross-compiler package for Linux

Python 3.0でzipファイルを取得するソース:MinGWCC.py

# Python 3.0 Src 2009/01/27
# Retrive zip files from MinGW Cross Compiler

import os
import io
import re
import urllib.request as request

sBaseUrl = "http://sourceforge.net"
def getUrl(sUrl, sProxy = None):
if sProxy is not None:
proxy_handler = request.ProxyHandler({"http" : sProxy})
opener = request.build_opener(proxy_handler)
return request.urlopen(sUrl)

def u2u(sUrl):
return sUrl.replace("&", "&")

def saveToFile(sPath, sText):
fSave = open(sPath, "wb")

def getLvl2FileName(sText):
oPat = re.compile('<a [^>]+ class="sfx_qalogger_element sfx_qalogger_clickable" href="(.+)" [^>]+>(.+\.zip)<\/a>')
oIter = oPat.finditer(sText)
for oMatch in oIter:
sLvl3Url = u2u(u2u(oMatch.group(1)))
print(" " + sLvl3Url)
hSiteLvl2 = getUrl(sLvl3Url)
saveToFile(oMatch.group(2), hSiteLvl2.read())

if __name__ == "__main__":
# Proxy URLのセット
sProxy = "http://xxx.xxxxx.xxx:8080"
sUrl = "http://sourceforge.net/project/showfiles.php?group_id=204414"
hSite = getUrl(sUrl, sProxy)
sText = str(hSite.read(), "utf-8")
oPat = re.compile('<td class="download"[^>]+><a href="(.+)">Download<\/a><\/td>')
oIter = oPat.finditer(sText)
for oMatch in oIter:
sLvl2Url = u2u(sBaseUrl + oMatch.group(1))
hSiteLvl2 = getUrl(sLvl2Url)
getLvl2FileName(str(hSiteLvl2.read(), "utf-8"))

金曜日, 1月 23, 2009

Damn Small Linux(DSL)汉化办法

Damn Small Linux(DSL)汉化办法

>> damn small linux(DSL)汉化办法

damn small linux(DSL)汉化办法
Admin,2007-03-07 11:52:03

You need to build font index later using 'mkfontdir'.
1. You can get 'mkfontdir' http://packages.debian.org/cgi-bin/download.pl?arch=i386&file=pool%2Fupdates%2Fmain%2Fx%2Fxfree86%2Fxutils_4.3.0.dfsg.1-14sarge3_i386.deb&md5sum=4a244e081c3533f33c779e4aae6b5c3c&arch=i386&type=security
2.Best to install as root. If you are not root, use sudo:
'sudo dpkg-deb --extract xutils_4.3.0.dfsg.1-14sarge3_i386.deb /' <-Please don't miss out this '/'. It will extract everything into the system directories.
运行"sudo dpkg-deb --extract xutils_4.3.0.dfsg.1-14sarge3_i386.deb /"不要略掉最后的"/",这个命令是释放所有文件到系统.
3. Now you can get Debian's Chinese fonts package from
3.现在可以安装Debian中文字体了 下载:http://packages.debian.org/cgi-bin/download.pl?arch=all&file=pool%2Fmain%2Fi%2Fintlfonts%2Fxfonts-intl-chinese_1.2.1-3_all.deb&md5sum=b4c38d0e332727c4c2cd44b6ec9733b0&arch=all&type=main
'sudo dpkg-deb --extract xfonts-intl-chinese_1.2.1-3_all.deb /'
在终端运行"sudo dpkg-deb --extract xfonts-intl-chinese_1.2.1-3_all.deb /"
Now the fonts are installed but not yet detected.
4. 'sudo mkfontdir /usr/X11R6/lib/X11/fonts/misc'
4.终端运行"sudo mkfontdir /usr/X11R6/lib/X11/fonts/misc"
This will rebuild the font index.
5. 'xset fp rehash'
5.终端运行"xset fp rehash"
This will make xserver detect the new fonts.
6. If you go into Firefox now, I think you can see Chinese.

水曜日, 1月 21, 2009

Windows Software <=> Linux Software

Windows Software <=> Linux Softwareに関するサイトは見つかりましたので、ここにリンクをつけさせていただきます。
  1. Windows Software <=> Linux Software at Linux * Screw
  2. Linux Equivalents to Windows Software at LinuxLinks
  3. Applications at Linux Online



net use x:\\vboxsvr\share

mount -t vboxsf share mount_point
本機能を使用するにはGuest Additionsのインストールが必要です。

火曜日, 1月 20, 2009

xVM VirtualBox関連ツール群

  1. VBoxHeadless.exe
  2. VBoxManage.exe
    VirtualBox command line interface accessing our COM API.
  3. VBoxSDL.exe
    A simple VirtualBox frontend based on the SDL toolkit.
  4. VBoxSVC.exe
    The VirtualBox COM service, i.e. all COM objects that live outside the VM process.
  5. vboxwebsrv.exe
  6. VirtualBox.exe

How to mount remote windows partition (windows share) under Linux

How to mount remote windows partition (windows share) under Linux

Procedure to mount remote windows partition (NAS share)

  1. Make sure you have following information:
    ==> Windows username and password to access share name
    ==> Sharename (such as //server/share) or IP address
    ==> root level access on Linux

  2. Login to Linux as a root user (or use su command)

  3. Create the required mount point:
    # mkdir -p /mnt/ntserver

  4. Use the mount command as follows:
    # mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver

    Use following command if you are using Old version such as RHEL <=4 or Debian <= 3:
    # mount -t smbfs -o username=vivek,password=D1W4x9sw //ntserver/download  /mnt/ntserver

  5. Access Windows 2003/2000/NT share using cd and ls command:
    # cd /mnt/ntserver; ls -l

    • -t smbfs : File system type to be mount (outdated, use cifs)

    • -t cifs : File system type to be mount

    • -o : are options passed to mount command, in this example I had passed two options. First argument is password (vivek) and second argument is password to connect remote windows box

    • //ntserver/download : Windows 2000/NT share name

    • /mnt/ntserver Linux mount point (to access share after mounting)


  1. MinGW Distro - nuwen.netからmingw-4.0.zipとmingw-4.0.tar.bz2をダウンロードして、解凍した後、msys.batを実行する
  2. Boost1.37.0を解凍した後、中のtools\jamの下にsh ./build_dist.shを実行して、tools\jam\stage\bin.ntx86にbjam.exeを作成する
  3. bjam.exeをBoost1.37.0にコピーして、以下のようにbjamをし(ここに参照)、lib直下に.dllと.libファイルを作成することになります。
    bjam --toolset=gcc --stagedir=. stage

Boost C++ Libraries の紹介サイト

Visual C++でのBoostライブラリのビルド方法

月曜日, 1月 19, 2009


  1. Mingw installation
  2. MinGWのインストール
  3. MinGW Distro
  4. 開発環境を整える/MinGW

For Example:在MinGW下编译stlport、boost

  1. MinGW - Minimalist GNU for Windows
  2. MinGW - Minimalist GNU for Windows 64
  3. MinGW Cross Compiler - The aim of this project is to provide and maintain MinGW (Minimalist GNU-Win32, http://www.mingw.org) cross-compiler package for Linux
  4. TDM's GCC/MinGW32 Builds - When GCC creates a new release, TDM builds binary packages to be used in the MinGW (www.mingw.org) environment as a replacement for MinGW's official gcc packages.
  5. MinGW for assembly
  6. GCC/MinGW Stacktrace - Allows GCC/MinGW to use Wine's stacktrace library dbghelp.dll ( since Wine's dbghelp can read GCC's dwarf2 debug info ).
  7. Supplements for libintl on Windows - MSVC & MinGW static libraries (libintl.lib, libintl.a). UNICODE(UTF-16LE) function return value & .mo directory support (wgettext, wbindtextdomain)
  8. DirectX Libraries for MinGW - DirectX Libraries for MinGW
  9. QGDB - A multi-platform user interface to the GNU debugger, GDB, implemented using GDB/MI and the Qt 4 (GPL) framework. Supports GDB 6+ natively for GNU/Linux (X11), Windows (MinGW/GDI, Cygwin/X11), Mac OS X (Carbon), FreeBSD (X11), Solaris (X11), other Unices.
  10. Dev-C++ - Dev-C++ is an full-featured Integrated Development Environment (IDE) for Win32. It uses GCC, Mingw or Cygwin as compiler and libraries set.
  11. Visual-MinGW - Development of a visual IDE for MinGW is active again thanks to Arthas.
  12. Relo C/C++ Development Environment - Relo is a Windows C/C++ IDE for MinGW and Borland C++ compilers. It is mainly targeted at developing Windows (Win32) applications, but can also be used to develop console/dos applications. It is designed to be easy to use and customize.
  13. Powerserv 4 - Win32 apache web server, php, perl, mysql, C++ and ports of all main unix utilites (like ls or grep) including: PHP 5, Perl 5.6, Apache 2.0.50, MySQL 4.1.1a-alpha, phpMyAdmin-2.5.7-pl10 C++ (mingw gcc) with no need to edit config files.
  14. MPlayer for Win32 - Binary builds of MPlayer/MEncoder for win32, FFmpeg MinGW related packages and MinGW toolchains
  15. Hurley - Source code translator to convert C# source code to C and make it compilable with Mingw , and easy to port the resulting sources to Linux , future support to other languages , http://sethhurley.tripod.com
  16. PTP camera downloader for Windows - winptpcam - digital camera (compatible with Picture Transfer Protocol) software for getting images to PC on older systems. Currently it is a port of Marius Wolosin's libPTP2 for MinGW and libusb-win32.

MinGW FAQ日本語版

日曜日, 1月 18, 2009


  1. 内存管理内幕 动态分配的选择、折衷和实现
  2. A Memory Allocator
  3. ptmalloc

金曜日, 1月 16, 2009

"-mno-cygwin" -- Building MinGW executables using Cygwin

"-mno-cygwin" -- Building MinGW executables using Cygwinに"-mno-cygwinについて詳しく書かれたので、大変勉強になります。

cygwinでWindowsアプリを作るためのメモcygwinを使って、 Windowsで動くコンソールアプリやWin32APIを使うアプリを作るためのメモ。


火曜日, 1月 13, 2009




# yum groupinstall "Japanese Support"


yum groupinstall "Chinese Support"

土曜日, 1月 10, 2009



  1. GIMP
  2. Inkscape
  3. Paint.NET
  4. Ougishi-手書き文字から毛筆崩し書体を生成

月曜日, 1月 05, 2009


  1. Windows C++ Development Environment Setup for OpenCV
  2. GLUT Setup Tutorial with Eclipse CDT on Windows(GLUTの関連リンクがあります)
  3. compiling openCV code with g++
    g++ `pkg-config --cflags opencv` `pkg-config --libs opencv` -o exe_name source.cpp

  4. MRPT - Building and Installing Instructions

土曜日, 1月 03, 2009

Data Recovery Software Tools

  1. 强大的硬盘数据恢复工具EasyRecovery Pro_6.10
  2. 老牌的数据恢复工具FinalData2.0企业版
  3. Recover My Files_V3.98_5566
  4. 易我数据恢复向导Drw_V2.1.0
  5. 最小的绿色数据恢复undelete_plus_2.8
  6. 数据恢复软件FinalRecovery_v2.2.4.217


木曜日, 1月 01, 2009

The Windows Command Line, Batch Files, and Scripting- Using the Command Shell

The  Windows Command Line, Batch Files, and Scripting- Using the Command Shell