Definitely not comprehensive. This is meant to be a basic memory aid with links to get more details. I'll add to it over time.
$ npm install mongoose --save
const mongoose = require('mongoose');
| package io.geier | |
| class IfTest { | |
| public static void main(String[] args) { | |
| List<String> emptyList = []; | |
| List<String> nullList = null; | |
| if (emptyList == null || emptyList.empty) { | |
| println "AAA emptyList" | |
| } |
| packages: | |
| yum: | |
| newrelic-sysmond: [] | |
| rpm: | |
| newrelic: http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm | |
| commands: | |
| configure_new_relic: | |
| command: nrsysmond-config --set license_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
| start_new_relic: | |
| command: /etc/init.d/newrelic-sysmond start |
| packages: | |
| yum: | |
| gcc-c++: [] | |
| make: [] | |
| sources: | |
| /home/ec2-user: http://download.redis.io/releases/redis-2.8.4.tar.gz | |
| commands: | |
| redis_build: | |
| command: make | |
| cwd: /home/ec2-user/redis-2.8.4 |
| 'use strict'; | |
| module.exports = function(grunt) { | |
| // load all grunt tasks | |
| require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
| // configurable paths | |
| var paths = { |
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,