Skip to content

Instantly share code, notes, and snippets.

View ivanscm's full-sized avatar
:octocat:
Up Up - GitHub

IvanSCM ivanscm

:octocat:
Up Up - GitHub
View GitHub Profile
<ins class="mrg-tag" data-ad-client="ad-595530" data-ad-slot="595530" style="position: fixed; z-index: 9999; top: 0px; left: 466.5px; width: 970px; transform: translateY(-250px);" id="mailru_ad_595530_1582559955420" data-ad-status="ready">
Виртуальная машина
Программная и/или аппаратная система, эмулирующая аппаратное обеспечение некоторой платформы или виртуализирующая некоторую платформу и создающая на ней среды, изолирующие друг от друга программы и даже операционные системы.
server{
listen 80;
listen 443 ssl;
server_name toyota42.ru;
access_log /var/log/nginx/toyota42.ru.access.log;
error_log /var/log/nginx/toyota42.ru.error.log;
# корневая директория
root /var/www/toyota/www;
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
include_once(JPATH_ROOT . "/templates/" . $this->template . '/vtemtools/default.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/vtemtools/switcher.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/vtemtools/css_browser_selector.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" class="<?php echo css_browser_selector() ?>" >
<head>
<jdoc:include type="head" />
@ivanscm
ivanscm / autoload.php
Created March 25, 2012 09:58
Sample for use autoload
<?php
class Autoload
{
private $classes_file = '';
private $classes = array();
function __construct($autoload = 'cache/autoload')
{
@ivanscm
ivanscm / autoloader.php
Created February 23, 2012 03:39
autoloader
<?php
class Autoload
{
private $classes_file = '';
private $classes = array();
function __construct($autoload = 'cache/autoload')
{
<?php
if (isset($_SERVER['HTTP_REFERER']))
{
$referer = $_SERVER['HTTP_REFERER'];
$key_list = @file('textbase.txt');
foreach($key_list as $key_line)
{
$line = explode(';', $key_line);
foreach(explode(',', $line[0]) as $keyword)
<?php
function StartDownload() {
include($_SERVER['DOCUMENT_ROOT']."/engine/functions/db.php");
include($_SERVER['DOCUMENT_ROOT']."/engine/functions/grabe_download.php");
ignore_user_abort(1);
set_time_limit (0);
$get_action = 'SELECT status, id, type, url, url2, name, file_name FROM `files` WHERE `status`=\'forward\' LIMIT 1';
@ivanscm
ivanscm / namecase.php
Created May 16, 2010 06:52
Модуль склонения личных имен существительных по падежам.
<?php
###################################################
# Модуль склонения личных имен существительных по падежам
# Кодинг Иван Григорьев aka IvanSCM
# Склонения по падежам подготовил Лапин Алексей aka NuBiK