#intro
4 descobertas · Descobertas escolhidas da web aberta, das mais recentes às mais antigas.
-
Shell Redirection Order
A Brief Intro When i take a look at bash’s documentation about shell redirection , i found out that this two examples are different. This one: ls > dirlist 2>&1 and this one: ls 2>&1 > dirlist So let’s try understanding why it is different. What 2>&1 means? From this hacker news comment , it looks like the expression 2>&1 is like calling system call dup2(2, 1). If we take a look at the man page (man dup2), here is one of the description:
/dev/null · EN
-
Alternative to strcpy() and strncpy() in C
Brief Intro I have seen some people said that strcpy() can be dangerous to use. At that time, I am not sure why strcpy() can be dangerous, but now I have found a simple replication of why strcpy() can be dangerous. This is also the case with strncpy(), which does not guarantee a null terminated string. At the time of writing this blog post, I am still getting started learning C programming language.
/dev/null · EN
-
Intro to Amazon SQS
SQS is AWS's managed message queue service. Messages go in, consumers pull them out, and the queue handles everything in between. Here's what it is, when to use it, and how to implement the common patterns.
Andrew Gilliland · EN
-
Intro to Amazon ECS
ECS runs containerized applications without making you build a container orchestration platform yourself. Here is where it fits, why to use it, and how to deploy a service with Fargate and CDK.
Andrew Gilliland · EN