- Compile the program in gcc with debug symbols enabled (
-g
) - Do NOT strip the binary
- To generate assembly code using gcc use the -S option:
gcc -S hello.c
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
zshrc_file="$HOME/.zshrc" | |
omz_custom_plugin_home=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins | |
append_plugin_to_zshrc() { | |
# The plugin to add | |
local new_plugin=$1 | |
# Check if the .zshrc file exists |