Skip to content

Instantly share code, notes, and snippets.

View DenisNasc's full-sized avatar
:shipit:
#!/bin/bash

Denis Nascimento DenisNasc

:shipit:
#!/bin/bash
View GitHub Profile
@DenisNasc
DenisNasc / GLDebugMessageCallback.cpp
Last active September 15, 2020 20:48 — forked from liam-middlebrook/GLDebugMessageCallback.c
GL Debug Output Message Callback Guide
// Função para gerenciar erros do OpenGL >4.3
// Callback function for printing debug statements
void APIENTRY GLDebugMessageCallback(GLenum source, GLenum type, GLuint id,
GLenum severity, GLsizei length,
const GLchar *msg, const void *data)
{
const char* _source;
const char* _type;
const char* _severity;
@DenisNasc
DenisNasc / .editorconfig
Created August 1, 2020 13:18
settings for editor config
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
@DenisNasc
DenisNasc / .prettierrc
Created June 30, 2020 13:17
Prettier config for frontend development with React
{
"printWidth": 100,
"singleQuote": true,
"semi": true,
"bracketSpacing": false,
"jsxBracketSameLine": false,
"arrowParens": "avoid"
}
@DenisNasc
DenisNasc / .eslintrc.json
Last active August 1, 2020 13:17
Eslint config for frontend development with React
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"airbnb",