Skip to content

Instantly share code, notes, and snippets.

@egolearner
egolearner / CentOS-Base.repo
Created October 31, 2025 08:39 — forked from weimeng23/CentOS-Base.repo
aliyun centos7 yum mirror repo. CentOS Linux 7 reached end of life (EOL) on June 30, 2024
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
@egolearner
egolearner / cheat_sheet.txt
Created August 4, 2022 02:47
GDB cheat sheet
GDB commands by function - simple guide
---------------------------------------
More important commands have a (*) by them.
Startup
% gdb -help print startup help, show switches
*% gdb object normal debug
*% gdb object core core debug (must specify core file)
%% gdb object pid attach to running process
% gdb use file command to load object
@egolearner
egolearner / faiss_install_notes_on_catalina.md
Last active November 4, 2020 05:52 — forked from maxime/faiss_install_notes_on_high_sierra.md
Install Facebook FAISS on macOS Catalina

Those instructions are working for me as of Nov. 2020. Using Homebrew and maOS 10.15.7

Install xCode command line tools (if you don't have it already)

xcode-select --install

Install LLVM