This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Set name="port"><SystemProperty name="jetty.port"/></Set> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.IO; | |
| using iTextSharp.text; | |
| using iTextSharp.text.pdf; | |
| namespace RussianPDFtest | |
| { | |
| class Program | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sdfsdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # source rvm and .rvmrc if present | |
| [ -s "$HOME/.rvm/scripts/rvm" ] && . "$HOME/.rvm/scripts/rvm" | |
| [ -s "$PWD/.rvmrc" ] && . "$PWD/.rvmrc" | |
| should_precompile=0 | |
| # check if anything changed in app/assets | |
| if git diff-index --name-only HEAD | egrep '^app/assets' >/dev/null ; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "products" : { | |
| "properties" : { | |
| "categoryId" : { | |
| "type" : "integer" | |
| }, | |
| "description" : { | |
| "type" : "string" | |
| }, | |
| "id" : { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "_index" : "megastore", | |
| "_type" : "products", | |
| "_id" : "1", | |
| "_version" : 1, | |
| "exists" : true, "_source" : { | |
| "id": 1, | |
| "sKU": "SKU", | |
| "name": "monitory microsoft", | |
| "description": "producent microsoft kategoria monitory", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "query":{ | |
| "bool":{ | |
| "must":[ | |
| { | |
| "match_all":{ } | |
| }, | |
| { | |
| "term":{ | |
| "vehicles.vehicle_category_id":{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "query":{ | |
| "bool":{ | |
| "must":[ | |
| { | |
| "match_all":{ } | |
| }, | |
| { | |
| "term":{ | |
| "vehicles.vehicle_category_id":{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def search | |
| paginate_per = 30 | |
| group_id = params[:part_group] | |
| make_id = params[:make] | |
| model_id = params[:model] | |
| vehicle_category_id = params[:category] | |
| vehicle_power = params[:power] | |
| capacity = params[:capacity] | |
| q = params[:q] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def search | |
| paginate_per = 30 | |
| group_id = params[:part_group] | |
| make_id = params[:make] | |
| model_id = params[:model] | |
| vehicle_category_id = params[:category] | |
| vehicle_power = params[:power] | |
| capacity = params[:capacity] | |
| q = params[:q] |