Skip to content

Instantly share code, notes, and snippets.

View aagontuk's full-sized avatar

Ashfaqur Rahaman aagontuk

View GitHub Profile
@aagontuk
aagontuk / linking_and_loading.md
Last active November 16, 2025 11:05
Linking and loading reading list

Resources on Linking and Loading

@aagontuk
aagontuk / gdb_cheatsheet.txt
Last active October 5, 2022 10:19
GDB Cheatsheet
* Run the program
gdb$ r arg1 arg2 ... # Run program until it hits a breakpoint
* Environment variable
gdb$ set environment VAR=VALUE
gdb$ unset environment VAR
gdb$ show environmet # Show all environment variable
gdb$ show environment VAR # Show environment variable VAR
@aagontuk
aagontuk / .tmux.conf
Last active February 2, 2020 12:37
My tmux configuration - RAW: tiny.cc/sfinix-tmux
# Remap prefix from c-b to c-space
unbind C-b
set-option -g prefix C-Space
bind-key C-Space send-prefix
# Open tmux config file in vim new window
unbind e
bind e new-window -n '~/.tmux.conf' "sh -c 'vim ~/.tmux.conf' && tmux source ~/.tmux.con"
# Modern colors
!-------- Xterm Terminal Settings {{{
!------------------------------------------------------
! https://wiki.archlinux.org/index.php/Xterm
! https://lukas.zapletalovi.com/2013/07/hidden-gems-of-xterm.html
! http://www.futurile.net/2016/06/14/xterm-setup-and-truetype-font-configuration/
! http://www.futurile.net/2016/06/15/xterm-256color-themes-molokai-terminal-theme/
! Allow xterm to report the TERM variable correctly.
! Do not set the TERM variable from your ~/.bashrc or ~/.bash_profile or similar file.
! The terminal itself should report the correct TERM to the system so that the proper terminfo file will be used.
@aagontuk
aagontuk / config
Created February 5, 2020 19:44
My i3 configuration file
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@aagontuk
aagontuk / x86_64.md
Last active September 12, 2025 09:28
Resources on x86_64 ISA

x86_64 Assembly Resources

@aagontuk
aagontuk / new_phd_student.md
Last active June 10, 2022 07:00
A collection of articles for new PhD students in CS
@aagontuk
aagontuk / flex.md
Last active July 30, 2020 14:05
Lex rule for generating lexical analyzer to match US phone numbers

Lex rule for generating lexical analyzer to match US phone numbers.

%{
    int isValid = 0;
%}

digit   [0-9]
valid   {digit}{3,3}-{digit}{3,3}-{digit}{4,4}