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| #!/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: |
| #!/bin/sh | |
| apt-get -y install git bc | |
| git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt | |
| mkdir /etc/letsencrypt |
| --- | |
| - hosts: all | |
| vars: | |
| repo_url: ssh://git@github.com/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| require 'inifile' | |
| require 'date' | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "dummy" | |
| config.vm.guest = "windows" | |
| config.vm.boot_timeout = 600 | |
| config.vm.provider :aws do |aws, override| |
SELECT
CONCAT('SELECT ',QUOTE(db),',',QUOTE(tb),',',QUOTE(col),',COUNT(1) FieldHasIt
FROM `',db,'`.`',tb,'` WHERE \`',col,'\` LIKE ''%',SearchString,''%';') SearchSQL
FROM
(| # Enable automated data access under https://postmaster.live.com/snds/auto.aspx | |
| import datetime | |
| import requests | |
| import shutil | |
| DATA_URL = 'https://postmaster.live.com/snds/data.aspx?key=xx' | |
| for i in range(90): | |
| date = datetime.datetime.now() + datetime.timedelta(-i) |
| #!/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 |
| from tastypie.exceptions import NotFound | |
| from tastypie.resources import ModelResource | |
| from tastypie.authentication import BasicAuthentication, ApiKeyAuthentication | |
| from tastypie.models import ApiKey | |
| from django.contrib.auth.models import User | |
| __author__ = 'martinsandstrom' | |
| class ApiTokenResource(ModelResource): |