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
<?php | |
//Definindo variáveis para armazenar as coordenadas | |
$latitude = -22.9000; | |
$longitude = -43.2290; | |
//Definindo os limites do território brasileiro | |
$limite_lat_min = -33.7472; | |
$limite_lat_max = 5.2790; | |
$limite_long_min = -74.2910; |
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
Execute apt-get update, apt-get upgrade and apt-get dist-upgrade; | |
Remove user root login; | |
Add a new user user to sudo group; | |
Adjust server timezone; | |
Enable access only via SSH keys; | |
Disable password authentication; | |
Disable root login; | |
Configure UFW; | |
Configure fail2ban; | |
Configure ssmtp. |
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
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-32588798-1']); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
})(); | |
</script> |
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
SELECT | |
l.word_key, | |
l.usage, | |
l.book_key, | |
b.title, | |
l.timestamp | |
FROM | |
LOOKUPS l, | |
BOOK_INFO b | |
WHERE |
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
INSERT INTO `wp_terms` (slug, name) VALUES ('AF', 'Afghanistan'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('AL', 'Albania'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('DZ', 'Algeria'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('DS', 'American Samoa'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('AD', 'Andorra'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('AO', 'Angola'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('AI', 'Anguilla'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('AQ', 'Antarctica'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('AG', 'Antigua and Barbuda'); | |
INSERT INTO `wp_terms` (slug, name) VALUES ('AR', 'Argentina'); |
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
<?php | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); |
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
php | |
libapache2-mod-php | |
php5-common | |
apc | |
auth | |
cgi | |
cli | |
curl | |
date |
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
<IfModule mod_deflate.c> | |
# Compress HTML, CSS, JavaScript, Text, XML and fonts | |
AddOutputFilterByType DEFLATE application/json | |
AddOutputFilterByType DEFLATE application/javascript | |
AddOutputFilterByType DEFLATE application/rss+xml | |
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject | |
AddOutputFilterByType DEFLATE application/x-font | |
AddOutputFilterByType DEFLATE application/x-font-opentype | |
AddOutputFilterByType DEFLATE application/x-font-otf | |
AddOutputFilterByType DEFLATE application/x-font-truetype |
NewerOlder