This file contains 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 guard": { | |
"prefix": "include-guard", | |
"body": [ | |
"#ifndef ${TM_FILENAME_BASE/(.*)/${1:/upcase}/}_H", | |
"# define ${TM_FILENAME_BASE/(.*)/${1:/upcase}/}_H", | |
"", | |
"${0}", | |
"", | |
"#endif" |
This file contains 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 guard": { | |
"prefix": "include-guard", | |
"body": [ | |
"#ifndef ${TM_FILENAME_BASE/(.*)/${1:/upcase}/}_H", | |
"# define ${TM_FILENAME_BASE/(.*)/${1:/upcase}/}_H", | |
"", | |
"$1", | |
"", | |
"#endif" |
This file contains 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
#!/usr/bin/env sh | |
RED=$(tput setaf 1) | |
YELLOW=$(tput setaf 3) | |
RESET=$(tput init) | |
if ! type norminette > /dev/null 2>&1; then | |
echo "norminette not found" | |
exit 1 | |
fi |
This file contains 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "(gdb) Launch", | |
"type": "cppdbg", | |
"request": "launch", |
This file contains 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
#!/bin/bash | |
# **************************************************************************** # | |
# # | |
# ::: :::::::: # | |
# monitoring.sh :+: :+: :+: # | |
# +:+ +:+ +:+ # | |
# By: bbrassar <bbrassar@student.42.fr> +#+ +:+ +#+ # | |
# +#+#+#+#+#+ +#+ # | |
# Created: 2021/07/25 12:50:16 by bbrassar #+# #+# # |
This file contains 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
#!/bin/sh | |
set -ex | |
DISCORD_VERSION='0.0.31' | |
TAR_NAME="$(mktemp)" | |
# change this as you need | |
INSTALL_DIR="/sgoinfre/goinfre/Perso/${USER}/Discord" | |
INSTALL_DATE="$(date)" |
This file contains 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
autoload -Uz compinit | |
compinit | |
autoload -Uz vcs_info | |
precmd() { | |
vcs_info | |
} | |
PROMPT_COLOUR=#114dd8 | |
BRANCH_COLOUR=#11b0d8 |
This file contains 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
call plug#begin('~/.vim/plugged') | |
Plug 'pbondoer/vim-42header', { 'do': 'sed -i -- /^nmap/d after/plugin/42header.vim' } | |
Plug 'preservim/nerdtree' | |
Plug 'vim-airline/vim-airline' | |
Plug 'tpope/vim-fugitive' | |
Plug 'RRethy/vim-hexokinase' | |
Plug 'dense-analysis/ale' | |
"Themes | |
Plug 'ayu-theme/ayu-vim' | |
call plug#end() |
This file contains 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
body { | |
white-space: pre; | |
font-family: consolas; | |
font-size: 1rem; | |
color: white; | |
background: #1d1d1d; | |
} | |
.property { | |
color: #9cdcfe; |
This file contains 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
package fr.harmoniamc.api.bukkit.util; | |
import fr.harmoniamc.api.core.util.HarmoniaUtils; | |
import org.bukkit.Sound; | |
/** | |
* An enum class to use both prior and since 1.9 Bukkit sounds | |
* @see org.bukkit.Sound | |
*/ | |
public enum SoundSupport { |