Skip to content

Instantly share code, notes, and snippets.

View souri-t's full-sized avatar

HIYOSHI YOSUKE(Andy) souri-t

View GitHub Profile

BlazorアプリでWindows認証を実装するには、以下の手順に従ってください。

ASP.NET CoreのWindows認証を有効にする まず、ASP.NET CoreアプリケーションでWindows認証を有効にする必要があります。これは、アプリケーションのStartup.csファイルのConfigureServicesメソッドで行うことができます。次のように、AddAuthenticationメソッドを呼び出して、Windows認証を有効にします。

scss Copy code services.AddAuthentication(IISDefaults.AuthenticationScheme); Blazorアプリで認証を使用する 次に、Blazorアプリで認証を使用できるようにします。これには、BlazorアプリのApp.razorファイルで、AuthorizeViewコンポーネントを使用することが含まれます。AuthorizeViewコンポーネントは、ユーザーが認証されている場合にコンポーネントを表示し、認証されていない場合に非表示にします。

@page "/"
<table class="table" ref="tableRef">
<thead>
<tr>
<th style="position:relative;" @onmousedown="@MouseDownHandler" @onmousemove="@MouseMoveHandler" @onmouseup="@MouseUpHandler">列1</th>
<th style="position:relative;" @onmousedown="@MouseDownHandler" @onmousemove="@MouseMoveHandler" @onmouseup="@MouseUpHandler">列2</th>
<th style="position:relative;" @onmousedown="@MouseDownHandler" @onmousemove="@MouseMoveHandler" @onmouseup="@MouseUpHandler">列3</th>
<th style="position:relative;" @onmousedown="@MouseDownHandler" @onmousemove="@MouseMoveHandler" @onmouseup="@MouseUpHandler">列4</th>
</tr>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>可変サイズのテーブル</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
th.resize {
position: relative;
cursor: ew-resize;
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">

概要

あいち旅eマネー地域ポイント店として指定されている名駅〜栄周辺の飲食店と小売店のリスト。

以下からスクレイピング。

加盟施設一覧

Google Mapにマッピングしたレイヤは以下。

$(".element").animate({width: 'toggle'}, 400);
$(".element").hide('slow');
$(".element").show('slow');
FROM armhf/alpine:latest
MAINTAINER souri-t <[email protected]>
# Install Python
RUN apk --update --no-cache add git python3 python3-dev musl-dev
RUN pip3 install --upgrade pip
RUN pip3 install awscli
@souri-t
souri-t / Hieroglyph-Unicode.md
Last active August 5, 2024 07:20
ヒエログリフ変換表

ヒエログリフ変換表

ヒエログリフとは

ヒエログリフとは、紀元前3000年頃から紀元400年頃まで古代エジプトで使用された象形文字の一つ。現代でも使用されるアルファベットの原型。19世紀にフランスのシャンポリオンによって解読された。

この表について

ヒエログリフと現代文字の変換表を元に、Unicodeで記述した表です。
Unicode 5.2.0 (U+13000 - U+1342F Egyptian Hieroglyphs)に基づいています。

Unicode Egyptian Hieroglyphs