Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages and install them manually as needed.
Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages and install them manually as needed.
| var mongoose = require(‘mongoose’), | |
| Schema = mongoose.Schema, | |
| bcrypt = require(‘bcrypt’), | |
| SALT_WORK_FACTOR = 10; | |
| var UserSchema = new Schema({ | |
| username: { type: String, required: true, index: { unique: true } }, | |
| password: { type: String, required: true } | |
| }); | 
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,This table was created in 2015 so may be quite outdated today.
| Feature | Meteor Solution | Alternative Solutions | Description | 
|---|---|---|---|
| Live DB Sync | [livequery][lq] ([mongo-oplog]), [ddp] | RethinkDB, Redis, ShareDB, [npm:mongo-oplog], [firebase], etc. | Push DB updates to client/server. | 
| Latency Compensation, Optimistic UI | [minimongo][mm] | [RethinkDB][lcr], [mWater/minimongo] (fork, not ws but http, browserify) | Imitate successful db query on client before it is done. | 
| Isomorphic Code | [isobuild] & isopacks | browserify | Write one code for server/client/mobile. | 
| Isomorphic Packaging | [isobuild], atmosphere | No more separate packages for server & client. Get bower + npm + mobile. | 
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --delete-config retention.ms
| function flink-debug | |
| set -lx JVM_ARGS -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 | |
| eval $argv[1..-1] | |
| end |