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
OUTFILE=output_$(date +"%Y-%m-%d_%H-%m-%S").json | |
while read PROXY; do | |
IP=$(curl -x $PROXY -s https://api.ipstack.com/check?access_key={enter_your_ipstack_access_key_here}) | |
echo $IP >> $OUTFILE | |
printf "\n" >> $OUTFILE | |
done <proxies.txt |
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
FROM node:8 | |
# Create app directory | |
WORKDIR /usr/src/app | |
# Install app dependencies | |
# A wildcard is used to ensure both package.json AND package-lock.json are copied | |
# where available (npm@5+) | |
COPY package*.json ./ |
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
#!/bin/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
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
protected void Application_Error(object sender, EventArgs e) | |
{ | |
// Get the exception object. | |
Exception ex = Server.GetLastError(); | |
// Log the exception and notify system operators | |
Logger.GravarLogErro(ex); | |
// Em modo debug, deixa estourar a exceção na tela | |
CompilationSection compilationSection = (CompilationSection)ConfigurationManager.GetSection(@"system.web/compilation"); |
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
Show hidden characters
{ | |
"font_face": "Fira Code", | |
"font_size": 13, | |
"theme": "Material-Theme-Darker.sublime-theme", | |
"color_scheme": "Monokai.sublime-color-scheme", | |
"always_show_minimap_viewport" : true, | |
"bold_folder_labels" : true, | |
"font_options" : ["gray_antialias", "subpixel_antialias"], // On retina Mac & Windows |
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
######################################################## | |
# Diretórios | |
# https://www.howtogeek.com/117435/htg-explains-the-linux-directory-structure-explained/ | |
######################################################## | |
/ Diretório "root" onde tudo está localizado | |
/bin Binários essenciais (programas) dos usuários | |
/boot Arquivos binários do Kernel e boot do sistema | |
/dev Dispositivos. Pendrives, HDs, CD-Room, ... | |
/etc Arquivos de configuração |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Dec 21 10:32:59 2017 | |
@author: yitzhak.andrade | |
Extrair as intenções identificadas e os textos digitados pelos usuários e exportar para uma planilha. | |
""" |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Nov 16 09:20:32 2017 | |
@author: yitzhak.andrade | |
""" | |
class Decorator: | |
def verificacao(parametro): |
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
$(document).ajaxSuccess(function (event, jqXHR, ajaxSettings) { | |
function extrairUrlRedirecionamento(jqXHR) { | |
try { | |
var dados = $.parseJSON(jqXHR.responseText); | |
if (dados == null) { | |
return null; | |
} | |
if (dados.RedirecionarPara == null) { |