$ sudo apt update
$ sudo apt install build-essential libgtk-3-dev libgnutls28-dev \
libtiff5-dev libgif-dev libjpeg-dev libpng-dev libxpm-dev \
libncurses-dev texinfo \
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
"Press <m-t> to start | |
function! s:Chaves(string) | |
echomsg a:string | |
endfunction | |
function! s:Chiquinha(string) | |
echomsg a:string | |
endfunction |
Bash has built in features to access the last command executed. But that's the last whole command (e.g. the whole case command), not individual simple commands like you originally requested.
!:0 = the name of command executed.
!:1 = the first parameter of the previous command
!:4 = the fourth parameter of the previous command
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
CONF_NAME = nvim | |
GIT_DIR = ${HOME}/developer/dotfiles/.$(CONF_NAME) | |
WORK_TREE = ${HOME}/.config/$(CONF_NAME) | |
GIT = /usr/bin/git --git-dir=$(GIT_DIR) --work-tree=$(WORK_TREE) | |
include dev.mk | |
nvim-treesitter.tgz: | |
tar cvzf nvim-treesitter.tgz site/pack/packer/start/nvim-treesitter |
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
#!/usr/bin/env bash | |
man(){ | |
env \ | |
PAGER=less \ | |
MANPAGER=less \ | |
LESS_TERMCAP_mb=$(tput bold; tput setaf 2) \ | |
LESS_TERMCAP_md=$(tput bold; tput setaf 6) \ | |
LESS_TERMCAP_me=$(tput sgr0) \ | |
LESS_TERMCAP_so=$(tput bold; tput setaf 3; tput setab 4) \ |
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
última postagem do dia, a migração de código está fluindo bem, então | |
compartilho esse trecho de código com vcs. | |
Arquivo 1: em vimscript -- DEPRECATED | |
" on_yank.vim - on_yank | |
" Maintainer: Ivan Lopes | |
" ~/.config/nvim/after/plugin | |
" Cool highlighting |
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
" $Id$ | |
" Name Of File: |n| | |
" | |
" Description: Vim plugin | |
" | |
" Author: Ivan Lopes <lopesivan (at) email > | |
" Maintainer: Ivan Lopes <lopesivan (at) email> | |
" | |
" Last Change: $Date:$ | |
" Version: $Revision:$ |
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 <stdio.h> | |
#include <sqlite3.h> | |
#include <pthread.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <time.h> | |
#define MAX_THREADS 100 |