This file contains hidden or 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
def evaluate(self, formatter, kwargs, mi, locals, code): | |
headings = { | |
'000': 'Generalities', | |
'010': 'Bibliography', | |
'100': 'Philosophy & psychology', | |
'200': 'Religion', | |
'300': 'Social sciences', | |
'400': 'Language', | |
'500': 'Natural sciences & mathematics', |
This file contains hidden or 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
/** | |
* "Flat" theme for Adminer by Israel Viana. | |
* | |
* Distributed under the terms of the BSD License. | |
* | |
* Color palette from https://kuler.adobe.com/Copy-of-Flat-UI-color-theme-3785174/ | |
* Navy: 2c3e50 | |
* Red: e74c3c | |
* Gray: ecf0f1 | |
* Light blue: 3498db |
This file contains hidden or 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
*~ |
This file contains hidden or 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 | |
/** | |
* Bootstrap file for setting the ABSPATH constant | |
* and loading the wp-config.php file. The wp-config.php | |
* file will then load the wp-settings.php file, which | |
* will then set up the WordPress environment. | |
* | |
* If the wp-config.php file is not found then an error | |
* will be displayed asking the visitor to set up the | |
* wp-config.php file. |
This file contains hidden or 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 | |
//BEGIN CONFIG | |
$link_name = 'active_public_html'; | |
$instance1 = 'public_html1'; | |
$instance2 = 'public_html2'; | |
define('LOG_NAME', 'drupaleitor'); | |
define('DATADOG_APIKEY', ''); | |
define('DATADOG_APPKEY', ''); | |
$syslog_facility = LOG_LOCAL0; //One of http://php.net/manual/function.openlog.php |
This file contains hidden or 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 | |
$apc_entries = apc_cache_info(); | |
$apc_entries = $apc_entries['cache_list']; | |
$usage_data = array(); | |
foreach ($apc_entries as $entry) { | |
$filename = $entry['filename']; |