Example: where (place.type = 'Restaurant' and place.kind = 'Chinese') or (place.type = 'Bar' and place.kind in ('beer','wine'))
{
query: {
bool: {
should: [
{
bool: {
| { | |
| "detect_indentation": false, | |
| "draw_white_space": "all", | |
| "ensure_newline_at_eof_on_save": true, | |
| "folder_exclude_patterns": | |
| [ | |
| ".svn", | |
| ".git", | |
| ".hg", | |
| "CVS", |
To sync changes you make in a fork with the original repository, you must configure a remote that points to the upstream repository in Git.
git remote -v
origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)13/01/2016
16/01/2016
| # 1) Create your private key (any password will do, we remove it below) | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |