Skip to content

Instantly share code, notes, and snippets.

View nabinno's full-sized avatar
🤞
Draw and draw and draw

nabinno

🤞
Draw and draw and draw
View GitHub Profile
@nabinno
nabinno / test.hs
Last active October 2, 2020 09:10
はじめてPreludeでHaskellを試してみる
{-
$ 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 September 29, 2020 21:19
AWS Lambdaの裏側をなるだけ詳しく解説してみる - https://www.keisuke69.net/entry/2020/09/29/131203
@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
@nabinno
nabinno / 2_APIを介してバッチ処理で学習した予測結果を取得する.svg
Last active September 22, 2020 00:29
『仕事ではじめる機械学習』より
Loading
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 September 21, 2020 15:54
「Reactのコンポーネント周りの用語を整理する」をシークエンス図で整理する - https://blog.ojisan.io/react-component-words
Loading
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 April 19, 2020 08:55
Windows 10でNerves利用がどこまで可能か
title url date
Windows 10でNerves利用がどこまで可能か
Jul 22, 2019

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

On Windows, use the Serial option to connect to COM.
@nabinno
nabinno / aws-ec2-describe-instances.sh
Last active February 13, 2020 12:16
aws ec2 describe-instances
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
)' \

skinparam monochrome true
skinparam backgroundColor #EEEEEE

actor User as U

control CloudFront as F
actor EC2 as E

skinparam monochrome true
skinparam backgroundColor #EEEEEE

actor User as U

actor API as A

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 November 14, 2019 05:38
Web search active cell for EXCEL
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