Note: This was written using elasticsearch 0.9.
Elasticsearch will automatically create an index (with basic settings and mappings) for you if you post a first document:
$ curl -X POST 'http://localhost:9200/thegame/weapons/1' -d \
'{
"_id": 1,
Note: This was written using elasticsearch 0.9.
Elasticsearch will automatically create an index (with basic settings and mappings) for you if you post a first document:
$ curl -X POST 'http://localhost:9200/thegame/weapons/1' -d \
'{
"_id": 1,
var Environment = function () { | |
'use strict'; | |
function Environment() { | |
this.variables = {}; | |
} | |
Environment.prototype.exist = function (name) { | |
return !!this.variables[name]; | |
}; |
<?php | |
// app/AppKernel.php | |
use Symfony\Component\Config\Loader\LoaderInterface; | |
use Symfony\Component\HttpKernel\Kernel; | |
class AppKernel extends Kernel | |
{ | |
public function registerBundles() | |
{ |
<?php | |
namespace App\Provider; | |
use Pimple\Container; | |
use Pimple\ServiceProviderInterface; | |
use Symfony\Component\Console\Application; | |
class ConsoleServiceProvider implements ServiceProviderInterface | |
{ |
{ | |
"events": [ | |
"ORDER.*", | |
"PAYMENT.AUTHORIZED", | |
"PAYMENT.CANCELLED", | |
"PAYMENT.PRE_AUTHORIZED" | |
], | |
"target": "https://requestb.in/16q3gux1", | |
"media": "WEBHOOK" | |
} |
openssl req -new -newkey rsa:2048 -nodes -keyout server-cert.key -out server-cert-sign-req.csr
# Country Name (2 letter code) [AU]:US
# State or Province Name (full name) [Some-State]:California
# Locality Name (eg, city) []:
# Organization Name (eg, company) [Internet Widgits Pty Ltd]:Flutterby Labs, Inc.
# Organizational Unit Name (eg, section) []:
# Common Name (eg, YOUR name) []:www.dogo.co