- Господи, это опять вы.... - Thank you very much for your email.
- Если до завтра не предоставите документы, пеняйте на себя. Тут вам не детский сад.- We will do our best to proceed with your request however for the best result the documents should reach us not later than tomorrow.
- Вы читать умеете? - You can find this information below.
- Сколько можно напоминать!- Kind reminder
- Неужели так сложно подписать документ там, где нужно - Please sign in the place marked with yellow sticker
- Что у тебя в школе было по математике? - Let's reconfirm the figures.
- Мы лучше сделаем это сами.- Thank you for your kind assistance.
- Я уже сто раз вам это присылал. - Kindly find attached.
- Ага, сейчас все брошу и побегу разбираться. - I’ll look into it and revert soonest.
- Да поймите же вы наконец - Please kindly review the matter again.
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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<!-- | |
Updated for MODx Revo by: Hansek http://www.modxcms.cz/ [email protected] | |
Created for MODx Evo by : Coroico (http://modx.wangba.fr) | |
Short Description: Language files checking tool for MODx Revolution | |
Version: 1.2 | |
Created by: Coroico (http://modx.wangba.fr) |
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
vendor(prop, args) | |
-webkit-{prop} args | |
-moz-{prop} args | |
-ms-{prop} args | |
-o-{prop} args | |
{prop} args | |
border-radius() | |
vendor('border-radius', arguments) |
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
BEGIN TRANSACTION; | |
WITH builder AS( | |
SELECT id , alias , parent, CAST('' AS VARCHAR(765)) [path], 0 [iter], parent [top], CAST('root' AS VARCHAR(300)) [hierarchy] | |
FROM dbo.modx_site_content parent | |
UNION ALL | |
SELECT child.id, child.alias, parent.parent, CAST(path AS VARCHAR(255)) + CAST('/' AS VARCHAR(255)) + CAST(child.alias AS VARCHAR(255)) [path], iter + 1 [iter], child.parent [top], CAST(hierarchy AS VARCHAR(100)) + CAST('/' AS VARCHAR(100)) + CAST(child.id AS VARCHAR(100)) [hierarchy] |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-s | |
RewriteRule ^(.*)$ rest/index.php?_rest=$1 [QSA,NC,L] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^(.*)$ rest/index.php [QSA,NC,L] | |
</IfModule> |
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 | |
$mailto = (isset($mailto)) ? $mailto : '@@ DEFAULT EMAIL HERE @@'; | |
$warningMail = '@@ EMAIL TO SEND WARNING TO IN CASE OF A SMALL BACKUP FILE @@'; | |
include MODX_CORE_PATH.'/config/'.MODX_CONFIG_KEY.'.inc.php'; | |
$host = $database_server; // database host | |
$dbuser = $database_user; // database user name | |
$dbpswd = $database_password; // database password | |
$mysqldb = $dbase; // name of database |
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
Snippet: [[SnippetName]] | |
Chunk: [[$ChunkName]] | |
System Setting: [[++SettingName]] | |
TV: [[*fieldName/TvName]] | |
Link tag: [[~PageId? ¶mName=`value`]] | |
Placeholder: [[+PlaceholderName]] | |
<?php |
Replace MODX logging with Monolog to log to Graylog2, syslog, AMQP, etc.
- put all the contents of this gist into the document root (where folders
core
,manager
, etc. are located) - run composer install to get Monolog
- run
sh patchmodx.sh
- edit
modx-monolog.php
- at line 22 there's the default handler - replace it with whatever you want to log to - see monolog readme for more info
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-ansi-color | |
* | |
* Original | |
* https://github.com/loopj/commonjs-ansi-color | |
* | |
* @code | |
* <?php | |
* require_once "ansi-color.php"; |
modCLI is a wrapper for the MODX Revolution Processors, allowing you to pretty much do anything from the commandline that you would normally do within the manager.
To use modCLI, simply download the modcli.php file and put it in the MODX_BASE_PATH of your installation. Next open up the console or terminal, and start firing some commands at it.
OlderNewer