Skip to content

Instantly share code, notes, and snippets.

☕️
Coffee is fuel for the body

Leonardo Mariscal lmariscal

☕️
Coffee is fuel for the body
Block or report user

Report or block lmariscal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lmariscal
lmariscal / init.vim
Last active Jun 26, 2019
[nvim] Neovim config file. #config #vim
View init.vim
" https://github.com/lmariscal/nvim
@lmariscal
lmariscal / preferences.sublime-settings
Last active Jun 26, 2019
[sublime-settings] Sublime settings file. #config
View preferences.sublime-settings
{
"Seti_ClosedFolder_dots": true,
"Seti_accent_lime": true,
"Seti_alt_tree_row": true,
"Seti_bold_heading": true,
"Seti_lime_label": true,
"Seti_lime_map": true,
"Seti_lime_tabclose": true,
"Seti_no_scroll_icons": false,
"Seti_sb_tree_miny": true,
@lmariscal
lmariscal / minivimrc.vim
Last active Jun 28, 2019
[minivimrc] Mini version of my .vimrc for devops. #config
View minivimrc.vim
set relativenumber
set number
set list
set listchars=tab:>\ ,trail:*
set encoding=utf-8
set enc=utf-8
set fileencoding=utf-8
set fileencodings=ucs-bom,utf8,prc
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe,*.o
set completeopt=menuone,menu,longest,preview
@lmariscal
lmariscal / terminator.conf
Last active Jun 28, 2019
[terminator.conf] Terminator config file. #config
View terminator.conf
[global_config]
handle_size = 0
tab_position = hidden
title_hide_sizetext = True
title_inactive_bg_color = "#282a36"
title_inactive_fg_color = "#f8f8f2"
title_receive_bg_color = "#282a36"
title_receive_fg_color = "#8be9fd"
title_transmit_bg_color = "#282a36"
title_transmit_fg_color = "#bd93f9"
@lmariscal
lmariscal / owo.nim
Last active Jun 28, 2019
[owo.nim] OwO text convewtew fow Nyim
View owo.nim
import strutils, random
proc lastReplace(s, sub, by: string): string =
let li = s.rsplit(sub, 1)
li.join(by)
proc toOwO*(s: string): string =
let smileys = [";;w;;", "^w^", ">w<", "UwU", "(・`ω´・)", "(´・ω・`)"]
result = s
@lmariscal
lmariscal / leo@ldmd.mx.pgp
Last active Jun 26, 2019
[pgp.pub] Public key for public use. #pgp
View leo@ldmd.mx.pgp
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBFwywH4BCADimR+Lfk+JPh9RFBGjSC2xj/4ZhPIKKjNHgw6A7etVECJxq14c
IyIovLm1/zgA9U5C2aUZdOU+kDgpZKD/jZEUe+CKn5bdJwHMZ7vcOa817cSaYLG9
Pk4ZpEECoXPwKhKUSjLYzWsgVMh/NiUz4M+rDRv0BaUvt58EdVz/XOmToabWgwlG
hsdyoJGocKRZi7hTEDFq7Tj1vAykrlvy4JRQoRhZo2CJ8hqqs9LxosVPCrAAb06g
nthhDHKEYORtv9S6X/w3bSLf8yYn3qn63526I+CLQUiL2n/FCavie6Sdo7cxMDyP
kmjj1SuGS6ErXIR3SboMmt1Z7pW2Sr332PLVABEBAAG0K0xlb25hcmRvIE1hcmlz
Y2FsIChNeSBLZXkgPDMpIDxsZW9AbGRtZC5teD6JAU4EEwEKADgWIQSuijhpUh49
EbxZRfXC20qVh4QSuAUCXDLAfgIbAwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAK
View OpenSourceIsNotAboutYou.md

Open Source is Not About You

The only people entitled to say how open source 'ought' to work are people who run projects, and the scope of their entitlement extends only to their own projects.

Just because someone open sources something does not imply they owe the world a change in their status, focus and effort, e.g. from inventor to community manager.

As a user of something open source you are not thereby entitled to anything at all. You are not entitled to contribute. You are not entitled to features. You are not entitled to the attention of others. You are not entitled to having value attached to your complaints. You are not entitled to this explanation.

If you have expectations (of others) that aren't being met, those expectations are your own responsibility. You are responsible for your own needs. If you want things, make them.

View ImGuiUtils.h
#pragma once
#include "IconsFontAwesome.h" // from https://github.com/juliettef/IconFontCppHeaders
namespace ImGui
{
inline void SetupImGuiStyle( bool bStyleDark_, float alpha_ )
{
View orthodoxc++.md

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

You can’t perform that action at this time.