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
#!/usr/bin/perl | |
use strict; # 厳密な文法チェック. | |
use CGI; # CGI | |
# CGIオブジェクトの作成. | |
my $q = CGI->new; # CGI::newでCGIオブジェクトを生成し, $qに格納. | |
# HTTPヘッダの出力. | |
print $q->header; |
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
#!/usr/bin/perl | |
use strict; # 厳密な文法チェック. | |
use CGI; # CGI | |
# CGIオブジェクトの作成. | |
my $q = CGI->new; # CGI::newでCGIオブジェクトを生成し, $qに格納. | |
# HTTPヘッダの出力. | |
print $q->header; |
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
#!/usr/bin/perl | |
use strict; # 厳密な文法チェック. | |
use CGI; # CGI | |
# CGIオブジェクトの作成. | |
my $q = CGI->new; # CGI::newでCGIオブジェクトを生成し, $qに格納. | |
# HTTPヘッダの出力. | |
print $q->header; |
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
#!/usr/bin/perl | |
# RC4を使う. | |
use Crypt::RC4; | |
# キーとデータ. | |
$key = "secretkey"; | |
$data = "ABCDEFGHIJ"; | |
# 暗号化 |
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
#!/usr/bin/perl | |
use strict; # 厳密な文法チェック. | |
use CGI; # CGI | |
use CGI::Carp; # CGI::Carp | |
# CGIオブジェクトの作成. | |
my $q = CGI->new; # CGI::newでCGIオブジェクトを生成し, $qに格納. | |
# HTTPヘッダの出力. |
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
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" > | |
<head runat="server"> | |
<title>Index</title> | |
</head> | |
<body> | |
<div> |
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
using System; | |
public partial class Page1 : System.Web.UI.Page | |
{ | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
smd.SiteMapProvider = "TestProvider"; | |
} | |
public void button1_Click(object sender, EventArgs 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
<Window x:Class="ScrollViewer_.Window1" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
Title="Window1" Height="300" Width="300"> | |
<ScrollViewer> | |
<StackPanel> | |
<TextBlock Text="Item1" Height="50" HorizontalAlignment="Center" /> | |
<TextBlock Text="Item2" Height="50" HorizontalAlignment="Center" /> | |
<TextBlock Text="Item3" Height="50" HorizontalAlignment="Center" /> | |
<TextBlock Text="Item4" Height="50" HorizontalAlignment="Center" /> |
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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Text; | |
using System.Windows.Forms; | |
namespace TextBox_ | |
{ |
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
// ヘッダファイルのインクルード | |
#include <windows.h> // 標準WindowsAPI | |
#include <tchar.h> // TCHAR対応 | |
#include <stdio.h> // C標準入出力 | |
#include <mlang.h> // 多言語 | |
// _tmain関数の定義 | |
int _tmain(int argc, TCHAR *argv[]){ // main関数のTCHAR版. | |
// 変数の宣言と初期化. |
NewerOlder