TODO: Write a project description
TODO: Describe the installation process
var $form = $('#formulario'), | |
$titulo = $('#titulo'), | |
$url = $('#url'), | |
$button = $('#mostrar-form'), | |
$list = $('#contenido'), | |
$post = $('.item').first(); | |
function mostrarFormulario(){ | |
$form.slideToggle(); |
http://binbox.io/jgW7p#PXxe3P9T |
1) https://mega.nz/#F!mRNigCaA!qlAGXUV-G1RYc9Dq62hcSw | |
2)https://mega.nz/#F!6cFXRaIb!FVccRlz_5waZ0SpCTeLaVA | |
3)https://mega.nz/#F!2UlQwBwT!LMDBD-FmckbQzmpyAsnEKg | |
4)https://mega.nz/#F!nR1HiR6D!7hE1bX5MCAEB1d2DWimdgg | |
5)https://mega.nz/#F!OclXRAAQ!_TJzrYl5q4RbhWQDQJNnCg | |
6)https://mega.nz/#F!HZ8gVaCC!jmH59vnser-kKVJzCWtPjg | |
7)https://mega.nz/#F!yYEGxAhD!erB8k0zDkTz4iTR13AZdlQ | |
8)https://mega.nz/#F!XQtH1CQa!KwUJhhtLEipP7u4wvdOUDA | |
9)https://mega.nz/#F!XFs12QgS!ejzHHDKlWY1wPn7ujb8yHg |
<?php | |
class Db { | |
private static $instance = NULL; | |
private function __construct() {} | |
public static function getInstance() { | |
if (!isset(self::$instance)) { | |
$pdo_options[PDO::ATTR_ERRMODE] = PDO::ERRMODE_EXCEPTION; | |
self::$instance = new PDO('mysql:host=localhost;dbname=php_mvc', 'root', 'root', $pdo_options); |
<?php | |
namespace App\Domain; | |
class User | |
{ | |
/** | |
* @type string | |
*/ | |
protected $email; | |
/** | |
* @type string |
// pre-requisitos | |
sudo apt-get install -y build-essential cmake git pkg-config | |
sudo apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler | |
sudo apt-get install -y libatlas-base-dev | |
sudo apt-get install -y --no-install-recommends libboost-all-dev | |
sudo apt-get install -y libgflags-dev libgoogle-glog-dev liblmdb-dev |
<?php | |
$d = new DateTime(); | |
?> | |
<section class="content-header" style="padding-top: 0px;"> | |
<center> | |
<h1> | |
Comprobante de Compra | |
</h1> | |
</center> | |
</section> |
<input pattern="^([JVEG]{1})-([0-9]{8})-([0-9]{1})$" title="El formato debe ser J-12345678-9" placeholder="J-12345678-9" onkeyup="this.value=this.value.toUpperCase()"> |
$('[placeholder]').focus(function() { | |
var input = $(this); | |
if (input.val() == input.attr('placeholder')) { | |
input.val(''); | |
input.removeClass('placeholder'); | |
} | |
}).blur(function() { | |
var input = $(this); | |
if (input.val() == '' || input.val() == input.attr('placeholder')) { | |
input.addClass('placeholder'); |