This file contains 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
------------------------------------------------------------------------------- | |
-- Options | |
------------------------------------------------------------------------------- | |
vim.opt.number = true | |
vim.opt.cursorline = true | |
vim.opt.smartindent = true | |
vim.opt.expandtab = true | |
vim.opt.tabstop = 4 | |
vim.opt.shiftwidth = 4 | |
vim.opt.laststatus = 3 |
This file contains 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
#ifndef __ANSI_COLOR_INCLUDED__ | |
#define __ANSI_COLOR_INCLUDED__ | |
#define ANSI_RESET "0" | |
#define ANSI_BOLD "1" | |
#define ANSI_BLACK "30" | |
#define ANSI_RED "31" | |
#define ANSI_GREEN "32" | |
#define ANSI_YELLOW "33" | |
#define ANSI_BLUE "34" |
This file contains 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/gcc -o test "$0" && exec ./test "$@" | |
#include <stdio.h> | |
int main(int argc, const char *argv[]) | |
{ | |
int i; | |
for (i = 0; i < argc; i++) | |
printf("argv[%d] = '%s'\n", i, argv[i]); | |
return 42; |