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
| <? | |
| // регистрируем обработчики | |
| AddEventHandler("subscribe", "BeforePostingSendMail", Array("MyClass", "BeforePostingSendMailHandler")); | |
| class MyClass | |
| { | |
| // создаем обработчик события "BeforePostingSendMail" | |
| /* если в теме рассылки будет команда [notify=some@body.ru], то на some@body.ru будет запрошено уведомление о прочтении писем */ | |
| function BeforePostingSendMailHandler($arFields) | |
| { |
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
| types { | |
| text/html html htm shtml; | |
| text/css css; | |
| text/xml xml rss; | |
| image/gif gif; | |
| image/jpeg jpeg jpg; | |
| application/x-javascript js; | |
| application/atom+xml atom; |
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
| //навигация на главной странице | |
| var hashes = Array(), titles = Array(); | |
| var currentpage = 5; | |
| titles[5] = "«Премиум Инжинирингу» — 10 лет!"; | |
| titles[4] = "2010"; | |
| titles[3] = "2009"; | |
| titles[2] = "2008"; | |
| titles[1] = "2005-2007"; | |
| titles[0] = "2000-2004"; | |
| hashes[5] = "home"; |
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/sh | |
| COMMAND=$1 | |
| DESTFOLDER=$2/$3 | |
| DISTFILE=$4 | |
| DBHOST=$5 | |
| DBNAME=$6 | |
| DBUSER=$7 | |
| DBPASS=$8 |
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
| script "Bitrix" { | |
| Caption Лучшая в мире CMS | |
| HomePage www.1c-bitrix.ru | |
| URL http://www.your-site.ru/bitrix.tar.gz | |
| CheckSum c41942fa459b50b4ea9e6b4263f41ad0 | |
| DefaultURI / | |
| AdminURI /index.php | |
| UsingDb yes | |
| AskDbPass yes | |
| Overwrite yes |
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 | |
| echo 50000000 > /sys/devices/system/xenmgm/xenmgm0/memmin_bytes | |
| echo 10000000 > /sys/devices/system/xenmgm/xenmgm0/reserve_free_bytes | |
| echo 3 > /proc/sys/vm/drop_caches | |
| sync |
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 | |
| iptables -F | |
| iptables -X | |
| iptables -t nat -F | |
| iptables -t nat -X | |
| iptables -t mangle -F | |
| iptables -t mangle -X | |
| iptables -P INPUT ACCEPT | |
| iptables -P FORWARD ACCEPT | |
| iptables -P OUTPUT ACCEPT |
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
| [table][tr][td]Сайт с гордостью разработан в [/td][td][URL=http://bx-store.ru][IMG]http://it-in.ru/images/shared/logo-bx-store-179x40.png[/IMG][/URL][/td][/tr][tr][td]Адрес сайта:[/td][td][URL=http://xn--80akr1ac.com/]www.атлет.com[/URL][/td][/tr][tr][td]Сайт сдан:[/td][td]8 апреля 2013 г.[/td][/tr][tr][td]Ответственное лицо:[/td][td]Сергей Ковалев[/td][/tr][tr][td]E-mail:[/td][td][URL=mailto:info@bx-store.ru]info@bx-store.ru[/URL][/td][/tr][tr][td]Техническая поддержка:[/td][td][URL=http://it-in.ru/support/]http://it-in.ru/support/[/URL] | |
| [URL=http://it-in.ru/clients/]http://it-in.ru/clients/[/URL][/td][/tr][/table] |
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
| Разработка и техническая поддержка: Bx-store</br> | |
| <a href='http://bx-store.ru'>http://bx-store.ru</a>; +7 (499) 502-80-23; <a href='mailto:info@bx-store.ru'>info@bx-store.ru</a> |
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 | |
| aptitude install libapache2-mod-rpaf rsync |
OlderNewer