View Git aliases for fish shell.fish
# migrating from https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh | |
# Aliases | |
alias g='git' | |
#compdef g=git | |
alias gst='git status' | |
#compdef _git gst=git-status | |
alias gd='git diff' | |
#compdef _git gd=git-diff | |
alias gdc='git diff --cached' |
View bd.txt
%endpoint http://id.nlm.nih.gov/mesh/sparql | |
%display table | |
%show all | |
## Obter todos os tipos de infecções HIV | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
PREFIX meshv: <http://id.nlm.nih.gov/mesh/vocab#> |
View podcasts
http://simpleleadership.io/ | |
http://simpleleadership.io/setting-the-technical-direction-for-your-team-with-james-hood/ | |
https://www.amazon.com/Amazon-Way-Leadership-Principles-Disruptive/dp/B00ODBIEUU/ref=tmm_aud_swatch_0?_encoding=UTF8&qid=&sr= |
View gist:d8b65bcaabe4c47ee71c392b23429ed9
constraint layout: uso de constraint guideline | |
image view com constraint dimension ratio | |
chain style | |
constraint barrier | |
constraint group: aplicar regras de visibilidade em inumeras views (text, image) | |
animateLayoutChanges = true para animações básicas do Android |
View gist:061824525b37a4fa149fcfbdf0b1e2e2
CREATE VIEW drugInteraction AS | |
SELECT D1.codedrug drug1, D2.codedrug drug2 | |
FROM DrugUse D1, DrugUse D2 | |
WHERE D1.idperson = D2.idperson AND drug1<drug2; |
View filter_1.java
List<String> names = Arrays.asList("John", "Jack", "Hamilton", "George"); | |
for(String name : names){ | |
if(name.startsWith("J")){ | |
System.out.println(name); | |
} | |
} |
View sensedia_iot
APIs para dispositivos IoT | |
=================== | |
A popularização de hardwares de prototipagem como Arduino e Raspberry Pi baratearam o custo de desenvolvimento de sistemas embarcados e dispositivos IoT, o que possibilitou qualquer um desenvolver seu próprio sistema inteligente como automação residencial, controle de sensores, robôs etc. com muita facilidade. | |
O boom do IoT é recente e diferentemente de sistemas convencionais, nesses dispositivos há a preocupação de consumo de energia e banda, limitação de memória etc. e ainda há pouca discussão sobre modelagens e arquiteturas que permitam evoluir de forma ágil, segura e escalável essas aplicações no mundo IoT, sendo comum casos de vulnerabilidades em sistemas críticos como equipamentos de vigilância, sensores e até mesmo monitor cardíaco de bebês. É essencial durante o desenvolvimento preocupar-se com essas questões e uma API REST pode ser uma solução ideal. | |
> If you're afraid to change something it is clearly poorly designed. - Martin Fowler |
View gist:c78701c449c00afbf4be98d6c198361d
execute pathogen#infect() | |
set dir=~/.vim/_swap// | |
filetype plugin indent on | |
" show existing tab with 4 spaces width | |
set tabstop=4 | |
" when indenting with '>', use 4 spaces width | |
set shiftwidth=4 | |
" On pressing tab, insert 4 spaces | |
set expandtab | |
set smartcase |
View utils commands
valgrind --leak-check=full -v ./lab07 < input |
View nginx.conf
user www-data; | |
worker_processes 4; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
http { |
NewerOlder