Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View geforester's full-sized avatar
🚀
Focusing

Roman Ilin geforester

🚀
Focusing
View GitHub Profile
<?php
// provider id => array of packages
$listPackagesToInstall = array(
1 => array( // standart modx provider
'sdStore'
, 'translit'
, 'TinyMCE'
, 'FormIt'
, 'Analytics'
<?php
require_once dirname(__FILE__).'/config.core.php';
include_once MODX_CORE_PATH . 'model/modx/modx.class.php';
$modx= new modX();
$modx->initialize('mgr');
$modx->setLogLevel(modX::LOG_LEVEL_INFO);
$modx->setLogTarget(XPDO_CLI_MODE ? 'ECHO' : 'HTML');
header("Content-type: text/plain");
@jhesyong
jhesyong / bootstrap-tooltip-border.scss
Last active May 24, 2018 11:32
Add border to bootstrap tooltip
$tooltip-border-color: #ccc;
$tooltip-border-width: 1px;
$tooltip-arrow-border-width: $tooltip-arrow-width + $tooltip-border-width;
.tooltip {
&.top { padding: $tooltip-arrow-border-width 0; }
&.right { padding: 0 $tooltip-arrow-border-width; }
&.bottom { padding: $tooltip-arrow-border-width 0; }
&.left { padding: 0 $tooltip-arrow-border-width; }
}