Home > Archives

Archives

  • 95 Entries
  • 1 Comments
Search Gadget (Google Ajax Search API) - Posted date: 2008年11月 3日 12:37
  • ブログやウェブサイトの狭いスペースでも設置できる検索ガジェットです。小さくてもウェブ検索、イメージ検索、ビデオ検索、本の検索などが出来る優れものです。幅は290px、高さは180px に設定しています。高さは調整可能です。 ガジェットのコードです(コピペ用)。 ...
  • Posted by: WebMaster
  • Category: Google Search | Javascript AJAX CSS
  • Tag: Google Search
Freedom and Equality - 自由と平等、心と知識、システムと歯車 - Posted date: 2008年10月15日 18:09
  • 最近の独り言・・・ 自由と平等 人が怒るのは「平等性」を害されたとき。 関係の「平等性」を害してはいけない。 人が悲しむのは「自由」を失ったとき。 そして、人が喜ぶのは「自由」を得たとき。 労働は、人に「自由」をあたえること。それによって対価相当の「自由」が与えられる。 自由の種類は選べない。 「自由」が欲しければ、多くの人に「自由」を与えることだ。 人は人間性(自由と本質的平等)を失ってはいけ...
  • Posted by: WebMaster
  • Category: Soliloquy
Google Map and Ajax API Search Gadget - Posted date: 2008年10月11日 18:37
  • 何らかの変更があったためコントロールが表示されなくなっていました。 11月3日 : 地図タイプをノーマルに設定したら回復しました。 Google Map と Ajax API Search 兼ねたガジェットです。左のガジェットはシンプル(Simple version)な方のガジェットです。クリックすると移動可能なマーカーが表示されます。ドラッグズームや経度、緯度などがクリックで表示されるFull...
  • Posted by: WebMaster
  • Category: Google Map | Google Map Gadget | Google Search | Javascript AJAX CSS
  • Tag: google map
JS Text Translation - Google gadget (翻訳ガジェット) - Posted date: 2008年10月10日 08:46
  • Google の提供している Google Ajax Language API を利用した翻訳ガジェットです。現在35カ国語の言語の翻訳が出来ます。 Google Codeページ 言語選択はセレクトメニューのオプションが35 (言語)もあるので、マウスホイールで選択出来るようにしました。一応クッキーを使って最後に翻訳した言語を次回読み出したときに表示できるようにしてます。長い文章の翻訳はまだ出来...
  • Posted by: WebMaster
  • Category: JS Text Translation | Javascript AJAX CSS
  • Tag: JS Translation
Javascript Base64 encoder & decoder(Google Gadget) - Posted date: 2008年10月 5日 06:22
  • Javascript base64 encoder and decoder. 手軽に Base64 エンコード(暗号化) & デコード(解読)ができる Google gadget を作りました。 使い方は、上のテキストエリアに貼り付けてボタンを押すだけです。貼り付けるエリアは、data1,data2, data3, data4 の4ヶ所あります。ソースコードもBase64 function...
  • Posted by: WebMaster
  • Category: JS Base64 | Javascript AJAX CSS
  • Tag: JS Base64
Javascript Compressor (Modified 1 Oct. 2008) - Posted date: 2008年9月30日 07:06
  • Javascript Compressor がほぼ完成しました。正規表現のエラーチェックと括弧の数を数えてエラーがある場合に表示されます。Compression Ratio も表示させるようにしました。 以前の記事を改良しました。 正規表現部分の[ ] 内の"/" とスペースがあった場合に圧縮時に(スペースがある場合のみ)スペースが消てしまうので今回は、ループさせてRegExp をecmasc...
  • Posted by: WebMaster
  • Category: Javascript AJAX CSS | Javascript Compressor
  • Tag: Javascript compressor
Tower of Babel バベルの塔 - Posted date: 2008年9月27日 20:26
  • 文字コードを見てため息をつくたびにバベルの塔の神話を思い出す。  バベルの塔 もともと人々は同じ1つの言葉を話していた。  シンアルの野に集まった人々は、煉瓦とアスファルトを用いて天まで届く塔をつくってシェム(ヘブライ語、慣習で名と訳されている。名誉・名声の意味も有る)を高く上げ、全地のおもてに散るのを免れようと考えた(偽典の「ヨベル書」によれば、神はノアの息子たちに世界の各地を与え、そこに住...
  • Posted by: WebMaster
  • Category: Soliloquy
Javascript Code prettifier - Highlight Syntax (JS Code Pro.) - Posted date: 2008年9月25日 23:20
  • this gadget (upgrade version of code prettifier) highlights syntax code of javascript just copy and paste, and RegExp in a code will be highlighted by midnight Blue. font-size, font-family are chan...
  • Posted by: WebMaster
  • Category: JS Code | Javascript AJAX CSS
  • Tag: JS Code
Javascript Code Prettifier (Google Gadget) - Posted date: 2008年9月23日 20:29
  • this gadget highlights syntax code of javascript just copy and paste. no necessary to set up js file. it's easy to use. ガジェットの貼り付けコード(Upgraded version) Javascript の Syntax Highlighter ガジェットが完成しました。 こ...
  • Posted by: WebMaster
  • Category: JS Code | Javascript AJAX CSS
  • Tag: JS Code
instruction for designing algorithm and mental practice - Posted date: 2008年9月20日 08:48
  • instruction for designing algorithm: アルゴリズムの設計はプログラムコードのサイズがコンパクトで綺麗に書けようにデザインしておく。 プログラムが処理する計算回数と使用メモリを最小に抑えて処理速度を最大にする。 アルゴリズムが完成しない限りプログラムは完成しないことを十分に理解して、(手直しの際のストレスを軽減するために)アルゴリズムの原本作成に時間をかける。 ...
  • Posted by: WebMaster
  • Category: Teachings
  • Tag: Designing Algorithm
Javascript code prettify - Highlight Syntax (JS Code) - Posted date: 2008年9月19日 15:10
  • Next google gadget project is Highlight Syntax of JavaScript and etc. 次に公開予定のガジェットは "JS Code" (仮名)です。現在このブログで使っているのがSyntaxHighlighter 1.5.1なんですが、コードの行数が1000行を超えるとかなり読み込み処理に時間がかかります。prototype.js 1.5.1...
  • Posted by: WebMaster
  • Category: JS Code | Javascript AJAX CSS
  • Tag: JS Code
JS Compressor で excanvas.js を圧縮してみる - Posted date: 2008年9月12日 16:59
  • Google が配布している excanvas.js をJS Compressor 圧縮してみました。圧縮しても動かなかったので、JScript コンパイラーでコードをチェックしてみると、684行目の終わりに、";" が不足してました。 684行目の } の後に 区切りの ; が足りないために圧縮してもエラーになります。付け加えれば大丈夫です。 682. contextPrototype.f...
  • Posted by: WebMaster
  • Category: Javascript AJAX CSS | Javascript Compressor
  • Tag: Javascript compressor
