Install Snap on Centos7
问题
在Centos7系统上安装snap,遇到的问题记录
| |
Google一圈之后,解决方案如下:
在Centos7系统上安装snap,遇到的问题记录
| |
Google一圈之后,解决方案如下:
Hugo is a framework written with Golang for building website.
I told my wife I wrote something on my blog. After heard that, she said she wants to build a blog and start writing. So I spent a few hours on setting up a local hugo site and deployed it on Github pages.
Here are all the thing you need to do:
If everything goes well, you will see your blog online https://YourGithubUsername.github.io/
从拥有自己的第一台电脑至今,由于工作或其他原因,我已经换过好几台电脑。每一次拿到新电脑的第一件事,就是安装各种软件以及配置开发环境。手动下载,安装,这些工作其实完全可以自动化。 本篇文章持续记录自己工作和生活中用到的软件,最终目标,可以在新电脑上(Mac OS)能够一键安装所需的软件。
让我们来对服务器做一下压力测试吧!
本篇文章讲一下压力测试应该怎么做,压力测试过程中需要注意哪些指标,以及需要注意的事项。
首先,我们要清楚我们进行压测的目的是什么。是为了找出服务的性能瓶颈,还是为了检验当前服务能否扛住xxx量的并发?
俗话说,“不打无准备之仗”,首先要根据压测目的出一个可行的书面方案。
下面是一个方案模板
This article keep tracks of the most used commands of GDB
Write a classic C program with your favoriate editor and save it as main.c.
| |
Compile it with gcc, which is a popular c/c++ compiler on linux.
| |
Debug with gdb
| |
| |
| |
| Abbreviation | Command | Explanation |
|---|---|---|
| b | break | break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM] [if CONDITION] |
| c | continue | conntinue [N] |
| s | step | step [N] |
| n | next | next [N] |
| p | print [[OPTION]… –] [/FMT] [EXP] | |
| i | info, inf | use help i to check out info |
Learn a shell a day, master Unix one day!
Process read previous process’s output as its input and generate output to next process’s input.
Use symbol | to create a pipeline, which a powerful skill in Unix.
| |
Many programs, takes its arguments from the command line (char *argv[]) but ignores standard input fd 0. If you want to pipe the output of a program to input of another program that ignores standard input, like rm, you need to use xargs.
The C Programming Language is the best textbook for a beginner who wants to learn C. This article mostly talks about pointers and memory in C.
C’s syntax is simple but handling pointers in C is too easy to get stuck.
char, int, float, double
signed, unsigned, short, long
constant
| |
Array is a continuous fixed-length address. Different data types have different sizes. sizeof returns the size(how many bytes it holds to represent a data) of a data.