Skip to content

Instantly share code, notes, and snippets.

Avatar
👷‍♂️
Do pointing and calling!

nabinno

👷‍♂️
Do pointing and calling!
View GitHub Profile
@nabinno
nabinno / test.hs
Last active Oct 2, 2020
はじめてPreludeでHaskellを試してみる
View test.hs
{-
$ nix-env --install ghc
$ ghc --version
/nix/store/z4ajipns0l1s8b2lrgpy6nng4cys7h99-bash-4.4-p23/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
The Glorious Glasgow Haskell Compilation System, version 8.8.3
$ ghci
/nix/store/z4ajipns0l1s8b2lrgpy6nng4cys7h99-bash-4.4-p23/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/nix/store/z4ajipns0l1s8b2lrgpy6nng4cys7h99-bash-4.4-p23/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
@nabinno
nabinno / aws-lambda.uml
Created Sep 29, 2020
AWS Lambdaの裏側をなるだけ詳しく解説してみる - https://www.keisuke69.net/entry/2020/09/29/131203
View aws-lambda.uml
@startuml
skinparam monochrome true
skinparam backgroundColor #EEEEEE
control ALB as LB
actor "Front\nEnd" as FE
actor "Counting\nService" as CS
actor "Worker\nManager" as WM
actor Worker as W
actor "Placement\nService" as PS
View 2_APIを介してバッチ処理で学習した予測結果を取得する.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nabinno
nabinno / plantuml.svg
Last active Sep 21, 2020
「Reactのコンポーネント周りの用語を整理する」をシークエンス図で整理する - https://blog.ojisan.io/react-component-words
View plantuml.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nabinno
nabinno / how_much_nerves_can_be_used_in_windows_10.md
Last active Apr 19, 2020
Windows 10でNerves利用がどこまで可能か
View how_much_nerves_can_be_used_in_windows_10.md
title url date
Windows 10でNerves利用がどこまで可能か
Jul 22, 2019

昨日のリベンジとしてUBSシリアルコンソールするためFTDIの変換モジュール注文した。FAQにのってるのでこれが正解かな...

On Windows, use the Serial option to connect to COM<device>.
@nabinno
nabinno / aws-ec2-describe-instances.sh
Last active Feb 13, 2020
aws ec2 describe-instances
View aws-ec2-describe-instances.sh
aws ec2 describe-instances \
--filters "Name=instance-state-name,Values=running" \
--query '
sort_by(
Reservations[*].Instances[*].{Name:Tags[?Key==`Name`].[Value][0][0],
ID:InstanceId,
IP:PrivateIpAddress,
Type:InstanceType}[0],
&Name
)' \
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