2020-09-06から1日間の記事一覧

{Aurora}カスタムエンドポイントの使用

AWS

カスタムエンドポイントの作成 aws rds create-db-cluster-endpoint \--db-cluster-identifier mycluster01 \--db-cluster-endpoint-identifier myep01 \--endpoint-type ANY \--static-members mydb01 mydb02 \--tags Key=Name,Value=myep01 カスタムエンド…

AWS CLI(RDS)

AWS

サブネットグループの作成aws rds create-db-subnet-group \--db-subnet-group-name mysubnetgroup \--db-subnet-group-description mysubnetgroup \--subnet-ids '["subnet-12345678901234567","subnet-12345678901234567"]' サブネットグループの一覧aws r…

AWS CLI(Cost Explorer)

AWS

https://qiita.com/shinsaka/items/c368c403935549b4401bhttps://dev.classmethod.jp/articles/road-to-jq-master-apprentice/ ※1リクエスト当たり0.01ドル課金されるコスト合計aws ce get-cost-and-usage \--time-period Start=2020-08-01,End=2020-09-01 \…

アセンブラでHello World

OS

Ubuntu (20)http://hironemu.hatenablog.com/entry/20090210/1234279094 apt install nasmnasm --version vim hello.asm section .textglobal _start msg db 'Hello world!', 0x0Amsglen equ $ - msg _start: mov ecx, msg mov edx, msglen mov eax, 4 mov e…

CでHello World

OS

Ubuntu (20)http://yamada.daiji.ro/blog/?p=1044 apt install build-essential gcc --version vim hello.c #include <stdio.h> int main(void){ printf("Hello World!\n"); return 0;} gcc -o hello hello.c./hello --vim web.c #include <stdio.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h></sys/socket.h></sys/types.h></string.h></stdio.h></stdio.h>…

PHPでHello World

OS

Ubuntu (20) apt install php7.4-cliphp -v vim hello.php php hello.php --vim web.php php -S 192.168.137.167:8080 web.php Debian (10) apt install php7.3-cliphp -v vim hello.php php hello.php --vim web.php

ロック行のスキップ

DB

MySQL (8.0.21) drop table tab1;create table tab1(col1 int,col2 int,col3 varchar(10) ); create index ind11 on tab1(col1); insert into tab1 values(1,100,'off');insert into tab1 values(2,100,'off');insert into tab1 values(3,100,'off');select …