报"virtual PC/Windows CE Emulator会造成windows不稳定,windows使这些驱动程序无法加载"错的解决方案
修改boot.ini文件,去掉存在的 /noexecute 和 /pae 选项。再加上 /execute ,重启计算机,再安装evc。
也可以加上
/NoExecute=AlwaysOff
火曜日, 12月 28, 2010
月曜日, 12月 27, 2010
Install Mac OS onto PC
http://bbs.pcbeta.com/thread-592288-1-1.html
新手安装指南:一步一步在Windows安装苹果雪豹系统
http://bbs.windows7en.com/thread-116901-1-1.html
最详细,最适合新手的教程:如何原版安装mac
http://itbbs.pconline.com.cn/notebook/10953799.html
【多图】终于较完美的完成了E6400安装苹果雪豹系统,和大家分享方法!
iatkos 10.5.7 安装leopard 双系统硬盘安装教程
新手安装指南:一步一步在Windows安装苹果雪豹系统
http://bbs.windows7en.com/thread-116901-1-1.html
最详细,最适合新手的教程:如何原版安装mac
http://itbbs.pconline.com.cn/notebook/10953799.html
【多图】终于较完美的完成了E6400安装苹果雪豹系统,和大家分享方法!
iatkos 10.5.7 安装leopard 双系统硬盘安装教程
nk.bin and dumprom
nk.bin and dumprom
1. to dump the content of a nk.bin:
viewbin.exe nk.bin
(write down start and length)
2. cvrtbin -r -a START -w 32 -l LENGTH nk.bin
this command converts the nk.bin to a nk.nb0 (START and LENGTH from the command bevor)
3. dumprom.exe -d dump -v -5 nk.nb0
the content of the nk.bin will be written in the directory "dump". It must exists, otherwise an error occurs.
4. now, see files that is extracted and you will know that they are changed to MIPS files.
提取 NK.bin 中的文件
需要用到3个工具:
WINCE500\PUBLIC\COMMON\OAK\BIN\I386下的 viewbin.exe cvrtbin.exe,
和dos文件dumprom.exe
工具说明:
viewbin.exe——查看NK.bin文件。
cvrtbin.exe——生成NK.nb0, 注意,此工具只能操作当前目录。
dumprom.exe——dos程序, 提取NK.nb0里的文件。
注意要先建立空目录,因为它不能自动建立目录,或者提取文件到当前目录(.\)。
步骤:
1.运行 viewbin NK.bin > view.txt 以查看文件长度和起始地址
2.拷贝文件view的第二行的起始和长度信息
3.运行 cvrtbin -r -l 长度 -a 起始地址, -w 32 NK.bin
如 cvrtbin -r -l 0x0120FFC8 -a 0x800B8000, -w 32 NK.bin
4.md nb0_file
5.dumprom NK.nb0 -d nb0_file
dumprom romfile extraction tool
and his Windows CE / PocketPC stuff
NK.bin与NK.nb格式
Patch an Existing NK.BIN
1. to dump the content of a nk.bin:
viewbin.exe nk.bin
(write down start and length)
2. cvrtbin -r -a START -w 32 -l LENGTH nk.bin
this command converts the nk.bin to a nk.nb0 (START and LENGTH from the command bevor)
3. dumprom.exe -d dump -v -5 nk.nb0
the content of the nk.bin will be written in the directory "dump". It must exists, otherwise an error occurs.
4. now, see files that is extracted and you will know that they are changed to MIPS files.
提取 NK.bin 中的文件
需要用到3个工具:
WINCE500\PUBLIC\COMMON\OAK\BIN\I386下的 viewbin.exe cvrtbin.exe,
和dos文件dumprom.exe
工具说明:
viewbin.exe——查看NK.bin文件。
cvrtbin.exe——生成NK.nb0, 注意,此工具只能操作当前目录。
dumprom.exe——dos程序, 提取NK.nb0里的文件。
注意要先建立空目录,因为它不能自动建立目录,或者提取文件到当前目录(.\)。
步骤:
1.运行 viewbin NK.bin > view.txt 以查看文件长度和起始地址
2.拷贝文件view的第二行的起始和长度信息
3.运行 cvrtbin -r -l 长度 -a 起始地址, -w 32 NK.bin
如 cvrtbin -r -l 0x0120FFC8 -a 0x800B8000, -w 32 NK.bin
4.md nb0_file
5.dumprom NK.nb0 -d nb0_file
dumprom romfile extraction tool
and his Windows CE / PocketPC stuff
NK.bin与NK.nb格式
Patch an Existing NK.BIN
土曜日, 11月 20, 2010
How to Install Cracked Apps (.IPA Files) on iPad or iPhone
- How to Install Cracked Apps (.IPA Files) on iPad or iPhone
- 不用itunes使用HFS和installous安装ipad软件超简单安装方法不得不学
如何使用installous等第三方软件
i-FunBox File Manager, Browser, Explorer, Transfer Tool for iPhone, iPad
& iPod Touch via USB
Backup game IPA files without iTunesIPA file in Installous Raw File System/User/Library located at Raw File System/User/Library
Games appear in Raw File System/User/Applications
月曜日, 11月 15, 2010
Port Forwarding for Windows
Port Forwarding for Windows
PLINK+CCProxy搭建Windows下SSH代理服务器翻两天它都区别墙
PLINK.EXE -C -D 127.0.0.1:7777 -N -pw SSH密码 SSH用户名@SSH的IP地址
木曜日, 9月 30, 2010
水曜日, 9月 29, 2010
火曜日, 9月 28, 2010
OpenCPN Series 2
ShipPlotter displays complete information about ships that are within VHF range of your position using the Universal Automatic Identification System (AIS).
NavMonPc
ITU Search for Ship Particulars - This will search the International Telecommunications Database
AISMon and virtual com port
VT Explorer is a AIS viewer application which provides a graphic visualiztion of AIS targets onto electronic charts
AIS Dispatcher is an AIS data forwarding utility
AIS Server Lite
NavMonPc
ITU Search for Ship Particulars - This will search the International Telecommunications Database
AISMon and virtual com port
VT Explorer is a AIS viewer application which provides a graphic visualiztion of AIS targets onto electronic charts
AIS Dispatcher is an AIS data forwarding utility
AIS Server Lite
金曜日, 9月 24, 2010
東京都の石原知事、もう少し勉強すれば、よかったのに!
釣魚島に発生した中国の漁船と日本の艦船との衝突事件について、日本の税金泥棒殿達と新聞記者らはこぞって、中国の漁船が日本の艦船にぶつかっていった論調を連日撒き散らして、まるで世の中に彼らの言葉を信じるしかなかったのです。
実際そうだったのでしょうか。
読売新聞の図(元の記事:なぜ釈放?怒る漁民「中国漁船、どさっと来る」)を引用して、説明して上げましょう。
一見、中国の漁船が日本の艦船にぶつかっていくように見えますが、実際は漁船が小さく、艦船と平行航行の時、漁船と艦船との間の流れの変化によって、船舶吸引現象が発生してしまうということです。
石原さん、もうちょっと一から勉強すれば、鏡に映る自分の顔も変わりますよ。
日本には、高い技術を持っている下働きの人間をとても尊敬しますが、うそとでっち上げしかできない高額月給の税金泥棒殿達と新聞記者らにどうしても感銘できない。
実際そうだったのでしょうか。
読売新聞の図(元の記事:なぜ釈放?怒る漁民「中国漁船、どさっと来る」)を引用して、説明して上げましょう。
一見、中国の漁船が日本の艦船にぶつかっていくように見えますが、実際は漁船が小さく、艦船と平行航行の時、漁船と艦船との間の流れの変化によって、船舶吸引現象が発生してしまうということです。
石原さん、もうちょっと一から勉強すれば、鏡に映る自分の顔も変わりますよ。
日本には、高い技術を持っている下働きの人間をとても尊敬しますが、うそとでっち上げしかできない高額月給の税金泥棒殿達と新聞記者らにどうしても感銘できない。
水曜日, 9月 22, 2010
checkinstall と rpm-build というものを使うと、ソースからRPMを作る
checkinstall と rpm-build というものを使うと、ソースからRPMを作る
wget http://asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.6.2.tar.gz
tar zxvf checkinstall-1.6.2.tar.gz
cd checkinstall-1.6.2
make
yum install rpm-build
checkinstall --fstrans=no
wget http://asic-linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.6.2.tar.gz
tar zxvf checkinstall-1.6.2.tar.gz
cd checkinstall-1.6.2
make
yum install rpm-build
checkinstall --fstrans=no
火曜日, 9月 21, 2010
またでっちあげですか
中国の漁船が日本の艦船にぶつかったか、或いは、日本の艦船が態々と中国の漁船にぶつかってきたかという疑問が明らかになろうとしています。普通の航海知識で、日本の艦船の痕跡からみると、日本の艦船が中国の漁船を囲み、挟み撃ちする形で、衝突しに行ったことはその時の海上状況ではないですか。
その時のビデオが公開できないことは、なぜでしょうか。日本のでっちあげを隠そうではないでしょうか。前原さん、どう?
その時のビデオが公開できないことは、なぜでしょうか。日本のでっちあげを隠そうではないでしょうか。前原さん、どう?
ruby-debug in 30 seconds
ruby-debug in 30 seconds
cheat rdebug
Aptana RadRails 2 Free, open source IDE for Ruby and Rails applications
RubyDoc.info: Good Looking, Up-To-Date Ruby Documentation
cheat rdebug
Aptana RadRails 2 Free, open source IDE for Ruby and Rails applications
RubyDoc.info: Good Looking, Up-To-Date Ruby Documentation
金曜日, 9月 17, 2010
How to call DLL Method in Javascritp?
Designing Secure ActiveX Controls
How to call DLL Method in Javascritp?
If the DLL is in the client use the following
var l_Obj = new ActiveXObject("ComponentName.ClassName");
If it is OCX then in an ASP or HTML file use the following,
<object classid="CLSID:<Class" id=""> height="95%" align=center id=<id> width="95%" >
</id></object>
dynamic wrapper (ActiveX) .dll which takes the variants and passes them onto the requested function in the correct type
Ruby-1.9.1でMongrelをインストール
Ruby-1.9.1でMongrelをインストール
% sudo gem install mongrel --source http://merbi.st
Rails Webserver Wars [ Thin vs ModRails ] - Which is the best one ???
% sudo gem install mongrel --source http://merbi.st
Rails Webserver Wars [ Thin vs ModRails ] - Which is the best one ???
月曜日, 9月 13, 2010
在Linux用摄像头做简单的监控系统
在Linux用摄像头做简单的监控系统
- Motion - Web Home
- webcam_server
- ZoneMinder Linux Video Camera and CCTV Security with Motion Detection
金曜日, 9月 10, 2010
VM Builder
VM Builder
中に使われたTab Pane 1.02, Created by Erik Arvidsson (http://webfx.eae.net/contact.html#erik) For WebFX (http://webfx.eae.net/)
The list of dhtml components http://webfx.eae.net/dhtml/
中に使われたTab Pane 1.02, Created by Erik Arvidsson (http://webfx.eae.net/contact.html#erik) For WebFX (http://webfx.eae.net/)
The list of dhtml components http://webfx.eae.net/dhtml/
火曜日, 8月 31, 2010
月曜日, 8月 30, 2010
水曜日, 8月 11, 2010
Controlling VMware Virtual Machines from the Command Line with vmrun
Controlling VMware Virtual Machines from the Command Line with vmrun
vmrun -T server -h https://xxxxx:8333/sdk -u root -p manager list
月曜日, 8月 09, 2010
TOra
TOra is an open-source multi-platform database management GUI that supports accessing most of the common database platforms in use, including Oracle, MySQL, and Postgres, as well as limited support for any target that can be accessed through Qt's ODBC support. TOra has been built for various Linux distributions, Mac OS X, MS Windows, and UNIX platforms.
Fedoraにおける環境の設定
SQL*Plusの日本語サポートの構成(UNIX)
Linuxでの(RPMからの)SQL*Plus Instant Clientの構成
See also:Installing Oracle Instant Client 11 under LInux
Oracleオープン・ソース・プロジェクト
How to Connect TOra to Oracle Database
Fedoraにおける環境の設定
- Add oracle-instantclient to the library cache
- /etc/ld.so.conf.dにoracle-instantclient11.2.confを追加する。
- oracle-instantclient11.2.confに下の行を書き込む/usr/lib/oracle/11.2/client/lib
- ldconfig -v (as root) to rebuild library cache file
- 環境変数にライブラリのパスを追加する
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/oracle/11.2/client/lib
SQL*Plusの日本語サポートの構成(UNIX)
export NLS_LANG=JAPANESE_JAPAN.UTF8
Linuxでの(RPMからの)SQL*Plus Instant Clientの構成
See also:Installing Oracle Instant Client 11 under LInux
Oracleオープン・ソース・プロジェクト
金曜日, 8月 06, 2010
木曜日, 8月 05, 2010
火曜日, 8月 03, 2010
The Road To SharePoint Web Parts
The Definitive Hello World Web Part Tutorial
Debugging Web Parts
The Road To SharePoint Web Parts
Creating A SharePoint Web Part Project
Programming With Your SharePoint Web Part
Debugging Your SharePoint Web Part
Microsoft Windows SharePoint Services の Web パーツをパッケージ化および配置する
Page Viwer Webpart - change settings programatically
In the 'webpart.cs' you can write :
// declaration of the PageViewerWebPart
protected Microsoft.SharePoint.WebPartPages.PageViewerWebPart cPreviewPageViewer = new PageViewerWebPart();
and in the RenderWebPart() method :
// link to the page you want / or use a string var of the url
string SiteUrl = ""
cPreviewPageViewer.ContentLink = SiteUrl;
// redim of the pageviewer
cPreviewPageViewer.Height = iFrameHeight.ToString();
// render
cPreviewPageViewer.RenderControl(output);
Debugging Web Parts
The Road To SharePoint Web Parts
Creating A SharePoint Web Part Project
Programming With Your SharePoint Web Part
Debugging Your SharePoint Web Part
Microsoft Windows SharePoint Services の Web パーツをパッケージ化および配置する
Page Viwer Webpart - change settings programatically
In the 'webpart.cs' you can write :
// declaration of the PageViewerWebPart
protected Microsoft.SharePoint.WebPartPages.PageViewerWebPart cPreviewPageViewer = new PageViewerWebPart();
and in the RenderWebPart() method :
// link to the page you want / or use a string var of the url
string SiteUrl = ""
cPreviewPageViewer.ContentLink = SiteUrl;
// redim of the pageviewer
cPreviewPageViewer.Height = iFrameHeight.ToString();
// render
cPreviewPageViewer.RenderControl(output);
WSPBuilder (SharePoint WSP tool)
WSPBuilder (SharePoint WSP tool)
A SharePoint Solution Package (WSP) creation tool for WSS 3.0 & MOSS 2007
Connectable Page Viewer Web Part
A SharePoint Solution Package (WSP) creation tool for WSS 3.0 & MOSS 2007
Adding SharePoint class resources to your feature using WSPBuilder
Connectable Page Viewer Web Part
SharePoint Portal Server 2003 Web パーツと Web コントロール
月曜日, 8月 02, 2010
JBossProperties
JBossProperties
Read a properties file from a class deployed in Jboss?
How do I load a properties file from WEB-INF/classes?
For files directly in the classes directory, our code is like:
Read a properties file from a class deployed in Jboss?
1. Properties properties=new Properties();
2. properties.load(Thread.currentThread().getContextClassLoader().getResource("app.properties").openStream());
How do I load a properties file from WEB-INF/classes?
For files directly in the classes directory, our code is like:
Properties dbProps = new Properties();
//The forward slash "/" in front of in_filename will ensure that
//no package names are prepended to the filename when the Classloader
//search for the file in the classpath
InputStream is = getClass().getResourceAsStream("/"+in_filename);
if(null == is)
{
throw new ConfigException("Can't locate file:" +in_filename);
}
try
{
dbProps.load(is);//this may throw IOException
return dbProps;
}
catch (IOException ioe)
{
System.err.println("Properties loading failed in AppConfig");
throw new ConfigException(ioe,"Can't locate file:" +in_filename);
}
日曜日, 8月 01, 2010
金曜日, 7月 30, 2010
金曜日, 7月 23, 2010
C++で作成したDLLをデバッグで確認したい
C++で作成したDLLをデバッグで確認したい
ディレクトリ構成はこんな感じになっているべきです。
ソリューション ディレクトリ
├VC++ DLL プロジェクト ディレクトリ
|└ソースファイル、ヘッダファイル等
├Debug(VC++ DLL 出力ディレクトリ)
|└DLL、PDB(※)
└C# プロジェクト ディレクトリ
├ソースファイル
└bin
└Debug
├C# EXE
└DLL、PDB(※からコピー)
火曜日, 7月 20, 2010
日曜日, 7月 18, 2010
Apache Tomcat 6 How to Install & Configure
Apache Tomcat 6 How to Install & Configure
Yet Another Insignificant Programming Notes by Chua Hock-ChuanWeb Programming Tutorial - HTTP Authentication
Web Programming Tutorial - HTTP with SSL
tomcat 5.5 - problem with reading resource files
public void init(ServletConfig config) throws ServletException {
String pathToFile = config.getServletContext().getRealPath("")
+ "/WEB-INF/config.properties";
Properties properties = new Properties();
properties.load(new FileInputStream(pathToPropertiesFile));
}
金曜日, 7月 16, 2010
How to use c++ to connect SQLServer?
How to use c++ to connect SQLServer?
SQLAPI++ is a C++ library for accessing multiple SQL databases (Oracle, SQL Server, DB2, Sybase, Informix, InterBase, SQLBase, MySQL, PostgreSQL and ODBC, SQLite).
木曜日, 7月 15, 2010
水曜日, 7月 14, 2010
Can you call a C# DLL from a C DLL?
Can you call a C# DLL from a C DLL?
C#
//function i want to call
public static void GuiDelegate(string message)
{
WriteToWPFGui(message);
}
//notice i need to marshall my string from unmanaged <-> managed, my pinvoke sig
public delegate void CppCallback([MarshalAs(UnmanagedType.LPWStr)] string message);
public static void GuiWriter(CppCallback c)
{
GuiWriter(c);
}
//we need to access C++
[DllImport("C:\\projectName.dll", EntryPoint="CSharp_GuiWriter")] via a dll
public static extern void GuiWriter(CppCallback jarg1);
//CppCallback is defined above
public static CppCallback gui_functor;
delegate void StringDelegate(string message);
//delegate assignment
StringDelegate gui_callback = GuiDelegate;
gui_functor = new CppCallback(gui_callback);
//this points to pinvoke sig -> pinvoke will step into
projName.GuiWriter(gui_functor);
C++
typedef void (__stdcall *Callback)(PCWSTR);
Marshaling between Managed and Unmanaged Code
static Callback gui;
//Assignment of the delegate to the function pointer
__declspec(dllexport) void __stdcall CSharp_GuiWriter(void * jarg1)
{
Callback arg1 = (Callback) 0 ;
arg1 = (Callback)jarg1;
gui = arg1;
}
//invocation
(*gui)(_T("make C# print this text"));
火曜日, 7月 13, 2010
Restore database from backup without control files
Restore database from backup without control files
More About:
Oracle 障害回復 制御ファイル バックアップファイルからの回復
Recover database without control files and redo log files
sqlplus /nolog
CONNECT / AS SYSDBA
STARTUP NOMOUNT
-
CREATE CONTROLFILE DATABASE orcl NORESETLOGS NOARCHIVE
MAXLOGFILES 32
LOGFILE GROUP 1 '/oradata1/orcl/redo01.log' SIZE 500M
GROUP 2 '/oradata1/orcl/redo02.log' SIZE 500M
DATAFILE
'/oradata1/orcl/system01.dbf',
'/oradata1/orcl/undotbs01.dbf'
CHARACTER SET us7ascii; ALTER DATABASE MOUNT;
RECOVER DATABASE USING BACKUP CONTROLFILE;
ALTER DATABASE OPEN;
More About:
Oracle 障害回復 制御ファイル バックアップファイルからの回復
Recover database without control files and redo log files
Oracle database Backup and Recovery FAQ
土曜日, 7月 10, 2010
金曜日, 7月 09, 2010
Tutorial: Using gettext in Java 5 (or later)
Tutorial: Using gettext in Java 5 (or later)
- gted :: GetText EDitor
- poedit
Java Webapp localization through Gettext
- I18n with GNU Gettext utilities
- Setting up Gettext Commons for i18n Java files
- Using Gettext Commons from Java files
- I18n ZK framework ZUL pages using GNU Gettext
gettext-commons
Struts 2: Validation
Struts 2 Validation : Annotations
木曜日, 7月 08, 2010
Change the location Bar in Nautilus to the text mode
Change the location Bar in Nautilus to the text mode
- gconftool-2 --type=Boolean --set /apps/nautilus/preferences/always_use_location_entry true
gconftool-2 --type=Boolean --set /apps/nautilus/preferences/always_use_location_entry false - Ctrl + L
火曜日, 7月 06, 2010
GlassFish v3 起動手順
GlassFish v3 起動手順
起動:
「C:\glassfishv3\glassfish\bin」フォルダを開いて「startserv.bat」ファイルを実行
停止:
「C:\glassfishv3\glassfish\bin」フォルダを開いて「stopserv.bat」ファイルを実行
管理コンソール:
http://localhost:4848/
Deploy struts 2 to GlassFish
asadmin deploydir --contextroot <URL path> <web application directory that includes WEB-INF>
like ->
asadmin deploydir --contextroot xyz C:\xyz
起動:
「C:\glassfishv3\glassfish\bin」フォルダを開いて「startserv.bat」ファイルを実行
停止:
「C:\glassfishv3\glassfish\bin」フォルダを開いて「stopserv.bat」ファイルを実行
管理コンソール:
http://localhost:4848/
Deploy struts 2 to GlassFish
asadmin deploydir --contextroot <URL path> <web application directory that includes WEB-INF>
asadmin deploydir --contextroot xyz C:\xyz
月曜日, 7月 05, 2010
How To Use Host Serial Port From Guest In VirtualBox
How To Use Host Serial Port From Guest In VirtualBox
Name Under Windows | Name Under Linux | IO Address | Interrupt Request (IRQ) |
COM 1 | /dev/ttyS0 | 0x3F8 | 4 |
COM 2 | /dev/ttyS1 | 0x2F8 | 3 |
COM 3 | /dev/ttyS2 | 0x3E8 | 4 |
COM 4 | /dev/ttyS3 | 0x2E8 | 3 |
日曜日, 7月 04, 2010
Rails: MySql lost connection error with Mongrel
- Railsアプリを1日放置しているとMongrelが刺さる問題
- Rails + MySQL (+ Mongrel?) でDB接続の通信が無い状態が続くとデッドロックする。
- TCPSocket#flushでスレッドが停止する現象について
以下のようにいずれかを避けることで問題を回避することができるはずである。
- MySQLのクライアントライブラリを使用したバイナリ版のドライバをインストールする
sudo gem install mysql
gem install mysql -- --with-mysql-dir=/usr/local/mysql - Mongrelの使用をやめ、FastCGIなどにする
- MySQLのコネクションがタイムアウトしないようcron等で定期的にアクセスする
Rails: MySql lost connection error with Mongrel
Mongrel stops responding a few times per days. Restarting Mongrel helps.Q: Mongrel stops working if it's left alone for a long time.Setting timeout to avoid bug in MySQL driver that causes Mongrel stopping to work after a long idle time
If you find that Mongrel stops working after a long idle time and you're using MySQL then you're hitting a bug in the MySQL driver that doesn't properly timeout connections. What happens is the MySQL server side of the connection times out and closes, but the MySQL client doesn't detect this and just sits there.
What you have to do is set:
ActiveRecord::Base.verification_timeout = 14400
Or to any value that is lower than the MySQL server's interactive_timeout setting. This will make sure that ActiveRecord checks the connection often enough to reset the connection.
Mongrel stops responding after period of inactivity
金曜日, 7月 02, 2010
reliable-msg を IPv6 環境で動かすときの注意
reliable-msg を IPv6 環境で動かすときの注意
netstat -a | grep 6438
netstat -an | grep 6438
reliable-msg-1.1.0のインストールとパッチ当て
netstat -a | grep 6438
netstat -an | grep 6438
reliable-msg-1.1.0のインストールとパッチ当て
木曜日, 7月 01, 2010
水曜日, 6月 30, 2010
catch InvalidAuthenticityToken Error
catch InvalidAuthenticityToken Error
ActionController::RequestForgeryProtection.module_eval do
alias :vat :verify_authenticity_token
def verify_authenticity_token(*args)
vat(*args) rescue redirect_to logout_path
end
end
火曜日, 6月 29, 2010
SpringとStrutsとの連携
Spring&Struts連携のベスト・プラクティスはこれだ!
SpringとStrutsとの連携
StrutsでSpringのDI機能を使う
Integrating Struts With Spring
SpringとStrutsとの連携
- ActionSupport
- DelegatingActionProxy
- DelegatingRequestProcessor
StrutsでSpringのDI機能を使う
Integrating Struts With Spring
木曜日, 6月 24, 2010
水曜日, 6月 23, 2010
火曜日, 6月 22, 2010
UT-VPN (PacketiX VPN オープンソース版)
UT-VPN (PacketiX VPN オープンソース版)
クライアントPCよりホストPCを指定できるようにDDNSサーバー
Dynamic DO!.jp http://ddo.jp/
自動でIPアドレスを更新するように
- OpenVPN
- UT-VPN
- Tiny VPN
クライアントPCよりホストPCを指定できるようにDDNSサーバー
Dynamic DO!.jp http://ddo.jp/
自動でIPアドレスを更新するように
- Dice http://www.hi-ho.ne.jp/yoshihiro_e/dice/
- CGI http://nofx2.txt-nifty.com/it/2006/01/ddns_for_fynami_d060.html
月曜日, 6月 21, 2010
日曜日, 6月 20, 2010
土曜日, 6月 19, 2010
木曜日, 6月 17, 2010
水曜日, 6月 16, 2010
[Tomcat] クラスタリング時のセッション維持
Clustering/Session Replication HOW-TO
Tomcat5のクラスタリング機能
第2回:Tomcatのクラスタ設定
JOSSO - Java Open Single Sign-On Project Home,See all JOSSOの設定 in Opengion
ajp_proxy连接Apache与Tomcat负载均衡与集群实践
[Tomcat] クラスタリング時のセッション維持
- Session Persistence(Sticky Session)
- セッションレプリケーション
- ドメインクラスタリング
- Tomcatじゃなくてmemcachedとかに持たせる
Tomcat5のクラスタリング機能
- All-To-All session replication
- primary-secondary session replication
第2回:Tomcatのクラスタ設定
JOSSO - Java Open Single Sign-On Project Home,See all JOSSOの設定 in Opengion
ajp_proxy连接Apache与Tomcat负载均衡与集群实践
火曜日, 6月 15, 2010
Ajax Push Engine - Complete Comet solution
Ajax Push Engine - Complete Comet solution
StreamHub is a highly-scalable HTTP Comet and Reverse Ajax server allowing you to push live data to a web browser without requiring any plugins or security-policy changes.
Liberator is the most performant and fully-featured server currently available for streaming real-time data to web pages.
rupy A tiny Java NIO HTTPd.
Introducing Hotdot
StreamHub is a highly-scalable HTTP Comet and Reverse Ajax server allowing you to push live data to a web browser without requiring any plugins or security-policy changes.
Liberator is the most performant and fully-featured server currently available for streaming real-time data to web pages.
rupy A tiny Java NIO HTTPd.
Introducing Hotdot
木曜日, 6月 10, 2010
水曜日, 6月 09, 2010
comet chat in pylons (with cogen)
comet chat in pylons (with cogen)
cogen Crossplatform asynchronous network oriented python framework based on python 2.5 enhanced generators.
Python Comet Server
Python Comet Server
The latest recommendation for Comet in Python?
- Scalable Real-Time Web Architecture, Part 1: Stomp, Comet, and Message Queues
- Scalable Real-Time Web Architecture, Part 2: A Live Graph with Orbited, MorbidQ, and js.io
- Starting Out With Comet (Orbited) Part 1
- Starting Out With Comet (Orbited) Part 2 – Installation and STOMP
- Starting Out With Comet (Orbited) Part 3 – The Client
月曜日, 4月 05, 2010
2D and 3D Graphics in Python
Manipulating Common Data Files in Python
The Python Programming Language
Software Applications written in Python
Backup Software written in Python
Recommended Python Programming Language Books
Interesting Python Cookbook Recipes
Interfacing Python with C and C++
Python and CryptographyUsing Python to work with Databases
2D and 3D Graphics in Python
Writing GUI Applications with Python
Image Processing in Python
Indexing Text in Python
Libraries and Language issues with Python
Mathematical and Scientific Processing in Python
Multimedia and Python
Significant News Items About Python
Python and OpenGL
Additional Python Programming Documentation
Packaging Tools for Python
PDF File Creation and Processing with Python
Printing from Python
Using Python with RSS
Setting up an SSL Capable Server in Python
Tools for Stock Market Analysis in Python
Python Programming Techniques
Testing Python Programs
Working with UNICODE in Python
Unsorted Python Topics
Web Platforms for Python
Web Services and Python
Windows Authentication in Python
Using the Windows 32 API from Python
XML Processing in Python
The Python Programming Language
Software Applications written in Python
Backup Software written in Python
Recommended Python Programming Language Books
Interesting Python Cookbook Recipes
Interfacing Python with C and C++
Python and CryptographyUsing Python to work with Databases
2D and 3D Graphics in Python
Writing GUI Applications with Python
Image Processing in Python
Indexing Text in Python
Libraries and Language issues with Python
Mathematical and Scientific Processing in Python
Multimedia and Python
Significant News Items About Python
Python and OpenGL
Additional Python Programming Documentation
Packaging Tools for Python
PDF File Creation and Processing with Python
Printing from Python
Using Python with RSS
Setting up an SSL Capable Server in Python
Tools for Stock Market Analysis in Python
Python Programming Techniques
Testing Python Programs
Working with UNICODE in Python
Unsorted Python Topics
Web Platforms for Python
Web Services and Python
Windows Authentication in Python
Using the Windows 32 API from Python
XML Processing in Python
金曜日, 4月 02, 2010
水曜日, 3月 31, 2010
SQLAlchemy and update data using ORM
SQLAlchemy and update data using ORM
Insert to database
Update database
Insert to database
cm = Some_Object()
cm.column1 = column1_data
cm.column2 = column2_data
cm.column3 = column3_data
Session.add(cm)
Session.commit()
Update database
cs = Session.query(Some_Object).filter(and_(Some_Object.id == some_id,Some_Object.other_id == some_other_id)).one()
cs.column1 = "abc"
cs.column2 = "qwe"
cs.column3 = "asd"
Session.add(cs)
Session.commit()
火曜日, 3月 30, 2010
土曜日, 3月 27, 2010
金曜日, 3月 26, 2010
Debug the ActiveX Control with IE8
How to debug the ActiveX Control 1,2
Enabling Internet Explorer 8 (IE8) Debugging With Visual Studio 2005
Enabling Internet Explorer 8 (IE8) Debugging With Visual Studio 2005
月曜日, 3月 22, 2010
日曜日, 3月 21, 2010
Inside Deep Zoom
Inside Deep Zoom (Part I: Multiscale Imaging, Part II: Mathematical Analysis, Part III: Deep Zoom in Flash)
Viewing Large Images – OpenLayers, GSIV, ModestMaps, DeepZoom, and Python
Python Deep Zoom TileCutter
The OpenZoom Project promotes and supports the use of high-resolution images and Zoomable User Interfaces (ZUIs) on the web.
Viewing Large Images – OpenLayers, GSIV, ModestMaps, DeepZoom, and Python
Python Deep Zoom TileCutter
The OpenZoom Project promotes and supports the use of high-resolution images and Zoomable User Interfaces (ZUIs) on the web.
木曜日, 3月 18, 2010
水曜日, 3月 17, 2010
火曜日, 3月 16, 2010
Map Projections and Coordinate Systems
Richard Marsden Series
Projecting KML with OpenLayers and Proj4js
- Map Projections and Coordinate Systems(1, 2)
- Choosing a Map Projection(1, 2, 3)
- How to create an online map with a non-Mercator Projection( 1, 2)
Projecting KML with OpenLayers and Proj4js
日曜日, 3月 14, 2010
土曜日, 3月 13, 2010
木曜日, 3月 11, 2010
GDAL2Tiles + MapTiler - Map Tile Cutter
MapTiler - Map Tile Cutter
Map Overlay Generator for Google Maps and Google Earth
MapTiler is graphical interface for GDAL2Tiles utility, which is part of GDAL.
Since GDAL 1.6 is not the primary GDAL version it is only put in C:\OSGeo4W\apps\gdal-16\bin which is only in the path after you run the gdal16.bat script.
MapTiles, Pyramids, and DeepEarth
Map Tile 切图小工具
水曜日, 3月 10, 2010
GeoWebCache is a cache for WMS tiles implemented in Java
GeoWebCache is a cache for WMS tiles implemented in Java
Tiles à la Google Maps: Coordinates, Tile Bounds and Projection
Tiles à la Google Maps: Coordinates, Tile Bounds and Projection
There are three main systems of tile adressing: Google XYZ, Microsoft QuadTree and from the open-source world comming TMS (Tile Map Service).
MapTiler - Map Tile Cutter
MapTiler is graphical interface for GDAL2Tiles utility, which is part of GDAL.
There are three main systems of tile adressing: Google XYZ, Microsoft QuadTree and from the open-source world comming TMS (Tile Map Service).
MapTiler - Map Tile Cutter
MapTiler is graphical interface for GDAL2Tiles utility, which is part of GDAL.
月曜日, 3月 08, 2010
日曜日, 3月 07, 2010
Privoxy
Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk.
翻墙王Tor浅析及使用方法
翻墙王Tor浅析及使用方法
土曜日, 3月 06, 2010
木曜日, 3月 04, 2010
土曜日, 2月 27, 2010
金曜日, 2月 26, 2010
libbsb is a portable C library for reading and writing BSB format image files
libbsb is a portable C library for reading and writing BSB format image files
Marine Howto and OpenCPN
OpenCPN is a free software (GPL) project to create a concise chart plotter and navigation software for use as an underway or planning tool.
Marine Howto
zyGrib - download and view weather forecast charts & data (winds; temp; cloud cover; etc) For Linux and Windows.
International maritime signal flags
XTides and its children
Marine Howto
zyGrib - download and view weather forecast charts & data (winds; temp; cloud cover; etc) For Linux and Windows.
International maritime signal flags
XTides and its children
木曜日, 2月 25, 2010
Live Ships Map - AIS - Vessel Traffic and Positions
Live Ships Map - AIS - Vessel Traffic and Positions
GNU AIS - Automatic Identification System for Linux
Particulars of Ship stations
GNU AIS - Automatic Identification System for Linux
Particulars of Ship stations
水曜日, 2月 24, 2010
火曜日, 2月 23, 2010
Gutenkarte is a geographic text browser, intended to help readers explore the spatial component of classic works of literature.
Gutenkarte is a geographic text browser, intended to help readers explore the spatial component of classic works of literature.
月曜日, 2月 22, 2010
Source code of qgis 1.4
- Source code of qgis 1.4
svn co https://svn.osgeo.org/qgis/trunk/qgis qgis
- build the 1.4 source on Fedora 12
enter qgis directory, mkdir build && cd build$ cd qgis
$ mkdir build
$ cd build
$ ccmake \
-DCMAKE_INSTALL_PREFIX:PATH=/home/nemo/apps/qgis_1.4 \
-DGRASS_PREFIX=/usr/lib/grass-6.3.0 \
-DGDAL_LIBRARY:STRING=/usr/lib/libgdal.so ..
$ make
$ make install
From Fedora 12 to a GIS workstation(part 1、part 2とpart 3)
Arramagong Virtual Machine and LiveDVD build scripts
日曜日, 2月 21, 2010
土曜日, 2月 20, 2010
金曜日, 2月 19, 2010
MapReduce for Ruby
MapReduce for Ruby: Ridiculously Easy Distributed Programming
MapReduce for Ruby: Ridiculously Easy Distributed Programming
MapReduce: Simplified Data Processing on Large Clusters
MapReduce for Ruby: Ridiculously Easy Distributed Programming
MapReduce: Simplified Data Processing on Large Clusters
木曜日, 2月 18, 2010
Artistic Style 1.24 - A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source Code
Artistic Style 1.24 - A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source Code
Artistic Style for Windows
UniversalIndentGUI
Artistic Style for Windows
UniversalIndentGUI
水曜日, 2月 17, 2010
Bluefish is a powerful editor targeted towards programmers and webdesigners, with many options to write websites, scripts and programming code.
Bluefish is a powerful editor targeted towards programmers and webdesigners, with many options to write websites, scripts and programming code.
火曜日, 2月 16, 2010
月曜日, 2月 15, 2010
Keeping capistrano in check: ensuring roles are respected in sub-tasks
Keeping capistrano in check: ensuring roles are respected in sub-tasks
Capistranoで上位タスクと同じホストを強引に処理対象とする
Re: Identify current host
Callbacks and roles
Capistrano で rsync
Capistranoであえて非並列にコマンド実行する
Capistrano
def with_role(role, &block)
original, ENV['HOSTS'] = ENV['HOSTS'], find_servers(:roles =>role).map{|d| d.host}.join(",")
begin
yield
ensure
ENV['HOSTS'] = original
end
end
Capistranoで上位タスクと同じホストを強引に処理対象とする
Re: Identify current host
task :bootstrap, :roles => :master do
servers = find_servers_for_task(current_task)
servers.each do |server|
puts "host: #{server.host}"
end
end
Callbacks and roles
task :my_custom_task, :roles => :role2 do
servers = find_servers_for_task(current_task) & roles[:role2].servers
run "whatever", :hosts => servers if servers.any?
end
Capistrano で rsync
Capistranoであえて非並列にコマンド実行する
Capistrano
日曜日, 2月 14, 2010
金曜日, 2月 12, 2010
木曜日, 2月 11, 2010
UTF-8 and html screen scraping in Ruby on Rails
UTF-8 and html screen scraping in Ruby on Rails
ruby のスクレイピングツールキット scrAPI
See also keywords like hpricot and curb
ruby のスクレイピングツールキット scrAPI
See also keywords like hpricot and curb
Fedora Frog
Fedora Frog is used by administrators to ease the task of installing many applications and files that are not installed by Fedora Core.
Fedora Frog でいくつかの無料パッケージをまとめてインストール
Fedora Frog でいくつかの無料パッケージをまとめてインストール
gmlive - live video for linux
gmlive - live video for linux, maybe it is a UI for mplayer by playing live video.
水曜日, 2月 10, 2010
PPS Totem 插件的PPA
Ubuntu 9.10中观看PPStream电影
詳細な内容は下のリンクにいろいろな議論があります。
PPS Totem 插件的PPA
Ubuntu9.10的,加源后,终端里sudo apt-get install --reinstall libpps libppswrapper totem-pps
在 Linux 下的 Firefox 中播放 PPStream
totem-pps - A totem plugin to let you browse and play ppstream videos.
player-3-in-one - 3 in one player for http://pptv.me
ubuntu 9.10安装 ppstream+sopcast+pplive 网络电视(关联Firefox)
詳細な内容は下のリンクにいろいろな議論があります。
PPS Totem 插件的PPA
Ubuntu9.10的,加源后,终端里sudo apt-get install --reinstall libpps libppswrapper totem-pps
在 Linux 下的 Firefox 中播放 PPStream
totem-pps - A totem plugin to let you browse and play ppstream videos.
player-3-in-one - 3 in one player for http://pptv.me
ubuntu 9.10安装 ppstream+sopcast+pplive 网络电视(关联Firefox)
火曜日, 2月 09, 2010
月曜日, 2月 08, 2010
The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s)
The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s)
Poundで作るロードバランサとSSLラッパ
Poundで作るロードバランサとSSLラッパ
mongrel_proctitle
mongrel_proctitle
A simple module which changes Mongrel's process title to reflect what it's currently doing. You can then determine a given Mongrel server's status using "ps".
A simple module which changes Mongrel's process title to reflect what it's currently doing. You can then determine a given Mongrel server's status using "ps".
HAProxy - The Reliable, High Performance TCP/HTTP Load Balancer
HAProxy The Reliable, High Performance TCP/HTTP Load Balancer
High Performance Comet on a Shoestring
A Better HAProxy Health Check For Dynamic Websites
Load Balancing in Amazon EC2 with HAProxy
High Performance Comet on a Shoestring
A Better HAProxy Health Check For Dynamic Websites
Load Balancing in Amazon EC2 with HAProxy
ISPConfig is an open source hosting control panel for Linux.
ISPConfig is an open source hosting control panel for Linux.
iui - User Interface (UI) Framework for Safari development on iPhone
iUI is a framework consisting of a JavaScript library, CSS, and images for developing iPhone webapps.
The mobile browser events (double touch, for example) are supported and the look and feel is produce with the iui library.
The mobile browser events (double touch, for example) are supported and the look and feel is produce with the iui library.
MapFish
MapFish is a flexible and complete framework for building rich web-mapping applications.
MapFish is based on the Pylons Python web framework. MapFish extends Pylons with geospatial-specific functionality.
A Ruby implementation of the MapFish Protocol is available as a plugin to the Ruby on Rails framework.The plugin offers tools for generating MapFish applications and web services.
MapFish Mobile (Iphone etc...)
Swimming with the MapFish
8 hours introduction to MapFish Framework
Technical Overview: MapFish
MapFish and Google Earth API
MapFish Workshop Documentation
MapFish is based on the Pylons Python web framework. MapFish extends Pylons with geospatial-specific functionality.
A Ruby implementation of the MapFish Protocol is available as a plugin to the Ruby on Rails framework.The plugin offers tools for generating MapFish applications and web services.
MapFish Mobile (Iphone etc...)
Swimming with the MapFish
8 hours introduction to MapFish Framework
Technical Overview: MapFish
MapFish and Google Earth API
MapFish Workshop Documentation
GeoExt - JavaScript Toolkit for Rich Web Mapping Applications
GeoExt brings together the geospatial know how of OpenLayers with the user interface savvy of Ext JS to help you build powerful desktop style GIS apps on the web with JavaScript.
ka-Map ("ka" as in ka-boom!)
ka-Map ("ka" as in ka-boom!) is an open source project that is aimed at providing a javascript API for developing highly interactive web-mapping interfaces using features available in modern web browsers.
p.mapper - A MapServer PHP/MapScript Framework
The p.mapper framework is intended to offer broad functionality and multiple configurations in order to facilitate the setup of a MapServer application based on PHP/MapScript.
日曜日, 2月 07, 2010
Mapserverのデモworkshopの稼働確認
/var/www/cgi-bin/に/usr/sbin/mapservのリンクをはる時、http.confを下にように変更する必要があります。
For Ubuntu, see Installing MapServer on Ubuntu
MapServer Demoアプリ
MapServer Test Suite
<Directory "/var/www/cgi-bin">
Options ExecCGI FollowSymLinks ←これを加えます。
</Directory>
For Ubuntu, see Installing MapServer on Ubuntu
MapServer Demoアプリ
- ダウンロードはhttp://maps.dnr.state.mn.us/mapserver_demos/workshop-5.0.zip,最新のソースはDemo Applicationへ
- /var/www/mapserver-workshop/に配置したい場合、httpd.confの変更が必要です。
- Install the MapServer demo and data
MapServer Test Suite
土曜日, 2月 06, 2010
金曜日, 2月 05, 2010
木曜日, 2月 04, 2010
listing init scripts, sorted by priority on RedHat
listing init scripts, sorted by priority on RedHat
grep '#\s*chkconfig:' /etc/init.d/* | sed 's/:#//; s/\/etc\/init.d\///;' | awk '{ printf "%2s %2s %7s %s\n", $4, $5, $3, $1 }' | sort
MS4W, the no fuss installer for setting up MapServer on Microsoft Windows platforms.
MS4W, the no fuss installer for setting up MapServer on Microsoft Windows platforms.
See MapTools.org for various packaged tools and utilities.
ms4w とは、MapServerをWindows上で作動させるためのパッケージソフトです。
See MapTools.org for various packaged tools and utilities.
ms4w とは、MapServerをWindows上で作動させるためのパッケージソフトです。
OSGeo4W is a new Windows installer that downloads and/or updates MapServer, add-on applications, and also other Open Source geospatial software.
OSGeo4W is a new Windows installer that downloads and/or updates MapServer, add-on applications, and also other Open Source geospatial software.
OSGeo4W - Trac, See more about what I don't know at the osgeo trac entrance
OSGeo4W - Trac, See more about what I don't know at the osgeo trac entrance
水曜日, 2月 03, 2010
Red5 : Open Source Flash Server
Red5 : Open Source Flash Server
RTMP, VOD, SharedObjects, live video broadcasts, AMF0, AMF3 Compatible, remoting and the list goes on
Google code page
RTMP, VOD, SharedObjects, live video broadcasts, AMF0, AMF3 Compatible, remoting and the list goes on
Google code page
火曜日, 2月 02, 2010
月曜日, 2月 01, 2010
日曜日, 1月 31, 2010
Syslog File
The default syslog file depends on your OS distribution. For example, in Debian Linux is “/var/log/syslog” and in RedHat Linux is “/var/log/messages”.
ibus-handwrite - hand write recognition/input using ibus IM engine
ibus-handwrite - hand write recognition/input using ibus IM engine
土曜日, 1月 30, 2010
金曜日, 1月 29, 2010
Cluster Monitoring with Ganglia & Ruby
Cluster Monitoring with Ganglia & Ruby
Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids.
Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids.
木曜日, 1月 28, 2010
Synergyは、言わばTCP/IPを使った仮想的なPC切替機である
Synergyは、言わばTCP/IPを使った仮想的なPC切替機である
Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own monitor(s).
Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own monitor(s).
水曜日, 1月 27, 2010
DeleGate is a multi-purpose application level gateway, or a proxy server
DeleGate is a multi-purpose application level gateway, or a proxy server
nginx [engine x] is a HTTP and reverse proxy server, as well as a mail proxy server written by Igor Sysoev.
nginx [engine x] is a HTTP and reverse proxy server, as well as a mail proxy server written by Igor Sysoev.
Web Server Survey Archives - Netcraft
ubuntu で nginx から memcache を利用する
Web Server Survey Archives - Netcraft
ubuntu で nginx から memcache を利用する
UltraMonkey-L7
UltraMonkey-L7は、OSI7階層モデルの第4層(Layer4)までの情報に基づいた負荷分散ソリューションである従来のUltraMonkeyを応用して、第7層(Layer7)までの情報に基づいた負荷分散機能を実現するためのプロジェクトです。
火曜日, 1月 26, 2010
God - A Process Monitoring Framework in Ruby
God - A Process Monitoring Framework in Ruby
clean stale pids:PID_DIR=/var/run/mongrel
RUBYBIN=/usr/bin/ruby
clean_stale_pid ()
{
for PIDFILE in ls $PID_DIR/*.pid; do
if [ -e $PIDFILE ]; then
PIDDIR=/proc/$(cat $PIDFILE)
if ! [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = $RUBYBIN ]; then
#echo "removing stale pid: $PIDFILE"
rm -f $PIDFILE
fi
fi
done
}
See also:
Thin
Ebb
登録:
投稿 (Atom)