I hereby claim:
- I am mkubenka on github.
- I am mkubenka (https://keybase.io/mkubenka) on keybase.
- I have a public key whose fingerprint is A266 D582 D20B 551B 7036 07FD A4CC 8E62 F11A 5A99
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Install GNU parallel on CentOS 6. | |
# http://software.opensuse.org//download.html?project=home%3Atange&package=parallel | |
cd /etc/yum.repos.d/ | |
wget http://download.opensuse.org/repositories/home:tange/CentOS_CentOS-6/home:tange.repo | |
yum install parallel | |
# Alternative: |
#!/usr/bin/perl | |
## ----------------------------------------------------------------------- | |
## | |
## Copyright 2002-2008 H. Peter Anvin - All Rights Reserved | |
## Copyright 2009 Intel Corporation; author: H. Peter Anvin | |
## | |
## This program is free software; you can redistribute it and/or modify | |
## it under the terms of the GNU General Public License as published by | |
## the Free Software Foundation, Inc., 53 Temple Place Ste 330, | |
## Boston MA 02111-1307, USA; either version 2 of the License, or |
--- | |
- hosts: all | |
vars: | |
repo_url: ssh://[email protected]/user/repo.git | |
base_dir: /var/www | |
sparse_checkout: | |
- folder1 | |
Enabling core dumps for PHP-FPM on CentOS 7 require several steps.
Set the rlimit_core
directive in /etc/php-fpm.d/pool.conf and /etc/php-fpm.conf to unlimited:
rlimit_core = unlimited
SELECT
CONCAT('SELECT ',QUOTE(db),',',QUOTE(tb),',',QUOTE(col),',COUNT(1) FieldHasIt
FROM `',db,'`.`',tb,'` WHERE \`',col,'\` LIKE ''%',SearchString,''%';') SearchSQL
FROM
(