This was based off another Gist but I lost the link😦 I would have liked to attribute and link
To migrate to the beginning using Entity Framework 7 migrations with kvm, just type:
k ef migration apply 0
Pretty short and sweet. Just couldn’t find anything around so I thought I’d share.
Thought I’d share the development ElasticSearch cluster I’ve been using lately.
Simply run “vagrant up” and it should auto-provision a 3 node ElasticSearch cluster.
Why 3 nodes on different VMs?
We wanted to make sure we had a similar setup to our production system.
Also, checking query results when using aggregations across shards because document counts are approximate. FYI: The Vagrant provisioning scripts set up 1 shard 2 replicas. You might want to change that if you want to see the shard/doc count quirk.
A short gist on getting gulp and mocha watching JS and test changes.
Watches for new and deleted files.
I’m really liking the declarative approach. It’s nice and clean.
Going thru the tutorial, things felt very straightforward, sensible and apparent.
And, the docs are great!
It claims “ultra-high performance” due to it’s virtual DOM diff implementation, which is very interesting for anyone who’s has run into performance issues when working with complex & large dataset client side applications.
Hopefully JSX syntax highlighting comes to Sublime Text soon.
Stumbled onto a Sublime Text plugin called Browser Refresh for Sublime Text.
Install it via Package Control, bind the refresh command and it’ll refresh the active window/tab in your browser(s)
ctrl+shift+r -> reloads last active firefox tab
No browser plugins. Just nice and simple.
At the time of writing this, the official github repo & package seems to be missing Linux functionality.
The issues list pointed me to this repo which seemed to work. Use at your own discretion.
I got Firefox reloading successfully from within Sublime Text 3 on Xubuntu 13.04
Chrome reloading didn’t work for me (would love more time to inspect why)
Just did a short discovery session in python to figure out if Rethinkdb 1.11 can do some of the queries I’m after.
Wanted to to perform queries that filter
- by field
- by nested field
- by values within a range
- if value exists in embedded array
- any combination of those