This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/42Paris/minilibx-linux | |
cd minilibx-linux | |
apt-get install libxext-dev libxrandr-dev libx11-dev libbsd-dev libssl-dev | |
mv minilibx-linux/man/man1 to /usr/local/man/ | |
mv minilibx-linux/libmlx.a to /usr/local/lib/ | |
mv minilibx-linux/mlx.h to /usr/local/include/ | |
# compile example | |
# clang -Wall -Wextra -Werror main.c -lbsd -lmlx lXext -lX11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_format info '$remote_addr - [$time_local] $request $status $body_bytes_sent $http_referer $http_user_agent $gzip_ratio'; | |
server { | |
listen 80; | |
server_name $host; | |
return 301 https://$host$request_uri; | |
} | |
server { | |
listen 443 ssl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian | |
sudo apt-get remove docker docker-engine docker.io containerd runc -y | |
sudo apt-get update -y | |
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce docker-ce-cli containerd.io |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.activityBar.visible": true, | |
"window.menuBarVisibility": "default", | |
"files.exclude": { | |
".*": true | |
}, | |
"editor.minimap.enabled": false, | |
"breadcrumbs.enabled": false, | |
"editor.renderWhitespace": "all", | |
"workbench.startupEditor": "newUntitledFile", |
NewerOlder