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,
license: gpl-3.0 |
# The server clause sets the main parameters. | |
server: | |
# Allow network connections outside of localhost | |
interface: 0.0.0.0 | |
# Don't automatically run in the background because I want to be able to kill it without hunting a pid | |
do-daemonize: no | |
# TODO: Change this to your network range, like `192.168.0.0/16 allow` | |
access-control: 10.0.0.0/16 allow | |
# TODO: Change this to your username, or whatever user you want to run/own the `unbound` process | |
username: "bryanjswift" |
license: mit |
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,
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git |