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
| <?xml version="1.0" encoding="ISO-8859-1" ?> | |
| <!-- $Id: struts-config.xml,v 1.1.1.1 2003/08/12 14:45:44 matsu Exp $ --> | |
| <!DOCTYPE struts-config PUBLIC | |
| "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" | |
| "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"> | |
| <!-- |
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
| # -*- coding: utf-8 -*- | |
| #!/usr/bin/env python | |
| # | |
| # Copyright 2007 Google Inc. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 |
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
| public class JavaTest | |
| { | |
| public static void main(String[] args) throws Exception | |
| { | |
| String str = "123456789"; | |
| // 数字をどこで区切るかのパターン総当たり | |
| int separatePatterns = (int)Math.pow(2, (str.length() - 1)); | |
| for(int i=0; i<separatePatterns; i++) | |
| { |
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
| @echo off | |
| set SERVICE_NAME=Themes | |
| REM -------------------------------------------------- | |
| REM サービスが既に起動しているかどうかチェック | |
| REM -------------------------------------------------- | |
| net start | findstr %SERVICE_NAME% | |
| if %ERRORLEVEL% == 0 goto error10 |
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
| ' 参考サイト: http://msdn.microsoft.com/ja-jp/library/system.security.cryptography.tripledes(v=VS.71).aspx | |
| Imports System | |
| Imports System.IO | |
| Imports System.Security.Cryptography | |
| Imports System.Text | |
| Class VBNETTest | |
| Public Shared Sub Main() | |
| Dim keyBytesBase64 = System.Convert.FromBase64String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx") |
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
| Imports System | |
| Class VBNETTest | |
| Public Shared Sub Main() | |
| Console.WriteLine(DateTime.Now) | |
| Dim excelObj | |
| Dim numrows As Integer = 10000 | |
| Dim numcols As Integer = 100 | |
| Dim arr1 As Object |
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 jxl.*; | |
| import jxl.write.*; | |
| public class test | |
| { | |
| public static void main(String[] args) throws Exception | |
| { | |
| System.out.println(new java.util.Date()); | |
| WritableWorkbook workbook = Workbook.createWorkbook(new File("filename.xls")); |
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
| stDate = now() | |
| numcols = 100 | |
| numrows = 10000 | |
| Dim arr1 | |
| ReDim arr1(numrows - 1, numcols - 1) | |
| For i = 0 To numrows - 1 | |
| For j = 0 To numcols - 1 | |
| arr1(i, j) = i * j |
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 org.apache.poi.hssf.usermodel.*; | |
| public class test | |
| { | |
| public static void main(String[] args) throws Exception | |
| { | |
| System.out.println(new java.util.Date()); | |
| HSSFWorkbook wb = new HSSFWorkbook(); | |
| HSSFSheet sheet = wb.createSheet("sheet1"); |
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
| ' バルクセット | |
| Sub hoge() | |
| numcols = 100 | |
| numrows = 1000 | |
| Dim arr1 | |
| ReDim arr1(numrows - 1, numcols - 1) | |
| For i = 0 To numrows - 1 | |
| For j = 0 To numcols - 1 | |
| arr1(i, j) = i * j |