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

Highlights

  • Pro

Organizations

@42core-team

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. malloc malloc Public

    C 1 2

  2. cine_term cine_term Public

    Rust

  3. 42-minishell 42-minishell Public

    This is my minishell project at 42

    C

  4. 42-miniRT 42-miniRT Public

    C