Skip to content

Instantly share code, notes, and snippets.

@tsubakimoto
tsubakimoto / memo.md
Created November 14, 2023 14:15
Azure Cosmos DB design patterns memo
erDiagram

  Products ||--o{ Sizes: has
  Products ||--o{ Colors: has
  Products ||--o{ Brands: has
  Products ||--o{ Prices: has
  Products ||--o{ Descriptions: has
{
"custom-layouts": [
{
"uuid": "{9AF7B9D3-8501-4D0C-8917-9007E5A561B5}",
"name": "\u30AB\u30B9\u30BF\u30E0 \u30EC\u30A4\u30A2\u30A6\u30C8 1",
"type": "grid",
"info": {
"rows": 2,
"columns": 2,
"rows-percentage": [
{
"$schema": "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate": "2022-05-05T14:50:05.640-00:00",
"Sources": [
{
"Packages": [
{
"PackageIdentifier": "AgileBits.1Password"
},
{

Chocolatey Software | Chocolatey - The package manager for Windows

Full

cd ~
Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
wget https://gist.github.com/tsubakimoto/d336a2a2ffc871bbed1bb7830568d6b8/raw/37130de57d6bb260dea6d581bde884fd59a8f14d/package-full.config -OutFile package-full.config
choco install -y package-full.config
# 上位ディレクトリから .editorconfig 設定を継承する場合は、以下の行を削除します
root = true
# すべてのファイル
[*]
# インデントと間隔
indent_style = space
# 文字コード
@tsubakimoto
tsubakimoto / my-favorite-dotnet-github-repositories.md
Last active January 6, 2022 05:47
GitHubにある私が好きなdotnetリポジトリ

Clone snippet

git clone https://github.com/blowdart/AspNetAuthorizationWorkshop.git
git clone https://github.com/dotnet-presentations/aspnetcore-app-workshop.git
git clone https://github.com/dotnet-presentations/aspnetcore-concepts-workshop.git
git clone https://github.com/dotnet-presentations/aspnetcore-for-beginners.git
git clone https://github.com/dotnet-presentations/blazor-workshop.git
git clone https://github.com/ardalis/CleanArchitecture.git
git clone https://github.com/dotnet-presentations/dotnetconf.git
git clone https://github.com/campusMVP/dotnetCoreLogoPack.git
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: myaspnetcoreapp
spec:
replicas: 1
template:
metadata:
labels:
app: myaspnetcoreapp
using System;
namespace dotnet_ci_sample
{
public class MyClass
{
public static string Say(string name) => $"Hello {name}!!";
}
}
using dotnet_ci_sample;
using System;
using Xunit;
namespace test
{
public class UnitTest1
{
[Fact]
public void SayTest()