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
2017-05-18 15:38:26 3914 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace minimac/accounts uses space ID: 1 at filepath: ./minimac/accounts.ibd. Cannot open tablespace mysql/innodb_table_stats which uses space ID: 1 at filepath: ./mysql/innodb_table_stats.ibd | |
2017-05-18 15:38:26 7fffa23f23c0 InnoDB: Operating system error number 2 in a file operation. | |
InnoDB: The error means the system cannot find the path specified. | |
InnoDB: If you are installing InnoDB, remember that you must create | |
InnoDB: directories yourself, InnoDB does not create them. | |
InnoDB: Error: could not open single-table tablespace file ./mysql/innodb_table_stats.ibd | |
InnoDB: We do not continue the crash recovery, because the table may become | |
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it. | |
InnoDB: To fix the problem and start mysqld: | |
InnoDB: 1) If there is a permission problem in the file and mysqld cannot |
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 class="row"> | |
<div class="element col-xs-4"> | |
Stuff | |
</div> | |
<div class="element col-xs-4"> | |
Stuff | |
</div> | |
<div class="element col-xs-4"> | |
Stuff | |
</div> |
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
{% set items = ['a', 'b', 'c', 'd', 'e', 'f', 'g'] %} | |
{% for row in items|batch(3, 'No item') %} | |
<div class="row"> | |
{% for column in row %} | |
<div class="element col-xs-4"> | |
{{ column }} | |
</div> | |
{% endfor %} | |
</div> |
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 foreach (array_chunk($photoList, 2) as $photos): ?> | |
<div class="grid-row"> | |
<?php foreach ($photos as $key => $photo): ?> | |
<div class="grid-overlay__img-container"> | |
<div class="grid-overlay__img" data-src="<?= $photo['url_full'] ?>"></div> | |
</div> | |
<?php endforeach; ?> | |
</div> | |
<?php endforeach; ?> |
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 | |
$context = Timber::get_context(); | |
$post = new TimberPost(); | |
$context['post'] = $post; | |
Timber::render( array( 'page.example.twig', 'page.twig' ), $context ); |
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 require_once('letterboxd.php') ?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Letterboxd reviews</title> | |
<meta name="description" content="Letterboxd reviews demo"> | |
<meta name="author" content="ign <ignacio[at]ign.uy>"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="style.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
/* Functions */ | |
.category-header-wrap { | |
background-color: transparent; | |
} | |
.category-header { | |
border-bottom: 1px solid #6a6a6a; | |
} | |
.category-header-title { |
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 | |
// PHP memory limit for this site | |
define( 'WP_MEMORY_LIMIT', '128M' ); | |
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit. | |
// Database | |
define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database. | |
define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users) | |
// Explicitely setting url |
OlderNewer