Skip to content

Instantly share code, notes, and snippets.


Selivanov Pavel selivan

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; \
cd ext-build
make -j1
make[2]: Entering directory `/root/php7.0-7.0.10/ext-build'
selivan /
Created Sep 3, 2016 — forked from belgattitude/
Install libxl, php_excel extension on PHP7 (ondrej/ppa)
# ilia/php_excel extension example install script for PHP7+
# usage:
# > ./
# > (optionally) sudo service php7.0-fpm restart)
# requirements:
# - Ubuntu 64bits (trusty/xenial)
selivan / my.ini
Last active Feb 11, 2018
my.ini for PXC with audit plugin
View my.ini
prompt="(\u@\h) [\d]>\_"
; #
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
selivan / nginx.conf
Last active Apr 7, 2017
nginx.conf for naxsi/issues/364
View nginx.conf
user www-data;
pid /var/run/;
events {
http {
include /etc/nginx/naxsi/core.rules;
access_log /var/log/nginx/access.log combined;
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/ --modules-path=/usr/lib/nginx/modules
--http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi
selivan / 1501248133318.log
Last active Jul 28, 2017
dbeaver crash log
View 1501248133318.log
!SESSION 2017-07-28 16:22:13.162 -----------------------------------------------
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 4 0 2017-07-28 16:22:13.734
!MESSAGE FrameworkEvent ERROR
selivan / pornhub-noage.txt
Last active Mar 6, 2018
Userstyle to remove pornhub age verification
View pornhub-noage.txt
@-moz-document domain("") {
div[id="age-verification-wrapper"]{ display:none !important; }
div[id="age-verification-container"]{ display:none !important; }
div[id="verifyAgeWrapper"]{ display:none !important; }
div[id="pb_block"]{ display:none !important; }
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
You can’t perform that action at this time.