# C++11
g++ -std=c++11 main.cpp -o programa
# C++14
g++ -std=c++14 main.cpp -o programa
Aqui vai um resumo rápido dos dois arquivos:
-
lua/base/statusline.lua
Esse arquivo apenas declara o plugin lualine.nvim (a barra de status do Neovim) e diz para carregar a configuração que está emlua/config/lualine.lua
. É tipo um atalho: ele aponta para onde está a configuração real e garante que o plugin seja carregado sempre (não é lazy). -
lua/config/lualine.lua
Não se assuste com a resposta curta: só circuitos que possuam AO MESMO TEMPO um indutor ($L$ ) e um capacitor ($C$ ) podem realmente ressoar.
Um circuito de primeira ordem (RC ou RL) tem apenas um elemento reativo; falta a “troca de energia” entre dois campos (elétrico ↔ magnético) que caracteriza a ressonância.
Circuito | Ordem | Há ressonância? | O que costuma interessar | Expressão |
---|---|---|---|---|
RC (série ou paralelo) | 1ª | Não há frequência de ressonância | Frequência (ou pulsação) de 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
lua: | |
./build-lua-5.1.5.sh | |
./build-lua-5.4.6.sh | |
neovim: | |
./build-nvim.sh | |
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
sources := ./main.c | |
CC = gcc | |
LD = $(CC) | |
CFLAGS = -Wall -c | |
LDFLAGS = -o | |
target := main | |
targets := $(target) |
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
-- RELOAD "config.nvim_dev" | |
local Job = require "plenary.job" | |
local plenary_window = require "plenary.window.float" | |
local M = {} | |
M.sh = function(args) | |
local float = plenary_window.percentage_range_window(0.9, 0.8) | |
local count = 0 |
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
--- @module Foldtext | |
--- Based on https://www.reddit.com/r/neovim/comments/16sqyjz/finally_we_can_have_highlighted_folds/ | |
--- Updated with vim.treesitter._fold.foldtext() | |
-- Função para processar uma linha e extrair os destaques usando Treesitter | |
local function parse_line(linenr) | |
-- Obtém o buffer atual do Neovim | |
local bufnr = vim.api.nvim_get_current_buf() | |
-- Obtém a linha do buffer correspondente ao número da linha |
docker run -d --name my_container registry.local:5000/softsam/android-16
docker cp my_container:/opt/android-sdk-linux/. .
docker stop c88b87440a54
docker rm c88b87440a54
docker images -q --filter "dangling=true"
LuaJIT 2.0.1 -- Copyright (C) 2005-2013 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse
> require "numlua"
error loading module 'numlua' from file '/usr/local/lib/lua/5.1/numlua.so':
libhdf5_serial.so.10: cannot open shared object file: No such file or directory
stack traceback:
[C]: at 0x55ec04e09c00
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
local Path = require "plenary.path" | |
local Job = require "plenary.job" | |
local lspconfig_util = require "lspconfig.util" | |
local cached_configs = {} | |
local root_finder = lspconfig_util.root_pattern ".git" | |
local csharpier_finder = function(path) | |
if cached_configs[path] == nil then |
NewerOlder