View clip-checkout-fix-aspero-bug.css
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
/* | |
Corrección para visualizar el logo de Clip Checkout que se ocultó con el tema Aspero | |
https://github.com/eamexicano/clip-payment-gateway | |
https://themeforest.net/item/aspero-business-wordpress-theme/22226666 | |
*/ | |
li.payment_method_clip_payment_gateway label { | |
width: 100%; | |
} |
View demo.sql
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
CREATE DATABASE `demo` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; | |
USE `demo`; | |
# Dump of table categorias | |
# ------------------------------------------------------------ | |
DROP TABLE IF EXISTS `categorias`; | |
CREATE TABLE `categorias` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, |
View gist:c1d4e8bb2f5244f6cbb7f38fb34a2abe
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"> | |
</head> | |
<body> | |
<?php | |
// Abrir conexión | |
$conexion = new mysqli("localhost", "root", "", "tutoriales"); |
View wget.sh
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
wget -r --user="user@example.com" --password="password" ftp://domain.tld/ |
View mysql2xls.php
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 | |
/** | |
* The MIT License (MIT) | |
* Copyright (c) 2016 Emmanuel Ayala Mexicano @eamexicano | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
View data-obj.html
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
<!-- | |
Utilizar atributos data para almacenar contenido | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> |
View ejercicios.html
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"> | |
<title>Ejercicios</title> | |
<link rel="stylesheet" href="estilo.css" type="text/css"> | |
</head> | |
<body> | |
<h2>Ejercicios disponibles</h2> |
View tutoriales.sql
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
-- BD Tutoriales | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; | |
SET time_zone = "+00:00"; | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
View concatenate.sh
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 | |
# Remove carriage return from windows file <CR> and createa a new file | |
tr -d '\015' < windows_file > another_file | |
# Exclude some files prior concatenation | |
ls | sort | grep -v -E "(file1|file2|...|fileN)" | xargs cat > large_file |
View template.css
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
body { background: #f2f2f2; margin: 0 auto; font-family: 'helvetica neue', helvetica, sans-serif; font-size: 1em; padding: 1em; color: #151515;} | |
h1, h2, h3, h4, h5, h6 {font-family: georgia, "times new roman", times, serif;} | |
header {text-align: left;} | |
section { } | |
footer {text-align: right; margin: 1em 0;} |
NewerOlder