Skip to content

Instantly share code, notes, and snippets.

View rotrojan's full-sized avatar
😅

Romain TROJANI-BIGOT rotrojan

😅
  • Toulouse / Paris
View GitHub Profile
@rotrojan
rotrojan / .env
Last active December 6, 2022 20:08
.env file template for ft_transcendence
# .env file template for ft_transcendence
## NETWORK
PRT=https
APP_HOST=the-hostname-of-your-machine
APP_URL=${PRT}://${APP_HOST}
## RP
RP_HOST=${APP_HOST}
RP_PORT=4443
@rotrojan
rotrojan / microshell.c
Created December 5, 2022 16:43
Implementation of microshell, the Exam Rank 04 of 42 School.
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
typedef enum e_bool
{
False,
True
@rotrojan
rotrojan / Makefile
Created January 12, 2022 04:13
A Makefile template for C++ projects
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: rotrojan <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/10/21 21:06:11 by rotrojan #+# #+# #
# Updated: 2021/12/20 21:54:05 by bigo ### ########.fr #
# #