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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<configSections> | |
<section name="httpAuthModule" type="System.Configuration.NameValueFileSectionHandler" /> | |
</configSections> | |
<httpAuthModule> | |
<!-- If HttpAuthModule has problems, please contact me, https://github.com/nabehiro/HttpAuthModule --> | |
<!-- | |
[required] Http Authentication Mode. | |
- Basic: Basic authentication |
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
#!/bin/sh | |
for i in $(az group list | jq -r '.[].name'); | |
do | |
echo resource group $i include resouces below | |
az resource list -g $i | jq | |
echo will delete $i | |
az group delete --name $i --no-wait | |
done |
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
const CDP = require('chrome-remote-interface'); | |
const fs = require('fs'); | |
const { ChromeLauncher } = require('lighthouse/lighthouse-cli/chrome-launcher'); | |
/** | |
* Launches a debugging instance of Chrome on port 9222. | |
* @param {boolean=} headless True (default) to launch Chrome in headless mode. | |
* Set to false to launch Chrome normally. | |
* @return {Promise<ChromeLauncher>} | |
*/ |
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
# coding: UTF-8 | |
require "csv" | |
options = {:headers => true, | |
:return_headers => true, :write_headers => true} | |
delete_columns = %w{Path FileName} | |
CSV.filter(options) do |row| | |
if row.header_row? |
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 Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzzTest | |
{ | |
[TestClass] | |
public class FizzBuzzTest | |
{ | |
public TestContext TestContext { get; set; } |
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.Globalization; | |
namespace FizzBuzz | |
{ | |
public class FizzBuzz | |
{ | |
private readonly int _inputNumber; | |
/// <summary> | |
/// コンストラクタ |
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.Diagnostics; | |
using System.Globalization; | |
using TechTalk.SpecFlow; | |
using TechTalk.SpecFlow.Assist; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzz.Specs | |
{ | |
public class Decision | |
{ |
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
# language: ja | |
フィーチャ: 入力値によってFizzBuzzの文字列を返すことが出来る | |
(省略) | |
シナリオ: デシジョンテーブルの入力値によってFizzBuzzの文字列を返す | |
前提 以下のデシジョンテーブルによって入力値と動作を定義する | |
| 入力値 | 三の倍数 | 五の倍数 | 結果 | | |
| 3 | true | false | Fizz | | |
| 5 | false | true | Buzz | | |
| 15 | true | true | FizzBuzz | |
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
/// <summary> | |
/// ジュースの在庫情報 | |
/// </summary> | |
public class StockOfJuiceInfo | |
{ | |
/// <summary> | |
/// 値段 | |
/// </summary> | |
public int Price { get; set; } |
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.Linq; | |
using System.Text; | |
namespace VenderMachine.Controllers | |
{ | |
/// <summary> | |
/// 自動販売機クラス | |
/// </summary> |
NewerOlder