Skip to content

Instantly share code, notes, and snippets.


daisuke nishino daisukenishino2

View GitHub Profile
daisukenishino2 / hogehoge.txt
Last active Feb 25, 2020
汎用認証サイトのAuthorization Code Flowをキャプチャする。
View hogehoge.txt
daisukenishino2 / common.js
Last active Mar 19, 2020
Open棟梁、モダンブラウザのダイアログ表示機能の「制限事項 1」の解除方法
View common.js
//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd.
// Apache License
// 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
daisukenishino2 / api_json_Delete Request
Last active Nov 27, 2019
View api_json_Delete Request
POST http://localhost:8888/api/json/Delete HTTP/1.1
Host: localhost:8888
Connection: keep-alive
Content-Length: 136
Accept: application/json
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Content-Type: application/json
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: cors
View DaoShippers_D1_Insert.xml
<?xml version="1.0" encoding="UTF-8" ?>
-- DaoShippers_D1_Insert
<INSCOL name="ShipperID">[ShipperID],</INSCOL>
<INSCOL name="CompanyName">[CompanyName],</INSCOL>
<INSCOL name="Phone">[Phone],</INSCOL>
daisukenishino2 / SigningTest.cs
Last active May 1, 2019
View SigningTest.cs
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Security.Cryptography.Xml;
using System.Xml;
namespace DualXmlDsigBug
public static class SigningTest
View Web.config
<?xml version="1.0" encoding="utf-8"?>
ASP.NET アプリケーションを構成する方法の詳細については、 を参照してください
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />
View Summary.txt
MultiPurposeAuthSite is implemented webauthn using fido2-net-lib.
And, summarized the feedback in this page.
daisukenishino2 / Excel to HTML or Markdown Table
Last active Mar 20, 2019
Excel to HTML or Markdown Table
View Excel to HTML or Markdown Table
Excelから、HTML や Markdown の Table を生成するソフトウェアを調査。
- Copy to Markdown AddIn
- リボンの君とHTML
View 1. Response from makeCredentialOptions WebAPI.json
"rp": {
"id": "localhost",
"name": "Fido2 test"
"user": {
"name": "",
"id": "YWFhQGV4YW1wbGUuY29t",
"displayName": "Display"
daisukenishino2 / mail.ps1
Last active Jan 16, 2019
ps aux | mail -s ... みたいなことをやるには...
View mail.ps1
$mail = @{
from = "";
to = "";
smtp_server = "";
smtp_port = 587;
user = "";
password = "xxxxxxxx";
$password = ConvertTo-SecureString $mail["password"] -AsPlainText -Force