This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* A simple CORS middleware for Lumen framework | |
* | |
* lindowx | |
*/ | |
namespace App\Http\Middleware; | |
use Closure; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Config": "\u914d\u7f6e", | |
"Maniphest": "\u4efb\u52a1&Bug", | |
"Tasks": "\u4efb\u52a1&Bug", | |
"Phriction": "\u6587\u6863\u5e93", | |
"Projects": "\u9879\u76ee", | |
"Joined": "\u53c2\u4e0e\u4e2d", | |
"Translations": "\u7ffb\u8bd1", | |
"Countdown": "\u5012\u8ba1\u65f6", | |
"Files": "\u6587\u4ef6\u7ba1\u7406", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#Create working directory | |
CERTBOT_DIR=/opt/modules/src/certbot | |
mkdir $CERTBOT_DIR/src -p | |
cd $CERTBOT_DIR/src | |
#install openssl to working dir. | |
wget --no-check-certificate https://www.openssl.org/source/openssl-1.0.1t.tar.gz | |
tar xvzf openssl-1.0.1t.tar.gz && cd openssl-1.0.1t |