Solution to https://twitter.com/nolanlawson/status/578948854411878400.
doSomething().then(function () {
# 1. download zip from https://launchpad.net/kazam | |
# 2. extract into target folder | |
# install prerequisites (works on Fedora 21 with Python 3) | |
sudo yum install python3-distutils-extra python3-dbus intltool | |
# run the included setup from within the unzipped folder | |
sudo python3 setup.py install | |
# Done! Can start with either `kazam` command or find Kazam in the menu |
Solution to https://twitter.com/nolanlawson/status/578948854411878400.
doSomething().then(function () {
The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.
However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on
/** | |
* Create a Symfony response for the given exception. | |
* | |
* @param \Exception $e | |
* @return mixed | |
*/ | |
protected function convertExceptionToResponse(Exception $e) | |
{ | |
if (config('app.debug')) { | |
$whoops = new \Whoops\Run; |