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
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
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
04/26/2103. From a lecture by Professor John Ousterhout at Stanford, class CS142.
This is my most touchy-feely thought for the weekend. Here’s the basic idea: It’s really hard to build relationships that last for a long time. If you haven’t discovered this, you will discover this sooner or later. And it's hard both for personal relationships and for business relationships. And to me, it's pretty amazing that two people can stay married for 25 years without killing each other.
[Laughter]
> But honestly, most professional relationships don't last anywhere near that long. The best bands always seem to break up after 2 or 3 years. And business partnerships fall apart, and there's all these problems in these relationships that just don't last. So, why is that? Well, in my view, it’s relationships don't fail because there some single catastrophic event to destroy them, although often there is a single catastrophic event around the the end of the relation
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
# Originally from http://sharebear.co.uk/blog/2009/09/17/very-simple-python-caching-proxy/ | |
# | |
# Usage: | |
# A call to http://localhost:80000/example.com/foo.html will cache the file | |
# at http://example.com/foo.html on disc and not redownload it again. | |
# To clear the cache simply do a `rm *.cached`. To stop the server simply | |
# send SIGINT (Ctrl-C). It does not handle any headers or post data. | |
import BaseHTTPServer | |
import hashlib |
// Descriptions of names available from: | |
// http://www.fortunecity.com/millennium/rover/120/aglnam3.html | |
// http://www.steliart.com/angelology_angel_names_A.html | |
// VMs are passed their client and role as a kernel CLI argument. | |
// Upon boot the VM configures the FS root as a Git repo and checks | |
// out the appropriate branch based on client and role. | |
// That's right. | |
// Any VM can become a VM of any role for any client as of any point | |
// in time by switching branches or checking out a specific commit. |
package main | |
import ( | |
"bufio" | |
"log" | |
"net/rpc" | |
"os" | |
) | |
func main() { |