Skip to content

Instantly share code, notes, and snippets.

💭
:octocat:

Selivanov Pavel selivan

💭
:octocat:
Block or report user

Report or block selivan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View php_excel-build.log
dh binary --with systemd --with apache2 --parallel
dh_testdir -O--parallel -Nphp7.0-cli -Nphp7.0-excel -Nphp7.0-readline
debian/rules override_dh_auto_build-arch
make[1]: Entering directory `/root/php7.0-7.0.10'
for target in ext apache2 phpdbg embed fpm cgi cli; do \
dh_auto_build --builddirectory ${target}-build --parallel; \
done
cd ext-build
make -j1
make[2]: Entering directory `/root/php7.0-7.0.10/ext-build'
@selivan
selivan / install_phpexcel_php7.sh
Created Sep 3, 2016 — forked from belgattitude/install_phpexcel_php7.sh
Install libxl, php_excel extension on PHP7 (ondrej/ppa)
View install_phpexcel_php7.sh
#!/bin/bash
#
# ilia/php_excel extension example install script for PHP7+
#
# usage:
# > ./install_phpexcel_php7.sh
# > (optionally) sudo service php7.0-fpm restart)
#
# requirements:
# - Ubuntu 64bits (trusty/xenial)
View error.log
2016-11-15T13:21:26.102493Z 0 [Note] InnoDB: Buffer pool(s) load completed at 161115 16:21:26
13:26:06 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
Please help us make Percona XtraDB Cluster better by reporting any
bugs at https://bugs.launchpad.net/percona-xtradb-cluster
@selivan
selivan / nginx -V
Last active Apr 7, 2017
nginx build arguments for naxsi/issues/364
View nginx -V
nginx version: nginx/1.10.3
built with OpenSSL 1.0.1f 6 Jan 2014
TLS SNI support enabled
configure arguments:
--with-cc-opt='-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -D_FORTIFY_SOURCE=2'
--with-ld-opt='-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -fPIC'
--prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf
--http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log
--lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules
--http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
@selivan
selivan / nginx.conf
Last active Apr 7, 2017
nginx.conf for naxsi/issues/364
View nginx.conf
user www-data;
pid /var/run/nginx.pid;
events {
}
http {
include /etc/nginx/naxsi/core.rules;
access_log /var/log/nginx/access.log combined;
@selivan
selivan / 1501248133318.log
Last active Jul 28, 2017
dbeaver crash log
View 1501248133318.log
!SESSION 2017-07-28 16:22:13.162 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.compare 4 0 2017-07-28 16:22:13.734
!MESSAGE FrameworkEvent ERROR
!STACK 0
@selivan
selivan / gist:926479e48c799cb4b7a37eb741af6c12
Last active Jan 19, 2018
Files in /dev used by skypeforlinux with firejail 0.9.52
View gist:926479e48c799cb4b7a37eb741af6c12
open("/dev/null", O_RDONLY) = 0
open("/dev/urandom", O_RDONLY) = 3
open("/dev/urandom", O_RDONLY) = 3
open("/sys/devices/system/cpu/cpu0/tsc_freq_khz", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", O_RDONLY) = 4
open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 14
[pid 17] open("/dev/null", O_RDONLY) = 20
[pid 17] open("/dev/urandom", O_RDONLY) = 5
[pid 17] open("/dev/urandom", O_RDONLY) = 5
[pid 17] open("/sys/devices/system/cpu/cpu0/tsc_freq_khz", O_RDONLY) = -1 ENOENT (No such file or directory)
View skypeforlinux.profile
# Firejail profile for skypeforlinux
# This file is overwritten after every install/update
# Persistent local customizations
include /etc/firejail/skypeforlinux.local
# Persistent global definitions
include /etc/firejail/globals.local
ignore private-dev
whitelist /dev/dri
whitelist /dev/full
@selivan
selivan / my.ini
Last active Feb 11, 2018
my.ini for PXC with audit plugin
View my.ini
[mysql]
auto-rehash
prompt="(\u@\h) [\d]>\_"
[client]
port=3306
socket=/var/run/mysqld/mysqld.sock
[mysqld]
; #
@selivan
selivan / my-ublock-filters.txt
Last active Feb 11, 2018
Additional filters for uBlock
View my-ublock-filters.txt
! https://adblockplus.org/en/filter-cheatsheet
! https://github.com/gorhill/uBlock/wiki/Static-filter-syntax
! Some shit from Yandex.Market Sovetnik
! Block everywhere except Yandex.Market
||yastatic.net/sovetnik/_/js/*$script
@@||yastatic.net/sovetnik/_/js/*$script,domain=market.yandex.com,market.yandex.ua,market.yandex.ru
You can’t perform that action at this time.