JS Function - javascript with Canvas by google gadget (使い方:1) - Posted date: 2008年9月12日 07:14
  • JS Function Google Gadget使い方 : 計算 & キーワード このガジェットはこのサイトのトップページで英語で紹介しているものです。ソースコードのサイズが少し大きめだったので、ときどきチェックをしながら様子を見ていました。今回、JS Function ver. 1_2_2 で、バグもほぼ改善されたと思いますのでこのブログで紹介します。 ガジェットの貼り付けコード オメガの...
  • Posted by: WebMaster
  • Category: JS Function | Javascript AJAX CSS
  • Tag: JS Function
Javascript Compressor (Google Gadget) - Posted date: 2008年9月10日 10:42
  • 改良版のJavascript Compressor のソースコードです。 http://www.samurai-logic.com/mt/2008/09/javascript-compressor-modified.html ガジェットの貼り付けコード IE でガジェットが表示されないバグがありましたのでcontent type を html→url にしました。 javascript comp...
  • Posted by: WebMaster
  • Category: Javascript AJAX CSS | Javascript Compressor
  • Tag: Javascript compressor
Javascript : Browser Identification by RegExp (正規表現を使ってブラウザを判定) - Posted date: 2008年9月 6日 15:41
  • ブラウザを正規表現(Regular Expression)を用いて判定するソースコードです。 browserRegExpIdentification Opera のテスト/opera/i (/opera/i.test(navigator.userAgent) == true) ==>ブラウザは Opera です。 Internet Explorer のテスト/msie/i (/msie/i.te...
  • Posted by: WebMaster
  • Category: Javascript AJAX CSS | RegExp
  • Tag: RegExp
JavaScript RegExp 正規表現(Regular Expression) - Posted date: 2008年9月 2日 18:07
  • ガジェットの貼り付けコード ガジェットのソースコードは記事の最後に紹介しています。 使い方: 上に、data1, data2, data3, output の4つタブがあります。data1からdata3のテキストエリアに正規表現をテストしたい文字列をコピーペーストします。 真ん中のエリアに、'match', 'replace', 'test', 'exec', 'search', 'index...
  • Posted by: WebMaster
  • Category: Javascript AJAX CSS | RegExp
  • Tag: RegExp
あり得ない怪我 - Posted date: 2008年8月30日 09:03
  • まだやってもいないのに「難しい」とか言うけれど、なぜそれが難しいと解るのか? 何度も繰り返しそういったラベルを貼っているからどんどん難しくなるのではないのか? あり得ない怪我だけど、積み重ねると再起不能系の致命傷だ。 ...
  • Posted by: WebMaster
  • Category: Soliloquy
System of nature & Global warming - Posted date: 2008年7月 6日 17:27
  • System of nature is simple. while gears of air, water, and sunlight(fire) are meshing, people get benefit from the crop of the lands. that's the principle everyone know. Grobal warming is "System g...
  • Posted by: WebMaster
  • Category: Soliloquy
  • Tag: system of nature
Greater Common Divisor Algorithm for VB(最大公約数を求めるアルゴリズム) - Posted date: 2008年6月30日 08:19
  • 2つの数値から最大公約数を求めるアルゴリズムを、While loopを使って求める方法と再帰的なループを求める方法の2種類紹介します。 Theis algorithm to find Greater Common dinominator of two integer. One is reflexive way and another one is using "while loop" to f...
  • Posted by: WebMaster
  • Category: Algorithm
  • Tag: Algorithm
Load to the origin 飲水思源 - Posted date: 2008年6月28日 21:18
  • Load to the origin. 人から教えを受けるとき、常にその教えの起源を見なければいけない。専門分野のはっきりしないジェネラリストの話を聞いてもルーツを辿れないからあまり得るものがない。言論の自由だからと言っていろんなことを言う人がいるけど、それでは正統なルーツを受け継いで日々努力をしているスペシャリストの立場がない。 水を見ても源流を見なければ本当にどんな水か知りえない。 飲水思...
  • Posted by: WebMaster
  • Category: Soliloquy
  • Tag: origin
VB as Interpreter computing - Posted date: 2008年6月28日 11:29
  • VBは行番号に沿って1行ずつコンパイルして実行処理されるプログラムです。Gotoステートメントで行を指定すれば行を飛ばしたり、戻ったり、ループさせることも出来ます。 (1)Basicは行単位で区切られるので文末を示す記号がなく、プログラムのブロックを区切るものがない。ALGOLやPASCALでは、begin -> end; Cでは、{ -> }... //--> VBに行番号をつけて簡単なコー...
  • Posted by: WebMaster
  • Category: Excel VBA
  • Tag: Basic
Declared Data Types & String function (型宣言文字&文字列関数のString型変換) - Posted date: 2008年6月28日 07:58
  • 型宣言文字 型宣言文字はあまり推奨されないかもしれませんが、ここで紹介しているコードによく使ってますので紹介します。 宣言型文字の使用例宣言型文字の使用例 Dim x as IntegerDim x%Dim x as LongDim x& Dim x as SingleDim x!Dim x as DoubleDim x# Dim x as StringDim x$Dim x As Curre...
  • Posted by: WebMaster
  • Category: Excel VBA
  • Tag: Data Type, 文字列関数
False Coin Algorithm - Posted date: 2008年6月19日 16:58
  • 1つだけ重いコインが混じっているN個のコインを天秤にかけて最小回数の計量で重いコインを見つけるアルゴリズムを紹介します。今回紹介するのは、N個のコインの中で偽のコインは重いと分かっているということを仮定したものです。重いか軽いか分からないコインを見つけるアルゴリズムは後々紹介しようと思います。 The algorithm which finds only one heavy coin in n...
  • Posted by: WebMaster
  • Category: Algorithm
  • Tag: Algorithm
What is love? - Posted date: 2008年6月19日 06:29
  • the emotion which occurs when the relation supplements each other's portion of shortage. If a masculine(or feminine) thing is insufficient, the shortage will be supplemented and the stability of a he...
  • Posted by: WebMaster
  • Category: Soliloquy
Search System - Posted date: 2008年6月18日 07:39
  • Myspaceのブログを見ていたら、何の問題もない写真の画像が「性的に露骨な描写または暴力的の可能性がある」という理由で削除されたという記事があった。ブログを書いている本人は、「なんで?」と怒って記事を書いている。「誰か」の判断によって削除されたのだと決めつけている。しかし、ユーザー数2億人のSNSサイトを「誰か」が日々チェックしていることはあり得ない。サイト内をクロールしている画像検索シス...
  • Posted by: WebMaster
  • Category: Soliloquy
パスカルの三角形 アルゴリズム(Pascal's Triangle Algorithm for VB) - Posted date: 2008年6月14日 13:33
  • パスカルの三角形アルゴリズムの前に Shortest path problem 最短経路問題を紹介します。 Start から Goal までの最短経路でどれだけのパターンがあるかという問題です。下の図は、35通りの最短経路があります。各辺を辿って、クロスした点に到着できたところで数値を付けています。この問題は35通りの経路がありますが、数値を書き込まなくてもソースコードに書いているPasca...
  • Posted by: WebMaster
  • Category: Algorithm
  • Tag: Algorithm
Roots - Posted date: 2008年6月13日 21:50
  • 動くものにしがみついてはいけない。人が一番頼らなければいけないのは動かぬ理とルーツだ。神道には詳しくないけど、生まれた土地には氏神様が祀られている。神様とは先祖のルーツだと思う。親は良かれ悪かれ、ルーツを辿るためのとても重要なキーパーソンだ。ルーツにある存在を疎かにしていると幸運から見放され子孫が繁栄することはないと思う。枝葉が立派になるのは根のお陰だ。 技術や才能を引き出してくれた恩師もルー...
  • Posted by: WebMaster
  • Category: Soliloquy
Excel VBAで記数法・数値を2進数~36進数で表示させる(Numeral system using inputbox(Binary, Hexadecimal to 36 decimal) - Posted date: 2008年6月 8日 17:59
  • 前の記事で、数値を2進数から36進数に変換するソースコードを紹介しました。今回は、少しコードを書き換えてInputBox に数値を入力すると変換するようにしました。 ...
  • Posted by: WebMaster
  • Category: Algorithm | Useful Technic
  • Tag: Algorithm
アルゴリズムとシステムの違い(Difference between Algorithm and System) - Posted date: 2008年6月 7日 17:59
  • アルゴリズムとは、JIS規格のX-0001の定義では、「明確に定義された有限個の規則の集まりで、有限回適用することにより問題を解くもの」、「問題を解くために明確に定義され、順序付けられた有限個数の規則からなる集合」とあります。 最近、流行なのか何でもアルゴリズムと言う名称がつけられてますが不思議です。こういった明確に定まっている貴重な名称は崩されるべきではないと思います。 時間の経過によって使...
  • Posted by: WebMaster
  • Category: Algorithm
  • Tag: Algorithm
シェルソート(Shell Sort) - Posted date: 2008年6月 6日 06:49
  • C言語で書かれたシェルソート・アルゴリズムをVBで書きました。改良版のシェルソートはさすがに高速です。考案者のシェル(Donald Shell)が着目したのは、挿入ソートで並び替える場合、配列の中に挿入する要素が近くにあるとき高速で並び替えが行えるという長所でした。そこで、挿入ソートを行う前に、離れたところにある要素を予め近くに寄せておくことを考えたのです。 At this article, ...
  • Posted by: WebMaster
  • Category: Algorithm
  • Tag: Algorithm
The Time Frame of Thinking - Posted date: 2008年6月 3日 18:47
  • 天才は短いタイムフレームで思考する。 極めて短いタイムフレームの思考に至れば別世界にダイブできる。そのとき音を超越して真の自由を経験する。 逆に、思考のタイムフレームが長くなると妄想になる。そして思考に支配される。 Genius thinks in a short time frame. Furthermore, if you can be in a very short time frame...
  • Posted by: WebMaster
  • Category: Soliloquy
  • Tag: time frame
知識と能力(Knowledge and human's capability) - Posted date: 2008年6月 3日 11:46
  • 知識がありすぎると返って障害となりうることがある。変化するものを定まったものだと決めつけてしまうということは、ジグソーパズルに誤ったパーツを置くようなものだ。それによって理に適わない形に現実が硬く固まってしまう。 多くの人は能力は身に付けるものだと思っているが、それは全くの誤りだ。身につけられるものは飾りしかない。能力は様々な障害によって内に封印されているようなものだ。努力してそれらの障害を取...
  • Posted by: WebMaster
  • Category: Soliloquy
ハノイの塔アルゴリズム (Tower of Hanoi Algorithm for VB) - Posted date: 2008年6月 2日 19:30
  • ハノイの塔は、インドの神話では「ブラフマーの塔」と呼ばれ天地創造のとき神が64枚の金の円盤を重ね、移し替えが終わったときに世界が終焉するといわれたことに由来します(ブラフマー神は創造の神、ヴィシュヌ神は維持の神、シヴァ神は破壊の神)。ルールは下の円盤が常に上に重なる円盤よりも大きな円盤になるようにします。64枚の円盤を移し変えるには最小で264-1回(18,446,744,073,709,55...
  • Posted by: WebMaster
  • Category: Algorithm
  • Tag: Algorithm
記数法アルゴリズム(2進数~36進数)Numeral system Algorithm(Binary, Hexadecimal to 36decimal) - Posted date: 2008年6月 2日 09:38
  • 10進数の数値を2進数から36進数までの数値に変換するソースコードを紹介します。 Introducing Numeral system Algorithm. The source code will convert the a decimal number to a value from a binary number to 36decimal. ...
  • Posted by: WebMaster
  • Category: Algorithm
  • Tag: Algorithm
素数判定アルゴリズム VB Code (Primality Test Algorithm (VB code to find Prime number)) - Posted date: 2008年6月 1日 15:01
  • 素数を判定して求めるアルゴリズムを紹介します。素数を求める数列式は現在のところ見つかっていませんので、求めた素数で割り切れるかどうかで判定します。改良されたアルゴリズムは、最小限の除算による判定回数で素数を求めることが出来ます。その2種類のプロシージャと、素数判定ファンクションのソースコードを紹介しています。 This algorithm is to judge and asks for a ...
  • Posted by: WebMaster
  • Category: Algorithm
  • Tag: Algorithm
Binary Search Function 2分検索ファンクション - Posted date: 2008年5月31日 14:45
  • 2分検索ファンクションのVBAソースコードを紹介します。配列の最初から順番に目的の要素を探す場合は、最大でN回の比較検索が必要です。しかしこの2分検索アルゴリズムは最大でlog*N回の比較検索で探します。何度も言いますがソートなどの並び替えと同じく、アルゴリズムを構築する場合はとても長い配列を想定しなければいけません。 アルゴリズムとシステムについて:少し内容が逸れます。 アルゴリズムは「シス...
  • Posted by: WebMaster
  • Category: Algorithm | Excel VBA
  • Tag: Algorithm
株価のオリジナル指標・サムライレシオのシステムについて(About System of Samurai-Ratio(original oscillator of stock chart) - Posted date: 2008年5月21日 11:19
  • このサイトのドメインを取得する少し前(2006年の秋頃)に現在このサイトの"Trading System" (株売買シグナル)のページで紹介している「サムライレシオ」を考案しました。最初は別の名前を付けていましたが、最終的にサムライレシオと命名しました。以下のストックチャートの下にあるのがサムライレシオ指標です。3種類ほど紹介しています。これらのチャートは市場の毎営業日の夕方に更新されます。 な...
  • Posted by: WebMaster
  • Category: Samurai-Ratio(Stock Chart Oscillator)
  • Tag: Samurai-Ratio, サムライレシオ
ヒープソート・アルゴリズムの訂正・ Correction of HeapSort Algorithm - Posted date: 2008年5月20日 13:18
  • 訂正:20%効率化されたヒープソート・アルゴリズムと書いていましたが、どうにも腑に落ちなかったので、C言語で書かれた専門書を買って調べたところ、ここに書いているコード(効率化されたヒープソートと書いたコードとほぼ同じもの)が本に書かれていました。 この記事の前に書いたヒープソートのコードは、Wikipediaや海外の複数のサイトで紹介されていたC言語のアルゴリズムを参考にしたものでした。それらが...
  • Posted by: WebMaster
  • Category: Algorithm | Excel VBA
  • Tag: Algorithm, HeapSort
GraphConrol Ver.203 (バグ改善) bugs(v.202) has improved. - Posted date: 2008年5月16日 09:19
  • エクセルのスプレッドシートではなく、グラフシートが選択されたときにエラーが発生した部分を改善しました。グラフシートのグラフは、コードの書き方(グラフを選択しないで設定する部分)が少し違うので、設定できません。(コード全体を書き直す必要があります) When a graph sheet has chosen, the portion which the error generated has b...
  • Posted by: WebMaster
  • Category: GraphControl
  • Tag: GraphControl
Excel グラフを画像(GIF)データとして指定フォルダに作成&保存する(Create graph's image to folder) - Posted date: 2008年5月15日 13:18
  • エクセルのシート上のグラフをGIF画像として保存するソースコードを紹介します。 This procedure will create GIF image of chart to selected folder. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
GraphConrol Ver.201 English Version(英語バージョン) Distribution - Posted date: 2008年5月13日 09:05
  • Introducing English version of a little Excel software 'GraphControl'. This software will help your Excel work, and save your time. Download GraphControl_en Ver.203 Ajust height of width of char...
  • Posted by: WebMaster
  • Category: Excel Graph | Excel VBA | GraphControl
  • Tag: GraphControl
GraphConrol Ver.201 配布開始 - Posted date: 2008年5月11日 21:38
  • GraphConrol Ver. 201 GraphConrol Ver. 202を配布開始します。新機能を追加しています。 グラフを指定フォルダに GIF画像として保存できるようにしました。 ツールバーのメニューに追加しました。 複数のブックを開いていても、ブック、シート、グラフを指定することが出来ます。 使い方は、グラフコントロール画面のコンボボックスで開いているブックを...
  • Posted by: WebMaster
  • Category: Excel Graph | Excel VBA | GraphControl
  • Tag: GraphControl
CombSort11 Function & Procedure for VBA (コムソートで配列を並び替える) - Posted date: 2008年5月10日 07:44
  • 今回のソート・アルゴリズムはCombSort と呼ばれるものです。これも、N * Log N の計算量です。エクセルVBAで、1,000,000 の数値の配列を20数秒で並び替えます。ヒープソート(Heapsort)も、アルゴリズムの理論値が同じですから、ほぼ同じような結果になります。N²のアルゴリズムのソート方法では、10,000の並び替えに同じくらいの時間がかかりました。その方法...
  • Posted by: WebMaster
  • Category: Algorithm | Excel VBA
  • Tag: Algorithm
Food Shortage - Posted date: 2008年5月10日 07:13
  • A hungry carnivore is dangerous. And hungry human beings may be more dangerous. ...
  • Posted by: WebMaster
  • Category: Soliloquy
WHY VBA? - Posted date: 2008年5月 9日 20:54
  • Why Excel VBA? The answer is simple. It's the easiest way to create an original system logic with VBA. That's why I chose. I do not want to be brandished to every day's data manipulation that will n...
  • Posted by: WebMaster
  • Category: Soliloquy
HeapSort Function & Procedure For VBA(ヒープソートアルゴリズム) - Posted date: 2008年5月 9日 08:07
  • ヒープソート(Heap Sort)のVBAコードを紹介します。クイックソート(Quick Sort) をVBAで使うとエラーが発生するので、長い配列の並び替えをする場合にこのコードがあるととても重宝すると思います。N² の原始的なソート方法とは比較にならないほど早いです。 Quick Sort Algorithm (クイックソート) ソートのアルゴリズムについて: ソートのアルゴリズム...
  • Posted by: WebMaster
  • Category: Algorithm | Excel VBA
  • Tag: Algorithm
QuickSort Function & Procedure For VBA(クイックソートアルゴリズム) - Posted date: 2008年5月 8日 16:23
  • 先日書いたクイックソートの記事で少し勘違いしてた部分がありましたので書き換えました。今回は、Procedure と Function の両方のコードを紹介します。ExcelVBAのレベルでは、今のところこういったソートを個人レベルで利用することはあまり必要ではありませんが、多くの人が使うアドインなどに組み込む場合は必要です。クイックソートの他にヒープソート(Heap Sort)と呼ばれる(これ...
  • Posted by: WebMaster
  • Category: Algorithm | Excel VBA
  • Tag: Algorithm
食糧危機 (Food shortage) - Posted date: 2008年5月 5日 08:01
  • 贅沢な食べ物は金で買えるが、命を支える食べ物は金では買えない。贅沢な食事はあまりありがたいと思えないが、命を支える食べ物ほどありがたいものはこの世にない。 早くそれに気づかないと大変なことになる。 Although money can buy extravagant food, money cannot buy the food supporting a life. Because nothi...
  • Posted by: WebMaster
  • Category: Soliloquy
Function & Procedure ファンクションとプロシージャの違い - Posted date: 2008年5月 2日 20:01
  • 何か、FunctionプロシージャとかSubプロシージャとか書かれてるけど、誰が最初に言い出したのか、ちょっとプロシージャの意味を勘違いしてるみたい。VBの"Sub"は、"SubProgram" ("main" はメインプログラム(Main Program))の意味で、それは"PROCEDURE" の役割りを持っていて "FUNCTION" とは、明確な違いがある。Function は Pro...
  • Posted by: WebMaster
  • Category: Soliloquy
Excel で生まれてからの日数&干支を求めるマクロ( - Posted date: 2008年4月29日 13:23
  • 生まれてからの、日数と週数、そして干支を求めるマクロです。 This sample code find out number of days&week from your birth. ...
  • Posted by: WebMaster
  • Category: Excel VBA | Useful Technic
  • Tag: Excel VBA
エクセル データ変換関数(Excel Function to convert data) - Posted date: 2008年4月29日 07:09
  • 20年前(1980年代)の初期のPascal言語では、今のようなStringやVariantなどの変数がなかったので、文字列を読み込む際は、1文字ずつループで読み込みをしていました。変数CharでスペースやIntegerを読み込もうとするとエラーとなり、条件を指定してから読み込むコードを書いていました。Turbo Pascalがパソコン用のソフトで出てきたころからStringが認識できるようにな...
  • Posted by: WebMaster
  • Category: Excel VBA | Function
  • Tag: Excel Function
Excel Spinbutton のイベントの活用(Spinbutton SpinDown SpinUp event) - Posted date: 2008年4月28日 06:20
  • 前の記事で、スピンボタンを使ってスクロールする方法の記事を書きましたが、スピンボタンのイベントでSpinbutton_Change() 以外のイベント(SpinDown & SpinUp イベント)を使用する方法を紹介します。プロシージャは2つに増えてコマンドボタンを使うのと同じような感じになります。 Spinbutton_Change() で操作する方法 using SpinDown eve...
  • Posted by: WebMaster
  • Category: Excel VBA | Useful Technic
  • Tag: Excel VBA
Excel ブックをウィンドウアレンジで表示方法を変える(XlArrangeStyle) - Posted date: 2008年4月27日 07:44
  • エクセルの複数開いているブックの表示をアレンジして変えるコードです。 How to arrange windows of Excel books. スタイルStyleClass menber カスケードスタイルStyleCascadexlArrangeStyleCascade タイリングスタイルStyleTiledxlArrangeStyleTiled 横並びスタイルStyleHorizo...
  • Posted by: WebMaster
  • Category: Excel VBA | Useful Technic
  • Tag: Excel VBA
Excel グラフの名前を番号にするマクロ(Rearranging Name of Excel Charts as specified) - Posted date: 2008年4月26日 10:43
  • 前回にシートの並び替えに引き続き、今回はグラフに番号の名前をつけるマクロを紹介します How to change name of chart to specific number. ...
  • Posted by: WebMaster
  • Category: Excel VBA | Useful Technic
  • Tag: Excel VBA
Excel シートを順番に並び替えるマクロ(Rearranging Excel Sheets in order) - Posted date: 2008年4月26日 08:17
  • エクセルシートを指定した順番に並びかえるマクロを紹介します。 Rearranging Excel sheets to prevent error. ...
  • Posted by: WebMaster
  • Category: Excel VBA | Useful Technic
  • Tag: Excel VBA
Excel グラフの目盛り線を消す(Delete Gridlines of chart. xlValue xlCategory) - Posted date: 2008年4月26日 07:58
  • エクセルグラフの目盛り線を消すマクロです。 delete gridlines of xlValue & xlCategory of Excel chart. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフの高さ&幅をスピンボタンで設定(Change Height & Width of Excel Chart by Spinbutton) - Posted date: 2008年4月25日 07:40
  • スピンボタンを使って、グラフの高さ(幅)などを設定する簡単なアルゴリズムを紹介します。 Easy algorithm to change Excel Chart Setting by spinbutton. 下記のページは、Spindown & SpinUp イベントを使用した例です。プロシージャが2つになりますので、コマンドボタンを使った時とほぼ同じようになります。 Spinbutton_...
  • Posted by: WebMaster
  • Category: Excel VBA | Useful Technic
  • Tag: GraphControl
Excel グラフの高さ&幅設定(ChartObjects .Height & Width) - Posted date: 2008年4月25日 07:03
Excel グラフのパターン色 (.Fill.Patterned Pattern) - Posted date: 2008年4月24日 08:16
  • エクセルグラフをパターン色にする。 名前Name.Fill.Patterned Pattern:= 5%5PercentmsoPattern5Percent 10%10PercentmsoPattern10Percent 20%20PercentmsoPattern20Percent 25%25PercentmsoPattern25Percent 30%30PercentmsoPattern...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフのマーカーの種類(MarkerStyle) - Posted date: 2008年4月24日 07:40
  • MarkerStyle (マーカーの種類) エクセル既定のマーカーの種類です(9種類)。系列1を選択する場合は、ActiveChart.SeriesCollection(1).Select となります。サイズは2~72までです。 Sample Code ActiveChart.SeriesCollection(Number of Chart).Select マーカーExcel FixedCode...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフの目盛り線を設定(MajorGridlines Border LineStyle Axes(xlCategory) ) - Posted date: 2008年4月24日 06:30
  • エクセルの目盛り線を設定するマクロを紹介します。 Source code below is to set up gridlines of Excel chart. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel 3Dグラフの回転設定(3D Chart Rotaion) - Posted date: 2008年4月23日 07:56
  • エクセル3Dグラフの回転の値を設定する。 setting up ActiveChart.Rotation of Excel chart. 訂正のお知らせ:3Dグラフの回転を設定するコードに誤りがありました。 Rotation = ActiveChart.Rotationの部分が Rotation = ActiveChart.Elevationとなっていました。訂正と改善した部分がありま...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
ルーレットシステムシミュレーション Roulette System Simulation - Posted date: 2008年4月22日 09:55
  • このプログラムは、株などのシステムトレードのように、ルーレットシステムが成立するかどうかを簡単に検証するものです。答えは、このページで説明しているようにほぼ100%不可能です。 画像は、仮想ルーレットデータを10,000回の乱数を発生させて以下を検証したものです。   ルーレットがRed,Red, Evenと続いたとき、Redに5%   ルーレットがRed,Red, Even, Even, Bl...
  • Posted by: WebMaster
  • Category: Excel VBA | Roulette
  • Tag: Roulette
Excel グラフをテキスチャに設定する Texture of ground colors(PresetTextured) - Posted date: 2008年4月22日 08:21
  • エクセルグラフを既定のテキスチャに設定するマクロです。 Set up Excel chart by texture of ground colors which is fixed in Excel. テキスチャの名前Name of TexturePresetTexturedNumber 紙PapyrusmsoTexturePapyrus1 キャンバスCanvasmsoTextureCanvas2...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフを透明にする Transparent (.Interior.ColorIndex) - Posted date: 2008年4月22日 07:40
  • グラフを透明にするマクロを紹介します。 Setting up Excel chart transparently. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフ 既定のグラデーション (.PresetGradient Style, Type, Variant) - Posted date: 2008年4月21日 06:48
  • エクセルグラフのプロットエリア、チャートエリア、壁面、床面を既定のグラデーションに設定するマクロを紹介します。以下は、エクセル既定のグラデーションの種類とタイプです。 The following table indicates the est. color in Excel. グラデーションの種類Name of GradationGradientType 夕焼けEarlySunsetmsoG...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフを単一色に変える(.PlotArea .ChartArea .Walls .Floor) - Posted date: 2008年4月20日 06:47
  • エクセルチャートの色を単一色に変えるソースコードです。 At this article, introducing some source codes to change graph into a single color. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフを動かす move chart on Excel sheet (.top) - Posted date: 2008年4月19日 07:08
  • エクセルのシート上のグラフをユーザーフォームなどで動かすためのコードを紹介します。 At this article, introducing source codes to move charts on Excel sheet by commandbutton. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel 株価チャートの陽線&陰線の色を変える(UpBars & DownBars of stock chart) - Posted date: 2008年4月18日 08:32
  • 株価チャートの陽線と陰線(ローソク足)の色を設定するサンプルコードを紹介します。 I have added to an option to GraphControl that is for stock chart. It's able to change color of candle bars that is shown in stock chart. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフの系列を設定する(Interior, LineStyle, border color) - Posted date: 2008年4月17日 16:53
  • エクセルグラフの系列のインテリア、ボーダー、線の色、マーカータイプと大きさなどを設定するソースコードを紹介します。 At this time, introducing some codes to set up seriesCollection. it will be the LineStyle, Maker style, color etc. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
System of entire world. - Posted date: 2008年4月17日 11:46
  • No matter how clever you are, it is only shallow cunning like a wisdom of apes under the System of Entire World. You cannot change the external matter unless changing yourself. ...
  • Posted by: WebMaster
  • Category: Soliloquy
Excel 3Dグラフの奥行設定(3D Chart Perspective) - Posted date: 2008年4月17日 08:49
  • エクセル3Dグラフの奥行きを設定するマクロを紹介します。 Excel VBA source code which set the value perspective of 3D Chart. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
UserFormからシートをスクロール(Scrolling spread sheet from userform) - Posted date: 2008年4月17日 07:16
  • UserForm からエクセルシートをスクロールさせるマクロです。 Scrolling Excel's spead sheet using spinbtton. SpinUp & SpinDown event(別のイベントを使った例) ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel 3Dグラフの高さ設定(3D Chart Height percentage) - Posted date: 2008年4月15日 08:29
  • エクセル3DグラフのX軸高さの比率を設定するマクロを紹介します。 introducing the excel's source code of setting the 3D chart (.HeightPercent). ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel 3Dグラフの仰角設定(3D Chart Elevation) - Posted date: 2008年4月15日 07:06
Excel グラフに影を付けるマクロ(.Shadow) - Posted date: 2008年4月14日 17:14
  • エクセルのグラフに影をつけるソースコードを紹介します。 This source code is to create shadow background of the selected chart. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
マウスホイールで複数のレイヤーを切り替えるスクリプト(MouseWheelPages) - Posted date: 2008年4月14日 13:50
  • マウスホイールでWEBページ内に設置した複数のレイヤーをパネルのように切り替えるスクリプトを紹介します。 切り替えるレイヤーパネルがひとつだけだったら割と簡単だったのですが、複数のパネルを切り替えるとなると、2つのイベントリスナーを同時にセッティングしなければいけないので、ちょっと複雑なスクリプトになります。最初は個人レベルでの開発は無理じゃないかと思っていましたが、なんとか作ることが出来まし...
  • Posted by: WebMaster
  • Category: Javascript AJAX CSS
  • Tag: MouseWheelPage, PowerPage.js
Excel グラフのコーナーを丸くするマクロ(.RoundedCorners) - Posted date: 2008年4月14日 08:53
  • エクセルグラフのコーナーを丸くしたり、角にしたりするソースコードです。 Round or square corners of excel charts. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
著作権について about copy right - Posted date: 2008年4月14日 06:21
  • 至るところで「著作権は放棄します」とか「放棄していません」とか書いてありますが(要するに「発生する利益に関して権利を行使する、しない」と言うことでしょうが)、不思議な感じがします。 著作権は自然発生するもので、特許(工業的所有権)などと違って国などの機関に申請して権利化する手続きを行うことなく著作した時点で(国の法律や国際的な条約に基づいて)権利は生じます。 例えば、ウィルスに感染させるプログラ...
  • Posted by: WebMaster
  • Category: Soliloquy
  • Tag: 著作権
Excel グラフを反転させるマクロ(ソースコード)Axes(xlCategory) - Posted date: 2008年4月13日 14:51
  • 前回は、数値軸(Y軸)の反転させるコードを紹介しました。今回は、項目軸(X軸)の反転をするコードです。 At this time, introducing a code to reverse xlCategory of selected chartobject. ...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: GraphControl
Excel グラフを反転させるマクロ(ソースコード)Axes(xlValue) - Posted date: 2008年4月13日 13:40
  • エクセルグラフのX軸、Y軸(第1軸、第2軸)を反転するエクセルマクロのソースコードを紹介します。 実行されると、チャートの数値軸(Y軸)を反転します。もし上下反転していれば、元に戻ります。 The code reverses selected graph upside down. Procedure carry out both Axes(xlValue, xlPrimary) and Ax...
  • Posted by: WebMaster
  • Category: Excel VBA | GraphControl
  • Tag: Excel VBA
Excel GraphControl (エクセル・グラフコントロール)の使い方(6) - Posted date: 2008年4月12日 20:28
  • プロットエリアの移動調整・設定方法&コーナーを丸くする方法&影を付ける方法 ここでは、チャートエリアの中のプロットエリアを移動させたり、大きさを調整したりします。また、コーナーを丸くしたり、角をつけたり、グラフに影を付けたりする設定方法を説明します。 続き・・・↓ ...
  • Posted by: WebMaster
  • Category: Excel Graph
  • Tag: GraphControl
Excel GraphControl (エクセル・グラフコントロール)の使い方(5) - Posted date: 2008年4月12日 20:07
  • GraphControl で3Dグラフ設定 エクセルシート上の3Dグラフの、仰角、回転、奥行、高さ(%)の設定の仕方を紹介します。 続き・・・↓ ...
  • Posted by: WebMaster
  • Category: Excel Graph
  • Tag: GraphControl
Excel GraphControl (エクセル・グラフコントロール)の使い方(4) - Posted date: 2008年4月12日 19:37
  • 目盛線のサイズ、間隔、フォント、色の設定 目盛り線を設定方法を紹介します。 続き・・・↓ ...
  • Posted by: WebMaster
  • Category: Excel Graph
  • Tag: GraphControl
GraphControl (UserForm)のインポートの仕方 - Posted date: 2008年4月12日 13:26
  • UserFormのインポートの仕方を紹介します。 ダウンロードしたZipファイルを解凍(右クリック→すべて展開)します。解凍ソフト(フリーウェア)がインストールされてない場合はインストールしておきます。 続き・・・↓ ...
  • Posted by: WebMaster
  • Category: Excel Graph
  • Tag: GraphControl
Excel GraphControl (エクセル・グラフコントロール)の使い方(3) - Posted date: 2008年4月12日 12:43
  • チャートエリア(Chartarea)、プロットエリア(plotarea)、壁色(Walls)、床色(Floor)の色設定 ここではグラフの色を設定します。外側の色はチャートエリア(chartarea)、内側の色はプロットエリア(plotarea)、そして3Dの壁色(Walls)と床色(Floor)を設定します。 続き・・・↓ ...
  • Posted by: WebMaster
  • Category: Excel Graph
  • Tag: GraphControl
Excel GraphControl Color-Indexで色を探す - Posted date: 2008年4月12日 11:30
  • GraphControl 画面の Color-Indexで色を探す 続きは、"CONTINUE READING" をクリックして下さい。 ...
  • Posted by: WebMaster
  • Category: Excel Graph
  • Tag: GraphControl
Excel GraphControl (エクセル・グラフコントロール)の使い方(2) - Posted date: 2008年4月12日 10:28
  • ExcelChartの系列の線及びマーカーの設定、3Dグラフのインテリアの色、ボーダー設定など エクセルチャートに表示されている系列の色、ボーダーなどの設定 ダウンロードはこちらのページからお願いします。 ...
  • Posted by: WebMaster
  • Category: Excel Graph
  • Tag: GraphControl
Excel GraphControl の使い方(1) - Posted date: 2008年4月12日 09:12
  • Excel GraphControl (エクセル・グラフコントロール)の使い方(1) フリーウェアです。 Download Excel_GraphControl.zip ファイルの中身(ダウンロード後は解凍してお使い下さい) GraphControl.xls(エクセルファイル) GraphControl.frm(インポート用ユーザーフォームモジュール) GraphControl.frx(UserF...
  • Posted by: WebMaster
  • Category: Excel Graph
  • Tag: GraphControl
Google Map Drag Zoom 機能(GMapDragZoom) - Posted date: 2008年4月 2日 08:45
  • Google Map ドラッグズーム機能 Drag Zoom Control ドラッグズームコントロールを使用したサンプルコードです。前回と同じくイベントリスナーで、マウスが離れるとコントロールが表示されなくなります。 This sample code used Drag Zoom control with some options, added eventlisteners "onmouseov...
  • Posted by: WebMaster
  • Category: Google Map
  • Tag: google map
マウスオーバーでスクロール Scroll page onmouseover - Posted date: 2008年4月 1日 07:34
  • マウスオーバー&マウスアウトイベントでページをスクロール Scrolling page onmouseover & onmouseout events 上から上下スクロール、左右スクロール、左上(右下)スクロール、右上(左下)スクロールです。 ソースコード(Source Code)↓ ...
  • Posted by: WebMaster
  • Category: Javascript AJAX CSS
  • Tag: Javascript, scroll page
Google AJAX Search API - Posted date: 2008年3月31日 13:37
  • Google AJAX Search API グーグルサーチでAPIを利用して検索する function OnLoad() { var searchControl = new GSearchControl(); options = new GsearcherOptions(); options.setExpandMode(GSearchControl.EXPAND_MODE_OPEN); sear...
  • Posted by: WebMaster
  • Category: Google Search
  • Tag: Google Search
Google Map (wheel zoom with eventlistener) - Posted date: 2008年3月30日 09:25
  • Google Map source code sample ソースコードサンプル イベントリスナーでマウスホイール機能を使用 マウスホイールでズームをしたいときは、↓を付け加えます map.enableScrollWheelZoom(); このマップはチェックボックスにチェックを入れた場合のみズームできるようにしています。 このGoogle Mapはイベントリスナー(GEvent.addListe...
  • Posted by: WebMaster
  • Category: Google Map
  • Tag: google map, wheel zoom
Google Map & ローカル検索 - Posted date: 2008年3月29日 23:40
  • 簡単なGoogle Map & ローカルサーチのソースコードです。 ローカル検索のスクリプトとスタイルはグーグルからインポートします。 下の場合は直接リンクで使っています。 <script src="http://www.google.co.jp/uds/api?hl=ja&file=uds.js&v=1.0" type="text/javascript"> <...
  • Posted by: WebMaster
  • Category: Google Map
  • Tag: google map
Movable Type 4 へようこそ! - Posted date: 2008年3月29日 08:48
  • このブログ記事は、Movable Type 4のインストール完了時に、システムによって自動的に作成されたブログ記事です。 新しくなったMT4の管理画面で、早速ブログを更新してみましょう。 ...
  • Posted by: WebMaster

Home > Archives

Return to page top