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
$('.tp-modal').hide(); | |
$('.tp-modal-open').css("overflow","auto"); | |
$('.tp-backdrop').hide(); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Informativo Online: NOME DO SEU ESCRITÓRIO</title> | |
<base target="_self"> | |
<meta name="google" value="notranslate"> |
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
<iframe id="estanteiframe" height="850" style="width: 100%; margin: 0; padding: 0" frameborder="0" src=""> </iframe> | |
<script type="text/javascript"> | |
let req = new XMLHttpRequest(); | |
let publicServiceKey = 'CODIGODESUAESTANTE'; | |
req.open('GET', 'https://www.businessinformativos.com.br/Services/Informativos/json?auth=' + publicServiceKey, true); | |
req.onload = function () { | |
if (req.status >= 200 && req.status < 400) { | |
let jsonRev = JSON.parse(req.responseText); |
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
let tipUrlList = Array(); | |
let index = 0; | |
let htmlContent; | |
document.querySelectorAll("pre a").forEach(function(e){ | |
tipUrlList.push(e.href); | |
}); | |
function loadPage(){ |
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
https://stackoverflow.com/questions?sort=BountyEndingSoon&filters=NoAnswers,NoAcceptedAnswer,Bounty&edited=true |
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
/* TAKEN FROM http://www.firebirdfaq.org/faq223/ */ | |
SELECT rdb$get_context('SYSTEM', 'ENGINE_VERSION') | |
from rdb$database; |
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
<div id="conteudo_semanal" class="conteudo_semanal"> | |
<?php | |
//COLE O ENDEREÇO DO RSS DE SEU INFORMATIVO ABAIXO, AS ENTRE ASPAS DUPLAS | |
$endereco_do_rss = "*SUBSTITUA PELO ENDEREÇO RSS EM SUA ÁREA RESTRITA"; | |
echo "<!-- $endereco_do_rss -->"; | |
$invalidurl = false; | |
if(@simplexml_load_file($endereco_do_rss)){ | |
$feeds = simplexml_load_file($endereco_do_rss); | |
}else{ |
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
import os, re, sys | |
emails = [] | |
current_file = "" | |
try: | |
files = os.listdir("msgs") | |
for f in files: | |
current_file = f |
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 | |
NONE='\033[00m' | |
RED='\033[01;31m' | |
GREEN='\033[01;32m' | |
YELLOW='\033[01;33m' | |
PURPLE='\033[01;35m' | |
CYAN='\033[01;36m' | |
WHITE='\033[01;37m' | |
BOLD='\033[1m' |
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
sudo amazon-linux-extras install epel -y | |
sudo yum install epel-release -y | |
sudo yum update -y | |
sudo amazon-linux-extras install "php7.4" -y | |
sudo yum install -y httpd php7.4 php-pgsql php-pdo_pgsql php-gd php-intl php-mbstring php-json git awscli certbot certbot-apache | |
#open ports | |
aws ec2 authorize-security-group-ingress --group-id sg-XXXXXXXXXXXXXXXXX --protocol tcp --port 80 --cidr 0.0.0.0/0 | |
aws ec2 authorize-security-group-ingress --group-id sg-XXXXXXXXXXXXXXXXX --protocol tcp --port 443 --cidr 0.0.0.0/0 |
OlderNewer