Skip to content

Instantly share code, notes, and snippets.

View asistent0's full-sized avatar

Константин asistent0

  • Volzhsky
  • 15:08 (UTC +03:00)
View GitHub Profile
References:
Установка xDebug: https://xdebug.org/docs/install
Описание директив конфигурации: https://xdebug.org/docs/all_settings
Описание функций: https://xdebug.org/docs/all_functions
XHprof: https://www.php.net/manual/ru/book.xhprof.php
Useful links:
- https://grandrr.medium.com/profiling-php-application-with-docker-and-xhprof-e23188bdc223
- https://gist.github.com/hoandang/88bfb1e30805df6d1539640fc1719d12
- https://itelmenko.ru/working-environment/xdebug-docker-phpstorm/
@asistent0
asistent0 / trim nbsp.php
Created April 29, 2019 06:31 — forked from knedle/trim nbsp.php
Trim/remove   with php
<?php
$str = trim($str, chr(0xC2).chr(0xA0));
@asistent0
asistent0 / gulpfile.js
Last active November 15, 2016 05:11 — forked from Insayt/gulpfile.js
'use strict';
var gulp = require('gulp'),
watch = require('gulp-watch'),
prefixer = require('gulp-autoprefixer'),
uglify = require('gulp-uglify'),
sass = require('gulp-sass'),
sourcemaps = require('gulp-sourcemaps'),
rigger = require('gulp-rigger'),
cssmin = require('gulp-minify-css'),