Skip to content

Instantly share code, notes, and snippets.

👷
Do pointing and calling!

nabinno

👷
Do pointing and calling!
Block or report user

Report or block nabinno

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View uml_of_amazon_cloudfront.md

skinparam monochrome true
skinparam backgroundColor #EEEEEE

actor User as U

control CloudFront as F
actor EC2 as E
View uml_of_firehose.md

skinparam monochrome true
skinparam backgroundColor #EEEEEE

actor User as U

actor API as A
View uml_of_amazon_vpc_flow_logs.md

skinparam monochrome true
skinparam backgroundColor #EEEEEE

actor User as U

control VPC as V
participant CloudWatchLogs as CL
@nabinno
nabinno / web-search-active-cell.vb
Created Nov 14, 2019
Web search active cell for EXCEL
View web-search-active-cell.vb
Sub WebSearchActiveCell()
Dim cs As Range
Dim c As Range
Dim query As String
If ActiveWindow.RangeSelection.Count = 1 Then
Set cs = ActiveWindow.RangeSelection
Else
Set cs = ActiveWindow.RangeSelection.SpecialCells(xlCellTypeVisible)
End If
@nabinno
nabinno / generate-files.sh
Last active Nov 9, 2019
Generate markdown files from titles.
View generate-files.sh
#!/usr/bin/env bash
set -e
generateContent() {
local tags="$1"
local title="$2"
cat <<EOF
---
title: ${title}
@nabinno
nabinno / keybase.md
Last active Nov 9, 2019
Keybase proof
View keybase.md

Keybase proof

I hereby claim:

  • I am nabinno on github.
  • I am nabinno (https://keybase.io/nabinno) on keybase.
  • I have a public key whose fingerprint is 05E7 2B6A 3F0D 82B8 736A 2D80 77C1 2BBF B498 C909

To claim this, I am signing this object:

View aws-cdk-codepipeline-actions.uml
skinparam monochrome true
skinparam backgroundColor #EEEEEE
actor User as U
participant GitHub as G
box CodePipeline
actor CodePipeline as CP
actor CodeBuild as CB
View codedeploy-to-ec2.uml
skinparam monochrome true
skinparam backgroundColor #EEEEEE
actor User as U
participant GitHub as G
box CodePipeline
actor CodePipeline as CP
actor CodeBuild as CB
View dry-rbで型定義.md

背景

  • TyepScript読みやすいのでRubyにも型がほしい
  • というか、すでに型付けライブラリをつかっていた、virtus、dry-rb
  • virtusは枯れているが拡張性がなく、後継として推薦されているdry-rb(dry-validation)を試すことに

試した

結論: まあまあいいかも

  • Pros
    • Grapeのdeclaredみたいなサニタイズができる
View ツリー構造 モデルパターン検証.md

目的

ナイーブツリー (隣接リスト) になっているユーザモデルについて、ほかのモデルパターンで対応可能かドキュメント検証する。

対ツリー構造 モデルパターン

  • ※ 素朴な木、入れ子区間、肥沃な森林は情報過小 + 注目度低のためおいかけてません。
pattern description_pros description_cons
You can’t perform that action at this time.