Skip to content
View FelixBrgm's full-sized avatar
🇦🇹
🇦🇹

Highlights

  • Pro

Organizations

@42-Vienna @42core-team @42-Short

Block or report FelixBrgm

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
FelixBrgm/README.md

Servus!

I'm Felix, 21 from Austria 🇦🇹 and I build things and communities at 42 Vienna as Pedagogy Co-Lead

I love complex systems which brought me to create:

🎛 minimal .bashrc so that I can copy it when i need it:

// .bashrc from FelixBrgm
export PS1="\W> "
alias ll="ls -la"

# To kill a process that uses a port
kp(){ 
kill $(lsof -ti tcp:$1);
}
  • ⚡ Favorite bit of code:
// It's a super short version to get a line from a fd per function call in C.
char *get_next_line(int fd)
{
  char *s = malloc(10000), *c = s;
  while (read(fd, c, 1) > 0 && *c++ != '\n');
  return c > s ? (*c = '\0', s) : (free(s), NULL);
}

Pinned Loading

  1. 42-Short/shortinette 42-Short/shortinette Public

    Automated grading of programming projects.

    Go 9 1

  2. kentucky-fried-kernel/kfs kentucky-fried-kernel/kfs Public

    32 bit Kernel From Scratch

    Rust 3

  3. goos goos Public

    21 12

  4. malloc malloc Public

    C 1 2