スキップしてメイン コンテンツに移動

投稿

Emacs Tag jump

Example: Generate tag file all c and header files under current directory. etags ./*.c ./*.h After tag file is generated, if you type M-. , you can quickly jump to the definition of function on your cursor. If you type M-* , you can go back to the previous position.

特定の文字列のみを取り除く正規表現

特定の文字列のみを取り除く正規表現は、以下のように表現します。 ^(?:(?!ABCD|XYZ)).)[A-Z]+ 上記のパターンは、ABCDとXYZのみを除く、任意のAからZの一文字以上の組み合わせにマッチします。 マッチしない文字列を新たに追加する場合、例えばIJKをマッチさせたくない場合は、 ^(?:(?!ABCD|XYZ|IJK)).)[A-Z]+ のようにすればOKです。

ActionScript 3.0のVector.unshiftメソッドのバグ(Flex 3.2)

以下のBugはFlex SDK 3.2の時に発生しました。 Flex 3.5では既に直っています。 古い環境を使っている人は要注意! ArrayクラスよりもVectorクラスを使った方が大抵は高速なので、ArrayクラスをVectorクラスに置き換えていました。その作業中に、Vector.unshiftメソッドで先頭に挿入されるはずの要素が挿入されないバグに遭遇しました。 環境:Flash Player 10.0 r12, Flex SDK 3.2 var v:Vector. = new Vector. (); v.push("A"); v.push("B"); v.push("C"); v.unshift("D"); trace(v); // result will be somehow ["A", "B", "C"] !! 他のブログでも既にバグとして報告されていました。 Vector.unshift () bug Vector bug in FP10

How to convert java-project to web-project in Eclipse

I faced the problem that I could not convert simple java project to wtp project in eclipse. I asked Dr.Google, then he gave me an answer :). Please see the below article. This is exactly what I wanted to know!! How to convert Java Project to Web Project in Eclipse Quick Tips You should check .project file if your project is not what you expect. eclipse determine the project style by the natures section in the file. You should use Navigator window, if you would like to see the files which starts ".".

Sandcastle

I tried using Sandcastle which is the documentation build tool for generating MSDN-style documentation from .NET assemblies and their associated XML comments files like NDoc . I googled information around it and found out good articles and some of related tools. Tools DocProject This tool uses the latest version of Microsoft Sandcastle to build HTML help topics. It can generate variety formats of API documents :). Sandcastle Help File Builder This tool can make building documents from Sandcastle easier. The latest version of Sandcastle Help File Builder (1.8.0 or later) does NOT include SandcastleBuilderConsole.exe which can be used from console for generating domenet. Sandcastle project think that all the process should be done in MSBuild rather than console. If you need SandcastleBuilderConsole.exe please get and use 1.7.0 from here . Articles Generating MSDN-style Documentation with Sandcastle, NAnt and CruiseControl.NET This article is a good example of how to use sandcastle. Th