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.js: Простое наследование в стиле Ruby для Javascript | |
* | |
* Copyright (c) 2010 Tobias Schneider | |
* This script is freely distributable under the terms of the MIT license. | |
*/ | |
(function(global) { | |
// Используется, чтобы сохранить суперкласс и "плагины" ля | |
// дальнейшего использования |
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 ruby | |
require 'erb' | |
rsyslog_block = %{# | |
# <%= virtual_host %> | |
# | |
$InputFileName /var/log/httpd/<%= virtual_host %>-error.log | |
$InputFileTag <%= virtual_host %>_error | |
$InputFileStateFile stat-<%= virtual_host %>-error.log |
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
# | |
# Supported browsers | |
# | |
modern_browser gecko 1.9; | |
# note that Safari related directives match | |
# Chrome, Mobile Safari, Palm Pre and other WebKit-based browsers here, too, thanks | |
# to all of them using almost identical User-Agent strings | |
modern_browser safari 3.0; |
NewerOlder