月曜日, 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 双系统硬盘安装教程

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

月曜日, 11月 15, 2010

水曜日, 9月 29, 2010

Ruby on Rails Tutorial

Ruby on Rails Tutorial

Learn Rails by Example


rails server
サーバーを起動

火曜日, 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

金曜日, 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

The Path to Rails 3

The Path to Rails 3: Introduction

The Path to Rails 3: Approaching the upgrade

rails-upgrade is now an official plugin

Rails3 リリースノート全文和訳
Rails 3.0 Beta の Release Notesを読んでみる

火曜日, 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

金曜日, 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 ???

Ruby-1.9.1でMongrelをインストール

Ruby-1.9.1でMongrelをインストール

% sudo gem install mongrel --source http://merbi.st

Passenger

月曜日, 9月 13, 2010

金曜日, 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/

月曜日, 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.

How to Connect TOra to Oracle Database



Fedoraにおける環境の設定
  • Add oracle-instantclient to the library cache
    1. /etc/ld.so.conf.dにoracle-instantclient11.2.confを追加する。
    2. oracle-instantclient11.2.confに下の行を書き込む/usr/lib/oracle/11.2/client/lib
    3. 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月 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);

WSPBuilder (SharePoint WSP tool)

WSPBuilder (SharePoint WSP tool)

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?

   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);
}

Getting the Browser Default Language in PHP

Getting the Browser Default Language in PHP

金曜日, 7月 23, 2010

Win32 API: C++ to .NET

Win32 API: C++ to .NET





Data Types (C# vs. Java)

.NET Framework Developer's Guide: OutArrayOfStructs Sample

.NET Framework Developer's Guide OutArrayOfStructs Sample

PinvokeLib.dll

pinvoke.net: the interop wiki!


Calling Win32 DLLs in C# with P/Invoke

C# 411

C++で作成したDLLをデバッグで確認したい

C++で作成したDLLをデバッグで確認したい



ディレクトリ構成はこんな感じになっているべきです。

ソリューション ディレクトリ
├VC++ DLL プロジェクト ディレクトリ
|└ソースファイル、ヘッダファイル等
├Debug(VC++ DLL 出力ディレクトリ)
|└DLL、PDB(※)
└C# プロジェクト ディレクトリ
 ├ソースファイル
 └bin
  └Debug
   ├C# EXE
   └DLL、PDB(※からコピー)

日曜日, 7月 18, 2010

金曜日, 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).

ADO Code Examples in Visual C++

ADO Code Examples in Visual C++

ActiveX Data Objects (ADO)

水曜日, 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);
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"));


Marshaling between Managed and Unmanaged Code

火曜日, 7月 13, 2010

Restore database from backup without control files

Restore database from backup without control files

  1. sqlplus /nolog
  2. CONNECT / AS SYSDBA
  3. STARTUP NOMOUNT
  4.    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;
  5. ALTER DATABASE MOUNT;
  6. RECOVER DATABASE USING BACKUP CONTROLFILE;
  7. ALTER DATABASE OPEN;

More About:
Oracle 障害回復 制御ファイル バックアップファイルからの回復
Recover database without control files and redo log files

Oracle database Backup and Recovery FAQ

土曜日, 7月 10, 2010

mvn2の設定

環境設定

export M2_HOME=/usr/local/apache-maven
export M2=$M2_HOME/bin
export MAVEN_OPTS="-Xms256m -Xmx512m"

export PATH=$PATH:$JAVA_HOME/bin:$M2

See also CookBook

木曜日, 7月 08, 2010

Change the location Bar in Nautilus to the text mode

Change the location Bar in Nautilus to the text mode

  1. 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
  2. Ctrl + L

火曜日, 7月 06, 2010

How to create Struts2 project in NetBeans

How to create Struts2 project in NetBeans

“Hello, World” Web Application using Struts 2 in NetBeans IDE 6.1

Developing a Struts 1.x Application with the NetBeans IDE

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

日曜日, 7月 04, 2010

Rails: MySql lost connection error with Mongrel


以下のようにいずれかを避けることで問題を回避することができるはずである
  1. MySQLのクライアントライブラリを使用したバイナリ版のドライバをインストールする
    sudo gem install mysql
    gem install mysql -- --with-mysql-dir=/usr/local/mysql
  2. Mongrelの使用をやめ、FastCGIなどにする
  3. 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.

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.
Setting timeout to avoid bug in MySQL driver that causes Mongrel stopping to work after a long idle time

Mongrel stops responding after period of inactivity


木曜日, 7月 01, 2010

eTicket

eTicket is a PHP-based electronic support ticket system, that can receive tickets via email (pop3/pipe) or a web form. It also offers a ticket manager with many features. An ideal helpdesk solution for any website.

水曜日, 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

Rails 2.0・その12(CSRFを勝手に防止)

Rails 2.0・その12(CSRFを勝手に防止)

土曜日, 6月 19, 2010

火曜日, 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

Setting Up Orbited Server, IRC Chat Example

水曜日, 3月 31, 2010

SQLAlchemy and update data using ORM

SQLAlchemy and update data using ORM

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月 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.

土曜日, 2月 27, 2010

金曜日, 2月 26, 2010

VisualGPSとVisualGPSceといろいろ

VisualGPSVisualGPSce

S52 in openev

S52 in openev

S57 map files in qgis-developer

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

SpatiaLite and VirtualShape

SpatiaLite a complete Spatial DBMS in a nutshell

GIS in SourceForge.JP

