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
/** | |
* @file lv_conf.h | |
* Configuration file for v8.3.5 | |
*/ | |
/* | |
* Copy this file as `lv_conf.h` | |
* 1. simply next to the `lvgl` folder | |
* 2. or any other places and | |
* - define `LV_CONF_INCLUDE_SIMPLE` |
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 <Arduino.h> | |
static unsigned int count = 0; | |
void setup() | |
{ | |
Serial.begin(115200); | |
Serial.println("Hello World!"); | |
} |
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
/** | |
{ | |
"api":1, | |
"name":"Base64 to bytebuffer", | |
"description":"Base64 - ByteBuffer", | |
"author":"palani", | |
"icon":"01.square.fill", | |
"tags":"bytebuffer, base64" | |
} | |
**/ |
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
Show hidden characters
{ | |
"tag": { | |
"prefix": "#", | |
"scope": "markdown,yaml", | |
"body": "[[#${1:my-tag}|tag.${1}]]", | |
"description": "tag" | |
}, | |
"date": { | |
"prefix": "mdate", | |
"scope": "markdown,yaml", |
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
-- dap custom shortcuts | |
-- https://github.com/mfussenegger/dotfiles/blob/e7abb9a13f8fb3075704ed703dd973ecf3502cc3/vim/.config/nvim/lua/me/dap.lua#L64-L75 | |
return { | |
{ | |
"mfussenegger/nvim-dap", | |
config = function() | |
-- working version | |
local dap = require('dap') |
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
gui: | |
expandFocusedSidePanel: true | |
git: | |
paging: | |
# colorArg: always | |
# pager: diff-so-fancy | |
pager: delta --dark --paging=never -n --syntax-theme "everforest-friendly" #-s -n --syntax-theme "1337" --diff-so-fancy --diff-highlight | |
# externalDiffCommand: "difft --color=always --display=inline" | |
# useConfig: true |
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
[user] | |
name = | |
email = | |
[includeIf "gitdir:~/Desktop/src/"] | |
path = ~/.gitconfig-work | |
[includeIf "gitdir:~/Desktop/src/try/"] | |
path = ~/.gitconfig-personal | |
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
-- custom config | |
-- Disable relativenumber | |
vim.opt.relativenumber = false | |
-- Disable line numbers in terminal buffers | |
vim.api.nvim_create_autocmd("TermOpen", { | |
pattern = "*", | |
callback = function() | |
vim.opt_local.number = false | |
vim.opt_local.relativenumber = false |
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
CC := clang | |
CXX := clang++ | |
CFLAGS := -g -O0 -Wall -fPIC -std=c11 | |
CXXFLAGS := -g -O0 -Wall -fPIC -std=c++17 | |
# static .a lib | |
# LDFLAGS := -g | |
# GO_BUILD_FLAGS := -gcflags="all=-N -l" -ldflags="-extldflags '$(LDFLAGS) -lc++'" | |
#shared .so/.dylib |
NewerOlder