Skip to content

Instantly share code, notes, and snippets.

View hugolv89's full-sized avatar
💭
I may be slow to respond.

Hugo López Vázquez hugolv89

💭
I may be slow to respond.
View GitHub Profile
@hugolv89
hugolv89 / Geo.sql
Last active March 3, 2021 10:42 — forked from angeldelrio/tablapaises.sql
Tabla MySQL paises el mundo en español
CREATE TABLE `geo` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
INSERT INTO `geo` VALUES(1, 'AF', 'Afganistán');
INSERT INTO `geo` VALUES(2, 'AX', 'Islas Gland');
INSERT INTO `geo` VALUES(3, 'AL', 'Albania');
#!/bin/bash
# https://www.cloudflare.com/ips/
FileName="setCloudflare_IpTables.sh"
CloudflareIPV4=$(curl https://www.cloudflare.com/ips-v4)
#CloudflareIPV6=$(curl https://www.cloudflare.com/ips-v6)
echo > $FileName
cat /dev/null > $FileName
@hugolv89
hugolv89 / smp.html
Last active February 19, 2019 19:36 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 800px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>