sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminatorTerminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
| <?php | |
| echo 'default locale: ' . \Locale::getDefault(); | |
| echo PHP_EOL; | |
| echo 'default timezone: ' . \date_default_timezone_get(); | |
| echo PHP_EOL; | |
| // see http://tools.ietf.org/html/rfc3339#section-5.8 for example datetimes | |
| // bug report on missing fractions support: https://bugs.php.net/bug.php?id=51950 | |
| // feature request for fractions support in constructor: https://bugs.php.net/bug.php?id=49779 |
| const asyncCompose = (…functions) => input => functions.reduceRight((chain, func) => chain.then(func), Promise.resolve(input)); | |
| const asyncPipe = (…functions) => input => functions.reduce((chain, func) => chain.then(func), Promise.resolve(input)); |
| if __name__ == '__main__': | |
| app.run(host="0.0.0.0", port=8080, ssl_context=('/etc/letsencrypt/live/<DOMAIN>/fullchain.pem', '/etc/letsencrypt/live/<DOMAIN>/privkey.pem')) |
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| --log_gc (Log heap samples on garbage collection for the hp2ps tool.) | |
| type: bool default: false | |
| --expose_gc (expose gc extension) | |
| type: bool default: false | |
| --max_new_space_size (max size of the new generation (in kBytes)) | |
| type: int default: 0 | |
| --max_old_space_size (max size of the old generation (in Mbytes)) | |
| type: int default: 0 | |
| --max_executable_size (max size of executable memory (in Mbytes)) | |
| type: int default: 0 |
| <?php | |
| namespace Silex\Provider; | |
| use Silex\Application; | |
| use Silex\SilexEvents; | |
| use Silex\ControllerProviderInterface; | |
| use Silex\ControllerCollection; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpFoundation\Response; | |
| use Symfony\Component\HttpKernel\Event\GetResponseEvent; |