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
| [ | |
| // Navigation | |
| { | |
| "key": "ctrl-h", | |
| "command": "workbench.action.navigateLeft" | |
| }, | |
| { | |
| "key": "ctrl-l", | |
| "command": "workbench.action.navigateRight" | |
| }, |
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
| partial alphanumeric_keys | |
| xkb_symbols "qwerty-fr" | |
| { | |
| include "us(basic)" | |
| include "level3(ralt_switch)" | |
| name[Group1]= "US keyboard with french symbols - AltGr combination"; | |
| key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] }; |
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
| DOMAIN=zhabri.42.fr | |
| SSLKEY=/etc/ssl/private/nginx.key | |
| SSLCERT=/etc/ssl/certs/nginx.crt | |
| DATABASE=zakdb | |
| USER=zak | |
| ROOT_PASSWORD=zak | |
| PASSWORD=zak | |
| DBHOST=mariadb |
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
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <bsd/string.h> | |
| //#include "./ex00/ft_strcmp.c" | |
| //#include "./ex01/ft_strncmp.c" | |
| //#include "./ex02/ft_strcat.c" | |
| //#include "./ex03/ft_strncat.c" | |
| //#include "./ex04/ft_strstr.c" | |
| #include "./ex05/ft_strlcat.c" |
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
| function _CODE_RUNNER() | |
| vim.cmd("w!") | |
| local type = vim.bo.filetype | |
| if type == "python" then | |
| vim.cmd("!python3 %") | |
| elseif type == "lua" then | |
| vim.cmd("!lua %") | |
| elseif type == "javascript" then | |
| vim.cmd("!node %") | |
| elseif type == "sh" then |
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
| from random import randrange | |
| def prompt_level(): | |
| user_input = input("Level: ") | |
| try: | |
| to_int = int(user_input) | |
| if to_int > 0: | |
| return randrange(1, to_int+1) | |
| return prompt_level() |