show dbs
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 | |
/** | |
* Database Connection Tester | |
* A quick-and-dirty standalone script for checking PHP’s connection to a | |
* MySQL (or MariaDB) or PostgreSQL database. | |
* | |
* To use, enter the settings below and run the following from your terminal: | |
* ``` | |
* php -f db-test.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
<template> | |
<div class=""> | |
<ul v-if="pages" class="list-reset"> | |
<li class="inline-block bg-white hover:bg-blue-lightest border mr-1"> | |
<a href="#" | |
class="no-underline text-grey-darker block py-3 px-4" | |
:class="{'bg-grey-lightest text-grey cursor-not-allowed': currentPage == 1}" | |
@click.prevent="getPreviousPage">Previous</a> | |
</li> | |
<li v-for="(page, index) in range" |
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 class="no-js"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Coming Soon</title> | |
<meta name="viewport" content="width=device-width"> | |
<style> |
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
!function() { | |
var doc = document, | |
htm = doc.documentElement, | |
lct = null, // last click target | |
nearest = function(elm, tag) { | |
while (elm && elm.nodeName != tag) { | |
elm = elm.parentNode; | |
} | |
return elm; | |
}; |