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 <string> | |
| #include <sstream> | |
| #include <iostream> | |
| #include <thread> | |
| std::string get_thread_id() { | |
| std::stringstream ss("0x"); | |
| ss << std::hex << std::this_thread::get_id(); | |
| return ss.str(); | |
| } |
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
| " Author: Emiliano Carlos de Moraes Firmino | |
| " Contact: emiliano.firmino@gmail.com | elmiliox@gmail.com | |
| " Info: Developer @ INdT Manaus 2013 | |
| scriptencoding utf-8 | |
| set encoding=utf-8 | |
| syntax enable " Highlight | |
| set autoread " Reaload file if changed outside |
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
| #! /bin/bash | |
| VIMRC=_vimrc | |
| VIMFILES=vimfiles | |
| PLUGINS=( | |
| "ack:mileszs/ack.vim.git" | |
| "auto-compl-pop:vim-scripts/AutoComplPop.git" | |
| "code-complete:mbbill/code_complete.git" | |
| "coffe-script:kchmck/vim-coffee-script.git" | |
| "command-t:wincent/Command-T.git" | |
| "cref:vim-scripts/CRefVim.git" |
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
| Example = fun(ErlFileName) -> | |
| Source = test_scan_parse:src(ErlFileName), | |
| Tokens = test_scan_parse:tokenize(Source), | |
| SyntaxTree = test_scan_parse:ast(Tokens), | |
| case test_scan_parse:ast_tokens(SyntaxTree) == Tokens of | |
| true -> ok; | |
| false -> error | |
| end | |
| end. |
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
| \documentclass{beamer} | |
| \usepackage[utf8x]{inputenc}%idem | |
| \usepackage[english]{babel} | |
| \usepackage{graphicx} | |
| \usetheme{default} % Cities, see http://www.hartwork.org/beamer-theme-matrix/ | |
| \usecolortheme{default} % Animals and Plants, see http://www.hartwork.org/beamer-theme-matrix/ | |
| \title[Short Title]{Full Title} | |
| \author[Short Name]{Full Name} |
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
| # Author: Emiliano Carlos de Moraes Firmino @ 10/2012 | |
| SHELL=/bin/sh | |
| THESIS=thesis | |
| .SUFFIXES: | |
| .SUFFIXES: .bib .pdf .tex | |
| .PHONY: clean | |
| run: $(THESIS).pdf |
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
| #!/bin/bash | |
| # author: Emiliano Carlos de Moraes Firmino | |
| # created on 04/30/11 21:23:49 (HPBC) | |
| # description: create an erlang project directory | |
| mkdir doc ebin include priv src test | |
| #Emake | |
| echo "% Author: Emiliano Carlos de Moraes Firmino | |
| {\"src/*\", |
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
| [core] | |
| whitespace = trailing-space,space-before-tab | |
| [alias] | |
| addp = add --patch | |
| br = branch | |
| ci = commit --signoff | |
| co = checkout | |
| di = diff | |
| dw = diff --word-diff |
NewerOlder