GIS in SourceForge.JP

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

月曜日, 2月 22, 2010

rpmbuildコマンドによるrpmファイルの作成
How to make the RPM files from SRPM

Splashtop(高速起動Linux:SpeedyBoot)

Splashtop(高速起動Linux:SpeedyBoot)

Google Chromium (Chrome) OSをハックする

Google Chromium (Chrome) OSをハックする

Ubuntu 9.04 LDAPクライアント設定CommentsAdd Star

Ubuntu 9.04 LDAPクライアント設定

UTF-8 and Unicode FAQ for Unix/Linux

UTF-8 and Unicode FAQ for Unix/Linux
Using UTF-8 with Gentoo
The Unicode HOWTO
Multilingual text on Linux
Notes on UTF-8 and locales

OpenSSL Command-Line HOWTO

OpenSSL Command-Line HOWTO

Stunnel -- Universal SSL Wrapper

DiG HOWTO

DiG HOWTO

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 1part 2part 3)

Arramagong Virtual Machine and LiveDVD build scripts

金曜日, 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

水曜日, 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.

Secure Passwordless Logins with SSH

Secure Passwordless Logins with SSH Part 1 Part 2 Part 3

月曜日, 2月 15, 2010

Configurator for MySQL Cluster - version 2.9

Configurator for MySQL Cluster - version 2.9

Keeping capistrano in check: ensuring roles are respected in sub-tasks

Keeping capistrano in check: ensuring roles are respected in sub-tasks

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月 11, 2010

水曜日, 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)

月曜日, 2月 08, 2010

@IT:Linux Square全記事インデックス

@IT:Linux Square全記事インデックス

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ラッパ

Load Balancing & QoS with HAProxy

Load Balancing & QoS with HAProxy

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".

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

ISPConfig is an open source hosting control panel for Linux.

ISPConfig is an open source hosting control panel for Linux.

Turn a Parsnip into a Turnip with Edit Distance Algorithms

Turn a Parsnip into a Turnip with Edit Distance Algorithms

gMap - Google Maps Plugin for jQuery

gMap - Google Maps Plugin for jQuery

ActiveRecord, DataMapper, and Sequel ORMs, here comes Merb

Breaking news: Merb and Rails working together on the next version of their frameworks

ActiveRecord, DataMapper, and Sequel ORMs

10 Alternative Ruby Web Frameworks

Androidにおける地図描画と方位センサーの利用

地図描画と方位センサーの利用

Android, Maemo、LiMo、Moblinなど、携帯向けLinux OS

Android, Maemo、LiMo、Moblinなど、携帯向けLinux OS

Spatial Reference

Spatial Reference
Find your references in any number of formats!

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.

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

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.

GeoServer

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data.

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.

OpenLayers: Free Maps for the Web

OpenLayers: Free Maps for the Web

See also Debianでka-Mapのメモ プラスOpenLayers


Displaying maps with OpenLayers


Christopher Schmidt
: GIS and Web Hacker

日曜日, 2月 07, 2010

The Mapfile is the heart of MapServer

The Mapfile is the heart of MapServer

MapABC Wiki - Mapserver自習メモ

Mapserverのデモworkshopの稼働確認

/var/www/cgi-bin/に/usr/sbin/mapservのリンクをはる時、http.confを下にように変更する必要があります。
<Directory "/var/www/cgi-bin">
Options ExecCGI FollowSymLinks ←これを加えます。
</Directory>


For Ubuntu, see Installing MapServer on Ubuntu

MapServer Demoアプリ


MapServer Test Suite

三款 Linux 下的免费桌面级杀毒软件

三款 Linux 下的免费桌面级杀毒软件

木曜日, 2月 04, 2010

MapDesk is a UMN MapServer based map editor and viewer.

MapDesk is a UMN MapServer based map editor and viewer.

MapDesk とは、MapServerベースの地図エディタとビューアーソフトです。

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

Synchronization with Java through File Locks

Synchronization with Java through File Locks

Linux touch screen support

Linux touch screen support

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上で作動させるためのパッケージソフトです。

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

日曜日, 1月 31, 2010

MySQLのレプリケーション

MySQLのレプリケーション

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”.

GPSから精度の高いデータを取得する方法/コード

GPSから精度の高いデータを取得する方法/コード

What is jQuery.sheet?

What is jQuery.sheet?

これは凄い、Excelの関数も使えちゃうスプレッドシート実装jQueryプラグイン「jQuery.sheet」

GeoHex(ジオヘックス)

GeoHex(ジオヘックス)

Flex版GeoHex

GeoHex Google Maps API For Flash版

Welcome to LocaPoint Official Site!

Welcome to LocaPoint Official Site!

緯度経度を文字列で表すGeoHash

緯度経度を文字列で表すGeoHash
Geohashのアルゴリズム

GeoHashのdecodeのアルゴリズムの解説します & ScalaのGeoHashライブラリを作ってみました(仮)

GPS座標を短い文字列で扱えるGeoHashが面白い

ibus-handwrite - hand write recognition/input using ibus IM engine

ibus-handwrite - hand write recognition/input using ibus IM engine

Efficient Editing With vim

Efficient Editing With vim
Splits and multi-file editing
.vimrc and customization

初学Flex的Layout机制

初学Flex的Layout机制

水曜日, 1月 27, 2010

Slowloris HTTP DoS

Slowloris HTTP DoS

nginxでreverse proxyしてslowlorisを防いでみる

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 を利用する

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

MySQLのmy.cnfファイル