This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' クラスモジュール: Class1 | |
Option Explicit | |
Public Name As String | |
Private Sub Class_Terminate() | |
Debug.Print "Class_Terminate: " & Name | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' クラスモジュール: CWeakReference | |
Option Explicit | |
Private Declare Sub MoveMemory Lib "Kernel32" Alias "RtlMoveMemory" _ | |
(Destination As Any, Source As Any, ByVal Length As Long) | |
Private m_vptr As Long | |
Public Sub SetTarget(target As Object) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Sub test() | |
Const TOOL_NAME As String = "変更点チェックツール" | |
Const CONFIRM_MASSEGE As String = _ | |
"変更前と変更後のファイルを開いていたら閉じてください。" & vbLf & "中断しますか?" | |
Dim Result As VbMsgBoxResult | |
Dim TargetCellAddress As String | |
Dim BeforeBookPath As Variant | |
Dim AfterBookPath As Variant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
' README | |
' 条件付き書式で設定した色を取得する | |
' http://www.moug.net/faq/viewtopic.php?t=63769 | |
' | |
' これ用に書いてみた | |
' 必要なモジュール | |
' クリップボードを操作する方法 | YU-TANG's MS-Access Discovery |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Ajax Queue Plugin | |
* | |
* Homepage: http://jquery.com/plugins/project/ajaxqueue | |
* Documentation: http://docs.jquery.com/AjaxQueue | |
*/ | |
/** | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$values = array_filter((array)$values, create_function('$v', 'return is_int($v) || ctype_digit($v);')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{assign var=keys value=','|explode:'coffee,tea'} | |
{assign var=values value=','|explode:'コーヒー,紅茶'} | |
{assign var=drinks value=$keys|@array_combine:$values} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function CopyText(TextData) { | |
var form = new ActiveXObject('Forms.Form.1'); | |
var textbox = form.Controls.Add('Forms.TextBox.1').Object; | |
textbox.MultiLine = true; | |
textbox.Text = TextData; | |
textbox.SelStart = 0; | |
textbox.SelLength = textbox.TextLength; | |
textbox.Copy(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name DoNothing1 | |
// @namespace honda0510 | |
// @include http://www.moug.net/* | |
// @require https://gist.github.com/raw/2222729/IncludeMe.js | |
// ==/UserScript== | |
try { | |
GM_log(hoge); | |
} catch (e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name DoNothing | |
// @namespace honda0510 | |
// @include * | |
// ==/UserScript== | |
// エラーコンソール(Ctrl + Shift + j)にロギング | |
GM_log('DoNothing run at ' + location.href); |