This file contains hidden or 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
| Set regex = New RegExp | |
| regex.Pattern = "\[[^\[\]]*\]" | |
| regex.Global = True | |
| Set dict = CreateObject("Scripting.Dictionary") | |
| Set fs = CreateObject("Scripting.FileSystemObject") | |
| Set ts = fs.OpenTextFile(WScript.Arguments(0)) | |
| While ts.AtEndOfStream = False | |
| lineData = ts.ReadLine() |
This file contains hidden or 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
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
| <script type="text/javascript"> | |
| google.load("language", "1"); | |
| </script> | |
| <script type="text/javascript"> | |
| // ボタンのイベントハンドラ | |
| function btn1_Click() | |
| { |
This file contains hidden or 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
| import java.io.*; | |
| import java.util.*; | |
| public class test | |
| { | |
| public static void main(String[] args) throws Exception | |
| { | |
| Board.buildBoard(args[0]).printAnswer(); | |
| } |
This file contains hidden or 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 | |
| ' 8万円を、30年間、1年複利で、7%で運用 | |
| msgbox CalcReinvestment(80000, 12, 30, 0.07) | |
| ' 8万円を、30年間、半年複利で、7%で運用 | |
| msgbox CalcReinvestment(80000, 6, 30, 0.07) | |
| ' 8万円を、30年間、1ヶ月複利で、7%で運用 | |
| msgbox CalcReinvestment(80000, 1, 30, 0.07) |
This file contains hidden or 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
| <html> | |
| <head> | |
| <title>page-break-after test</title> | |
| <style type = "text/css"> | |
| .aaa | |
| { | |
| page-break-after: always; | |
| } | |
| </style> | |
| </head> |
This file contains hidden or 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
| using System; | |
| using System.Windows.Forms; | |
| public class Form1 : Form | |
| { | |
| public Form1() | |
| { | |
| this.AllowDrop = true; | |
| this.DragEnter += new System.Windows.Forms.DragEventHandler(this.form_DragEnter); | |
| this.DragDrop += new System.Windows.Forms.DragEventHandler(this.form_DragDrop); |
This file contains hidden or 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
| using System; | |
| using System.Drawing; | |
| public class CSharpTest | |
| { | |
| static void Main(string[] args) | |
| { | |
| Bitmap b = new Bitmap("a.jpg"); | |
| Bitmap newImage = new Bitmap(b.Width, b.Height * 2, Graphics.FromImage(b)); | |
| Graphics g = Graphics.FromImage(newImage); |
This file contains hidden or 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
| using System; | |
| using System.Windows.Forms; | |
| public class Form1 : Form | |
| { | |
| public Form1() | |
| { | |
| this.AllowDrop = true; | |
| this.DragEnter += new System.Windows.Forms.DragEventHandler(this.button1_DragEnter); | |
| this.DragDrop += new System.Windows.Forms.DragEventHandler(this.button1_DragDrop); |
This file contains hidden or 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 | |
| ' http://techbank.jp/Community/blogs/mymio/archive/2009/01/22/4480.aspxを改良(?) | |
| ' -------------------------------------------------------------------------------- | |
| ' 定数 | |
| ' -------------------------------------------------------------------------------- | |
| Dim vbext_ct_ClassModule, vbext_ct_Document, vbext_ct_MSForm, vbext_ct_StdModule | |
| vbext_ct_ClassModule = 2 | |
| vbext_ct_Document = 100 |
This file contains hidden or 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
| set YYYYMMDDHHMMSS=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2% | |
| java -Xmx512m -classpath .;metadata-extractor-2.3.1.jar JpegTransformer 2 50 1 %YYYYMMDDHHMMSS: =0%.jpg %1 %2 %3 %4 %5 %6 %7 %8 | |
| pause |