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 | |
/** | |
* Абстрактный класс объекта админки | |
*/ | |
abstract class LanbillObject extends LightComponent | |
{ | |
/** | |
* Проверить доступен ли модуль MongoDB | |
*/ |
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
#!/usr/bin/env python | |
import os | |
class colors: | |
RED = '\033[41m' | |
GREEN = '\033[42m' | |
POO = '\033[43m' | |
BLUE = '\033[44m' | |
PURPLE = '\033[45m' |
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
#!/bin/bash | |
sed -rue '/'$1'/ {s/^/'$'\033''[41m/; s/$/'$'\033''[0m/;}' |