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
| ############################################################################################### | |
| #o botao Prettify do GraphQL ajuda na hora de escrever as QL # | |
| #clicando neste botao, ele alem de deixar a query organizada e na identacao # | |
| #correta, ele tambem mostra se existem erros de sintaxe, caso este botao esteja vermelho, # | |
| #passando o mouse por cima ele mostra a linha com o erro de syntax; # | |
| #para fazer comentario, eh o mesmo que usamos para comentario no bash linux # | |
| # "#" # | |
| ############################################################################################### |
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/ruby | |
| x = 1 | |
| if x > 2 | |
| puts "x is greater than 2" | |
| elsif x <= 2 or x!=0 | |
| puts "x is 1" | |
| else | |
| puts "I can't guess the number" | |
| 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
| api para consulta de cep e retorna um json | |
| http://api.postmon.com.br/v1/cep/<cep> | |
| exemplo: | |
| http://api.postmon.com.br/v1/cep/03150080 | |
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
| Abre filtro AC3 (se instalado) = ac3filter.cpl | |
| Acerca do Windows (Ver a versão do Windows) = winver | |
| Actualizações automáticas = wuaucpl.cpl | |
| Adicionar ou remover programas = appwiz.cpl | |
| Administrador da origem de dados de ODBC = odbccp32.cpl | |
| Ajuda e suporte = msinfo32 | |
| Armazenamento amovível = ntmsmgr.msc | |
| Assistente de acessibilidade = accwiz | |
| Assistente de câmara ou scanner = wiaacmgr |
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
| sudo iptables -t nat -L -n -v | |
| sudo iptables -t filter -F | |
| sudo iptables -t nat -F | |
| sudo iptables -t mangle -F | |
| sudo iptables -t nat -L -n -v | |
| sudo iptables -t nat -A PREROUTING -i eth1 --src 10.3.14.118 --dst 127.0.0.1 -p tcp --dport 1198 -j REDIRECT --to-ports 5000 | |
| sudo iptables-save | |
| sudo iptables -t nat -L -n -v | |
| /*descobrir portas abertas */ |