Skip to content

Instantly share code, notes, and snippets.

View inish777's full-sized avatar

Andrey Inishev inish777

  • Russian Federation, Tomsk
View GitHub Profile
apiVersion: v1
kind: Service
metadata:
creationTimestamp: "2023-04-27T03:52:23Z"
labels:
app.kubernetes.io/managed-by: prometheus-operator
app.kubernetes.io/name: kubelet
k8s-app: kubelet
name: kube-prometheus-stack-kubelet
namespace: kube-system
- hosts: webservers
tasks:
- name: checkout chehol git repo
become: true
become_user: chehol
git:
repo: ssh://git@gitlab.aguru.biz:2222/aguru/chehol.pro.git
dest: /home/chehol/chehol.pro
force: yes
tags:
Цитата логов апача по чехлу за 11 и 12 июля:
[Tue Jul 11 08:10:14.477524 2017] [:error] [pid 1208] [client 93.158.152.26:39540] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/chehol.pro/data/bitrix/modules/main/classes/mysql/database_mysql.php on line 146
[Tue Jul 11 08:11:55.569534 2017] [:error] [pid 6599] [client 5.255.253.36:41079] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/chehol.pro/data/bitrix/modules/main/tools.php on line 2144
[Wed Jul 12 00:52:08.853538 2017] [:error] [pid 7403] [client 95.108.213.14:59580] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/chehol.pro/data/bitrix/modules/iblock/classes/general/iblockelement.php on line 2655
[Wed Jul 12 04:07:16.349528 2017] [:error] [pid 14567] [client 81.2.35.230:46863] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/chehol.pro/data/vendor/retailcrm/api-client-php/lib/RetailCrm/Http/Client.php on line 115, referer: http://shop.chehol.p
<?xml version="1.0" encoding="UTF-8"?>
<s:element name="GetPassagesResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetPassagesResult" type="tns:Passages"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Passages">
<s:sequence>
{
"results" : [
{
"address_components" : [
{
"long_name" : "634061",
"short_name" : "634061",
"types" : [ "postal_code" ]
},
{
@inish777
inish777 / vagrantfile
Last active August 17, 2016 15:27 — forked from anonymous/vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
{
"name": "yiisoft/yii2-app-basic",
"description": "Yii 2 Basic Project Template",
"keywords": ["yii2", "framework", "basic", "project template"],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
root@924145f921bb:/var/www/html# php composer.phar update
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Warning: Accessing packages.userstory over http which is an insecure protocol.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for userstory/module-admin dev-master -> satisfiable by userstory/module-admin[dev-master].
- userstory/module-admin dev-master requires userstory/component-base dev-master -> no matching package found.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
void select_sort_rows (int** array, int n)
{
int x, y;
int min = 0;
[a_inishev@localhost chehol-ansible]$ ansible-playbook -i inventory playbooks/install-apache.yml
PLAY [webservers] **************************************************************
TASK [setup] *******************************************************************
ok: [176.112.211.202]
ok: [176.112.211.203]
TASK [install apache] **********************************************************
ok: [176.112.211.203]