Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
function slug(title, separator) { | |
if(typeof separator == 'undefined') separator = '-'; | |
// Convert all dashes/underscores into separator | |
var flip = separator == '-' ? '_' : '-'; | |
title = title.replace(flip, separator); | |
// Remove all characters that are not the separator, letters, numbers, or whitespace. | |
title = title.toLowerCase() | |
.replace(new RegExp('[^a-z0-9' + separator + '\\s]', 'g'), ''); |
php -v
PHP 5.6.3 (cli) (built: Oct 28 2015 09:47:41)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
But this only changes in CLI. You have to tweak you nginx(same for apache) to make it works. Nginx will still using the native PHP-FPM.
> ps aux | grep php-fpm
Picking the right architecture = Picking the right battles + Managing trade-offs
[ | |
{ | |
"name": "Afghanistan", | |
"dial_code": "+93", | |
"code": "AF" | |
}, | |
{ | |
"name": "Aland Islands", | |
"dial_code": "+358", | |
"code": "AX" |
mkdir -p ~/.local/share/fonts | |
for type in Bold Light Medium Regular Retina; do wget -O ~/.local/share/fonts/FiraCode-$type.ttf "https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-$type.ttf?raw=true"; done | |
fc-cache -f |
<?php | |
/* | |
* Instructions | |
* Remove all the media string on here for the folder set on the public folder on the filesystem | |
* On this example the S3 disk is the set on the filesystem options and the media disk is set on the media librarys configuration file | |
*/ | |
namespace App\Console\Commands; |
server { | |
listen 8080; | |
server_name nginx.test.com; | |
gzip on; | |
gzip_disable "msie6"; | |
gzip_vary on; | |
gzip_proxied any; | |
gzip_comp_level 6; |