This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
composer require cweagans/composer-patches
Download all the files (*.diff & *.json) to patches subdirectory of your project
Add the following to your composer.json:
"extra": {| # Install wget | |
| yum install wget -y | |
| # Install certbot-auto | |
| wget https://dl.eff.org/certbot-auto | |
| chmod a+x certbot-auto | |
| # Obtain SSL certificate with Nginx plugin for the domain | |
| sudo ./certbot-auto --nginx -d app.com --debug |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| root /your/root/path; | |
| index index.html; | |
| server_name website.com; |
| <?php | |
| // app/AppKernel.php | |
| use Symfony\Component\Config\Loader\LoaderInterface; | |
| use Symfony\Component\HttpKernel\Kernel; | |
| class AppKernel extends Kernel | |
| { | |
| public function registerBundles() | |
| { |
| /* WebKit */ | |
| -webkit-filter: invert(); | |
| /* Firefox */ | |
| filter: url("data:image/svg+xml;utf8,<svg height='0' xmlns='http://www.w3.org/2000/svg'><filter id='negative'><feColorMatrix values='-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0'/></filter></svg>#negative"); | |
| /* IE 6-7 */ | |
| filter: progid:DXImageTransform.Microsoft.BasicImage(invert=1); | |
| /* IE 8 */ | |
| -ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(invert=1)'; |
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
| #!/bin/sh | |
| # Fix NTP/Time | |
| # https://github.com/boot2docker/boot2docker/issues/290 | |
| boot2docker ssh -- sudo killall -9 ntpd | |
| boot2docker ssh -- sudo ntpclient -s -h pool.ntp.org | |
| boot2docker ssh -- sudo ntpd -p pool.ntp.org |
This is an example of using laravel 4.1 CookieGuard middleware with silex. This demonstrates the composability of stack middlewares.
All of the outgoing cookies are encrypted. If decryption of incoming cookies fails, the application will ignore them.
Just clone the gist and install the dependencies via composer.