I hereby claim:
- I am jcorry on github.
- I am jcorry (https://keybase.io/jcorry) on keybase.
- I have a public key whose fingerprint is 13F4 EB20 32E1 B067 2CF0 EF4B 47DD 6A04 C106 177B
To claim this, I am signing this object:
<?php | |
/** | |
* Created by PhpStorm. | |
* User: jcorry | |
* Date: 1/2/17 | |
* Time: 1:16 PM | |
*/ | |
namespace App; |
I hereby claim:
To claim this, I am signing this object:
JOHNs-MacBook-Pro-2:google-translate-app jcorry$ composer require jcorry/gootranslate:dev-master -vv | |
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug | |
./composer.json has been updated | |
Loading composer repositories with package information | |
Updating dependencies (including require-dev) | |
Analyzed 6189 packages to resolve dependencies | |
Analyzed 29486 rules to resolve dependencies | |
- Installing guzzlehttp/promises (1.1.0) | |
Loading from cache | |
Extracting archive |
private function encrypt($message, $key, $encode = true) { | |
$method = 'aes-256-ctr'; | |
$ivSize = openssl_cipher_iv_length($method); | |
$iv = openssl_random_pseudo_bytes($ivSize); | |
$cipherText = openssl_encrypt( | |
$message, | |
$method, | |
$key, |
var http = require('http'); | |
var moment = require('moment') | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
var men = [ | |
'John C', | |
'John S', | |
'Robert B', |